Safe way to remove old kernels (except SMP)

Dr. Michael J. Chudobiak mjc at avtechpulse.com
Tue Jul 19 12:23:52 UTC 2005


Matthew Miller wrote:

> Install the "yum-utils" package from Fedora Extras, and run:
> 
>   sudo package-cleanup --oldkernels
> 
> (assuming you have sudo privileges, of course).

What a useful tip! This is really, really useful - except that it 
ignores kernel-smp packages. Is this deliberate?

Perhaps the script should be modified to see which of kernel or 
kernel-smp is in use (using uname -a or something similar), and modify 
the comparison in line 141 of the package-cleanup script accordingly.


- Mike





More information about the fedora-list mailing list