[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Safe way to remove old kernels (except SMP)



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]