[Yum] Re: So many kernels, so little time...

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

 



In article <1075996227.13371.98.camel@xxxxxxxxxxxxxx>,
Nigel Metheringham <yum@xxxxxxxxxxxxxxxxxxxx> wrote:
> After a while of running your system with automatic updating you end up
> with a number of kernels installed.  [If you are tracking the bleeding
> edge stuff you end up with 2 a day (SMP)].
> 
> Is there a nice neat way to purge off old kernels keeping a smaller
> number of versions?

Not automatically, but it's easy by hand:

# rpm -qa kernel\*
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.20-24.9
kernel-2.4.22-1.2149.nptl
kernel-2.4.22-1.2129.nptl
kernel-2.4.22-1.2140.nptl
kernel-2.4.22-1.2135.nptl
# rpm -e kernel-2.4.20-24.9 kernel-2.4.22-1.2129.nptl kernel-2.4.22-1.2135.nptl
# rpm -qa kernel\*
kernel-pcmcia-cs-3.1.31-13
kernel-2.4.22-1.2149.nptl
kernel-2.4.22-1.2140.nptl
#

It updates grub.conf and/or lilo.conf too.

Cheers,
Tony

-- 
Tony Mountifield
Work: tony@xxxxxxxxxxxxx - http://www.softins.co.uk
Play: tony@xxxxxxxxxxxxxxx - http://tony.mountifield.org

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux