[CentOS] Yum not updating kernel

Ross S. W. Walker rwalker at medallion.com
Tue Feb 26 05:25:32 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

Good

> > The contents of,
> > 
> > # cat /etc/rpm/platform
> 
> i386-redhat-linux

Good

> > And the output of,
> > 
> > # rpm --eval '%_arch'
> 
> i386

Good

> > 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.

Don't remove rpm, just run an 'rpm -Uvh --force rpm-4.4.2-47.el5.i386.rpm'
this should replace any configs/macros that might have been damaged.

Outside of that, I dunno, I would probably do an rpm audit for all
packages that have changed files and re-install those packages on top
of themselves, making sure to move all the '*.rpmnew' on top of the
existing files. Then verify your Internet connection works properly
with yum (are you behind a proxy server?), and see what that does.


-Ross

______________________________________________________________________
This e-mail, and any attachments thereto, is intended only for use by
the addressee(s) named herein and may contain legally privileged
and/or confidential information. If you are not the intended recipient
of this e-mail, you are hereby notified that any dissemination,
distribution or copying of this e-mail, and any attachments thereto,
is strictly prohibited. If you have received this e-mail in error,
please immediately notify the sender and permanently delete the
original and any copy or printout thereof.




More information about the CentOS mailing list