[TriLUG] Yum Problem Solved.. WAS [Re: CentOS 5.4 + Yum Madness]

Brian Weaver cmdrclueless at gmail.com
Mon Jun 7 12:05:29 EDT 2010


Sadly it took a few months to track down but I finally figured out the problem. I'm posting the information here in the advent that it might help someone in the future.

I had a need to install the kernel headers again on a CentOS box running in VMware and ran into the same problem with yum. Instead of wasting my time I just copied over the necessary RPM package and tried to install it. This time I was greeted with a warning that the package was intended for the i686 architecture. I check /proc/cpuinfo and 'uname -a', both of which mapped to the i686 architecture. So I went on another google hunt and found the following link:

http://forums.fedoraforum.org/showthread.php?t=78886

When I modified the /etc/rpm/platform file from 'i586-redhat-linux' to 'i686-redhat-linux' the yum command magically started working. How it was getting set to i586 to begin with is a mystery to me.

-- Brian


On Mar 23, 2010, at 7:48 AM, Roy Vestal wrote:

> As it looks like you have a centosplus kernel, have you tried:
> 
> 'yum install kernel-devel --includerepo=centosplus'   ?
> 
> 
> On 3/15/10 6:39 PM, Lance A. Brown wrote:
>> Brian Weaver said the following on 3/15/2010 5:41 PM:
>>   
>>> [root at localhost yum]# yum clean all
>>> Loaded plugins: fastestmirror
>>> Cleaning up Everything
>>> Cleaning up list of fastest mirrors
>>> [root at localhost yum]# yum list | grep -i kernel
>>> kernel.i686                             2.6.18-164.11.1.el5.centos.plus
>>> kernel-doc.noarch                       2.6.18-164.11.1.el5.centos.plus
>>> kernel-headers.i386                     2.6.18-164.11.1.el5.centos.plus
>>> yum-kernel-module.noarch                1.1.16-14.el5.centos.1        updates
>>>     
>> So you're using a CentOSplus kernel.  I've got the same kernel installed
>> on a server at home and see this when I run 'yum list available kernel\*'
>> 
>> circle:lance ~ $ sudo yum list available kernel\*
>> Loaded plugins: fastestmirror
>> Loading mirror speeds from cached hostfile
>>  * epel: serverbeach1.fedoraproject.org
>>  * base: mirror.skiplink.com
>>  * updates: mirror.atlanticmetro.net
>>  * extras: mirror.ubiquityservers.com
>>  * centosplus: ftp.linux.ncsu.edu
>>  * addons: ftp.lug.udel.edu
>> Available Packages
>> kernel.i686              2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-PAE.i686          2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-PAE-devel.i686    2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-debug.i686        2.6.18-164.11.1.el5               updates
>> kernel-debug-devel.i686  2.6.18-164.11.1.el5               updates
>> kernel-devel.i686        2.6.18-164.11.1.el5.centos.plus   centosplus
>> 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
>> kernel-xen.i686          2.6.18-164.11.1.el5.centos.plus   centosplus
>> kernel-xen-devel.i686    2.6.18-164.11.1.el5.centos.plus   centosplus
>> 
>> You might manually check the centosplus mirror your machine is pulling
>> from.  It might be out of date or something.
>> 
>> --[Lance]
>> 
>>   
> 
> -- 
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG FAQ          : http://www.trilug.org/wiki/Frequently_Asked_Questions




More information about the TriLUG mailing list