From: "Dr. Michael J. Chudobiak" <mjc avtechpulse com>
To: For users of Fedora Core releases <fedora-list redhat com>
Cc: gijs gewis nl
Subject: Re: Safe way to remove old kernels (except SMP)
Date: Tue, 19 Jul 2005 08:23:52 -0400
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.