[TriLUG] CentOS 5.4 + Yum Madness

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


I'm running all the commands as root. I've logged in as root on the
console of the system.

On Mon, Mar 15, 2010 at 5:29 PM, Adam Gregory <arcaneadam at gmail.com> wrote:
> Hmm If I do `sudo yum search kernel` I can see the kernel-devel package.
> Now, thats on RHEL, but more or less they are the same. As a side note, and
> this may not actually work on CentOS for obvious reasons, when I run it w/o
> sudo I get the following note "*Note* Red Hat Network repositories are not
> listed below. You must run this command as root to access RHN repositories."
> and no kernel-devel package is listed.
>
> -----
> ***NEW CELL PHONE # Please Update(See Below)***
> Adam A. Gregory
> Drupal Developer & Consultant
> Web: AdamAGregory.com
> Twitter: twitter.com/adamgregory
> Phone: 910.808.1717
> Cell: 919.306.6138
>
>
> On Mon, Mar 15, 2010 at 5:23 PM, Brian Weaver <cmdrclueless at gmail.com>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
>>
> --
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions
>



-- 

/* insert witty comment here */



More information about the TriLUG mailing list