Cameron Simpson wrote:
Also have a look at the file:
/etc/yum/pluginconf.d/installonlyn.conf
Mine says:
[main]
enabled=1
# this sets the number of package versions which are kept
tokeep=4
which causes yum to keep 4 installed kernels around. You may want to
wind this up to 10 or something. That way you will be more likely to
have the older working kernel still installed after an upgrade.
It's probably worth noting that with the update to yum-3.2.2, the
installonlyn plugin's functionality was merged into yum's core. The
way to control things with 3.2.2 and later is via installonly_limit in
yum.conf.
The yum.conf manpage states that this option defaults to 0, which
disables the feature. However, the yum rpm applies a patch that sets
the default to 2 AFAICT.
This change (and the discrepancy in the docs) is sure to bite some
folks. This was reported in
https://bugzilla.redhat.com/249396 .
--
Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL:
www.pobox.com/~tmz/pgp
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
That men do not learn very much from the lessons of history is the
most important of all the lessons of history.
-- Aldous Huxley Collected Essays, 1959