When I yum update
it wants to remove the oldest of the 3 kernel I have and upgrade to a new.
Is it possible to get yum
not to remove old kernels?
When I yum update
it wants to remove the oldest of the 3 kernel I have and upgrade to a new.
Is it possible to get yum
not to remove old kernels?
In /etc/yum.conf
set installonly_limit=3
. Quoting from the documentation:
installonly_limit Number of packages listed in installonlypkgs to keep installed at the same time. Setting to 0 disables this feature. Default is ’0’. Note that this functionality used to be in the "installonly" plugin, where this option was altered via. tokeep. Note that as of version 3.2.24, yum will now look in the yumdb for a installonly attribute on installed packages. If that attribute is "keep", then they will never be removed.
The installonly_limit
parameter (from /etc/yum.conf
) can be increased to 10 or 100 instead of 3. This will allow more kernel versions to be kept.