LinuxSupportFAQForm | |
---|---|
SupportProblem | YUM update fails with "Transaction Check Error: package kernel-2.6.9-67.0.7.EL.cern (which is newer than kernel-2.6.9-67.EL.cern) is already installed" |
SupportAnswer |
(kernel versions might be slightly different on your machine). This is due to a bug in the YUM plugin tasked with removing old kernels. Manual workarounds are required to resolve this, until the YUM plugin gets fixed.
Background:
# sed -i -e 's/enabled=.*/enabled=0/' /etc/yum/pluginconf.d/installonlyn.conf # yum upgrade -y # sed -i -e 's/enabled=.*/enabled=1/' /etc/yum/pluginconf.d/installonlyn.confShould this not work, you can still manually de-install all old and unused kernels and their respective modules. Identify all kernels and their modules, then remove the obsolete ones via a single transaction: # rpm -qa kernel-\* # rpm -e kernel-OLDVERSION kernel-module-openafs-OLDVERSION ... |
OsVersion | SLC4 |
HardwareArchitecture | any |
ApprovedBySupport | SupportApproved |