[CentOS] Yum not updating kernel

Bob Taylor bob8221 at gmail.com
Tue Feb 26 19:19:36 UTC 2008


On Tue, 2008-02-26 at 08:14 -0600, Johnny Hughes wrote:

[snip]

> what happens if you edit /etc/rpm/platform and change it too:
> 
> i686-redhat-linux

Nothing.

I downloaded the current rpm file this morning and ran rpm -Uvh
--force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm.

Rpm seems to behave oddly. I had downloaded the current kernel rpm and
installed it with the command rpm -ivh --ignorearch [file] successfully.
I can not remove it with the command rpm -e kernel-2.6.18-53.1.13 but
can if I add .el5 to the end it does. Before I deleted it I ran the
command rpm -ql kernel and all three kernels rpm files were listed
including the kernel rpm which rpm -e said wasn't installed. This
doesn't make sense to me.

I have done the following:

rpm -Uvh --force /home/brtaylor/rpm-4.4.2-47.el5.i386.rpm
edit /etc/rpm/platform to i686-redhat-linux
rpm -e kernel-2.6.18-53.1.13.el5
yum clean all
yum upgrade kernel
returned Installed: kernel.i686 0:2.6.18-53.1.13.el5
Complete!

It looks like the problem may be in rpm after 4.4.2-37. Before I go to
the rpm people, I need to confer with Ray Van Dolson who says his is the
same as mine and he has no problem updating kernels. After Ray and I
resolve this issue, I will send a last email to the list hopefully
ending this subject with the resolution to this problem.

-- 
Bob Taylor





More information about the CentOS mailing list