Page 1 of 1
kernel entries left over after YUM/GUI update
Posted: Wed May 21, 2008 10:51 am
by Kalimari
When I run updates via YUM GUI, it is not uncommon for the script to timeout (as already mentioned on this forum). It seems that this is leaving older versions in the yum db on my system. If I run:
I see the following entries:
Code: Select all
kernel-2.6.9-42.EL
kernel-2.6.23.1-3.art
kernel-2.6.24.2-2.art
Would it be sensible to remove the old entries like this:
Code: Select all
rpm -e --justdb --nodeps kernel-2.6.9-42.EL
rpm -e --justdb --nodeps kernel-2.6.23.1-3.art
I have done the same with some duplicate asl, gradm & other entries in the past, but not sure if these is a reason to leave older versions of the kernel?
Posted: Wed May 21, 2008 11:14 am
by breun
Are you sure those kernels are not actually installed? Yum by default leaves older kernel packages alone. You can remove them if you want (and if you're not running them at the moment) using yum remove kernel-<version> or rpm -e kernel-<version>.
Posted: Wed May 21, 2008 11:20 am
by Kalimari
That's why I asked, I'm not sure. I have experienced some problems with older packages not being removed/updated correctly and this has led to problems that have been resolved by removing duplicate/older packages. I'll leave as is as everything is running smoothly... Thanks for the feedback

Posted: Wed May 21, 2008 11:34 am
by breun
If you want to verify wheter a package is installed correctly you can run rpm -V <packagename>. No output means: no mofications.
Posted: Wed May 21, 2008 12:11 pm
by Kalimari
I'm going to investigate that rpm command, some items had output others not... Thanks for the heads up!
Posted: Wed May 21, 2008 12:57 pm
by breun
Posted: Wed May 21, 2008 1:04 pm
by Kalimari
Thanks, that was the page I was just looking at... Seems everything is all right on my system, a few entries have output, but this is due to updates, Checksums or Modification Times... Thanks again, I had never looked that closely at the rpm commands.