[TriLUG] CentOS 5.4 + Yum Madness
Ron Kelley
rkelleyrtp at gmail.com
Mon Mar 15 17:33:39 EDT 2010
I would "yum clean all" then "yum install kernel-dev*" (note the asterisk). Also, what does "yum list |grep kern" give you?
-Ron
On Mar 15, 2010, at 5:23 PM, Brian Weaver wrote:
> I've beat my head against the proverbial wall and I've worn out my
> search resolve. I'm hoping someone on the list can help me figure out
> why yum refuses be reasonable. I've installed a CentOS 5.4 system on
> VMware and I need the kernel sources in order to build the vmware
> tools. It's fairly straightforward task except that yum is being more
> of a hindrance than a help.
>
> I need to install the kernel-devel package, except when I type 'yum
> install kernel-devel' I get 'No package kernel-devel available.'
>
> I know that a version of kernel-devel exists because at work we've
> mirrored the repository with rsync. When I type 'yum list 'kernel*''
> the only packages that show up are:
>
> Installed Packages
> kernel.i686
> 2.6.18-164.11.1.el5.centos.plus
> installed
> Available Packages
> kernel-doc.noarch
> 2.6.18-164.11.1.el5.centos.plus
> centosplus
> kernel-headers.i386
> 2.6.18-164.11.1.el5.centos.plus
> centosplus
>
> I've googled for the past hour, but yum simply refuses to show the
> kernel-devel package. However, I can go into /var/cache/yum and look
> at many of the data files and sure enough kernel-devel DOES exists in
> the source meta data files like primary.xml.gz.
>
> I'm at a loss right now.
>
> -- Brian
>
> --
>
> /* insert witty comment here */
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ : http://www.trilug.org/wiki/Frequently_Asked_Questions
Thanks,
-Ron
rkelleyrtp at gmail.com
More information about the TriLUG
mailing list