[TriLUG] CentOS 5.4 + Yum Madness

Brian Weaver cmdrclueless at gmail.com
Mon Mar 15 17:23:15 EDT 2010


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 */



More information about the TriLUG mailing list