[CentOS] Yum not updating kernel

Johnny Hughes johnny at centos.org
Tue Feb 26 14:14:42 UTC 2008


Bob Taylor wrote:
> On Mon, 2008-02-25 at 23:44 -0500, Ross S. W. Walker wrote:
>> Bob Taylor wrote:
>>> On Mon, 2008-02-25 at 12:10 -0800, Ray Van Dolson wrote:
>>>
>>> [snip]
>>>
>>>> Well, exactarch=0 might work around this from a yum 
>>> standpoint (as far
>>>> as downloading the updates), but if RPM is complaining this 
>>> is beyond
>>>> the control of yum.  As someone else mentioned, taking a 
>>> look at your
>>>> ~/.rpmmacros file would be interesting.
>>> It was empty.
>>>
>>>> Also, could you post the output of:
>>>>
>>>>   rpm -q --queryformat 
>>> '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' kernel
>>>
>>> kernel-2.6.18-8.el5.i686
>>> kernel-2.6.18-8.1.14.el5.i686
>>> kernel-2.6.18-53.1.13.el5.i686
>>>
>>> The last kernel was installed manually using --ignorearch.
>> Bob,
>>
>> What's the output of,
>>
>> # rpm -q --queryformat '%{NAME}-%{VERSION}-%{RELEASE}.%{ARCH}\n' rpm
> 
> rpm-4.4.2-47.el5.i386
> 
>> The contents of,
>>
>> # cat /etc/rpm/platform
> 
> i386-redhat-linux
> 
>> And the output of,
>>
>> # rpm --eval '%_arch'
> 
> i386
> 
>> Also, did you re-install rpm by forcing an upgrade in place of rpm with,
> 
> I ran yum remove yum. I did not remove rpm nor did an rpm --force.
> 
what happens if you edit /etc/rpm/platform and change it too:

i686-redhat-linux

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
URL: <http://lists.centos.org/pipermail/centos/attachments/20080226/8945e5b9/attachment.sig>


More information about the CentOS mailing list