Safe way to remove old kernels (except SMP)

nodata fedora at nodata.co.uk
Tue Jul 19 13:00:12 UTC 2005


> On Tue, Jul 19, 2005 at 08:23:52AM -0400, Dr. Michael J. Chudobiak wrote:
>> >  sudo package-cleanup --oldkernels
>> What a useful tip! This is really, really useful - except that it
>> ignores kernel-smp packages. Is this deliberate?
>
> Probably not -- the program is quite new.
>
>> 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.
>
> Or look at /etc/sysconfig/kernel, yeah. Or just always check. In any case,
> patches are accepted on the yum-devel list. :)
>

It would be good to get a component in bugzilla for the yum scripts, so
far, no luck.




More information about the fedora-list mailing list