Red Hat Bugzilla – Bug 241852
Support installing new version without removing old
Last modified: 2014-01-21 17:58:12 EST
Description of problem:
When there is a kernel update available "yum update" wants to delete the older
kernel versions. I want to be able to keep multiple kernel versions available
until I decide I'm satisfied enough with the new kernel to delete the old ones.
There should be an option that allows me to install the new version without
deleting the old version, like "rpm -i" would do.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum update
Old kernel is removed
There is a way to keep the old package as long as it does not conflict with the
new. Either by specifying an option on the command line or by being asked during
This is a feature request, but with the latest changes to bugzilla, I can no
longer figure out where you have hidden the possibility to mark it as such.
Currently I use the following workaround.
1. Run "yum update"
2. Answer y when asked if I want to proceedd.
3. Press ctrl-c while updates are being downloaded.
4. rpm -K /var/cache/yum/updates/packages/kernel-*
5. rpm -ivh /var/cache/yum/updates/packages/kernel-*
disable the installonlyn plugin in /etc/yum/pluginconf.d/installonlyn.conf
then yum will keep all kernel versions when they are installed.