[CentOS] Yum not updating kernel

Tue Feb 26 04:48:34 UTC 2008
Bob Taylor <bob8221 at gmail.com>

On Mon, 2008-02-25 at 16:34 -0500, Ross S. W. Walker wrote:
> Bob Taylor wrote:
> > 
> > On Mon, 2008-02-25 at 12:41 -0500, Ross S. W. Walker wrote:
> > 
> > [snip]
> > 
> > > Bob,
> > > 
> > > Lets get this fixed so we can kill this thread.
> > 
> > I agree totally! The problem is with rpm. It refuses to install a non
> > i386 rpm. I have verified this by downloading the latest kernel rpm. I
> 
> If rpm is broken, why not try to upgrade rpm on top of itself?
> 
> rpm -Uvh --force rpm-4.4.2-47.el5.rpm
> 
> You will need to manually download the rpm package again.
> 
> > had to use --ignorearch flag to get rpm to install it. Now how do I get
> > this flag to yum? I have exactarch=0 in /etc/yum.conf which I presumed
> > was to fix this. It does not work. I have tried to pass this flag
> > via /root/.rpmmacros with no help. So, why do only myself apparently
> > have this problem? One other item. I made *no* changes to any yum files
> > after installation except the addition of (maybe) rpmforge. One kernel
> > was updated around this time. My guess is the problem started around the
> > update to 5.1. Anybody have any input as to why at least one person does
> > not have this problem? What could he have that is different from me
> > regarding yum and rpm? Reading this I apologize for the ramble.
> 
> 
> Bob,
> 
> I wouldn't muck with any more options, try to undo the changes you
> have made.

Didn't make any except possibly rpmforge.repo.

> I didn't see what the rpm error was you got when you tried to
> install it, did you post it to the thread?
> 
> You said you re-installed yum, how did you remove yum?

yum remove yum
Installed yum from my installation CD, ran yum update yum with no
change.

> If you did a rpm -e yum, then the yum plugins may have still been left
> behind. Here is the list you provided earlier:

None.

[snip]

> The yum plugin that catches my attention is 'yum-versionlock'

enabled=0

-- 
Bob Taylor