Red Hat Bugzilla – Bug 170709
Requires note that kernel packages remain until removed
Last modified: 2007-04-18 13:32:54 EDT
Description of problem:
Document does not mention that kernel packages are a special case - new kernel
packages do not remove old kernel packages from the system.
The package-cleanup utility in yum-utils has an option for removing old kernels.
Steps to Reproduce:
1. su -c 'yum update kernel'.
2. Install shiny new kernel.
3. Notice that old kernel is still on GRUB menu.
4. /boot eventually fills up...
Bug 170712 for adding yum-utils to this document.
See information on the new "installonlyn" yum plugin that Jeremy Katz wrote,
which addresses this problem. It keeps (by default) only the last 2 kernels,
although this is adjustable by the administrator of course.
Yes, it's definitely a much nicer solution going forward. The current version of
yum doesn't have plugin support set up by default, though, and the plugins
aren't available from Core or Extras, so we may have to treat this as
"unsupported" until FC5.
The CVS version of the tutorial covers plugins and installonlyn, so I'm closing