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