Re: Removing old kernel

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

 



On 3/30/06, Alain PORTAL <aportal@xxxxxxxxxxxxxx> wrote:
> Hi,
>
> Too many kernel are installed on my box:
>
> [alain@zarathoustra i386]$ rpm -qa | grep kernel | sort
> kernel-2.6.11-1.1369_FC4
> kernel-2.6.12-1.1447_FC4
> kernel-2.6.13-1.1526_FC4
> kernel-2.6.14-1.1644_FC4
> kernel-2.6.14-1.1656_FC4
> kernel-2.6.15-1.1830_FC4
> kernel-2.6.15-1.1831_FC4
> kernel-2.6.15-1.1833_FC4
> kernel-smp-2.6.11-1.1369_FC4
> kernel-smp-2.6.12-1.1447_FC4
> kernel-smp-2.6.13-1.1526_FC4
> kernel-smp-2.6.14-1.1644_FC4
> kernel-smp-2.6.14-1.1656_FC4
> kernel-smp-2.6.15-1.1830_FC4
> kernel-smp-2.6.15-1.1831_FC4
> kernel-smp-2.6.15-1.1833_FC4
>
> How can I remove cleanly the oldest and keep only the last?
>
> Regards.
> Alain.

As root do:

rpm -e kernel-2.6.11-1.1369_FC4 \
   kernel-2.6.12-1.1447_FC4 \
   kernel-2.6.13-1.1526_FC4 \
   kernel-2.6.14-1.1644_FC4 \
   kernel-2.6.14-1.1656_FC4 \
   kernel-2.6.15-1.1830_FC4 \
   kernel-2.6.15-1.1831_FC4 \
   kernel-2.6.15-1.1833_FC4 \
   kernel-smp-2.6.11-1.1369_FC4 \
   kernel-smp-2.6.12-1.1447_FC4 \
   kernel-smp-2.6.13-1.1526_FC4 \
   kernel-smp-2.6.14-1.1644_FC4 \
   kernel-smp-2.6.14-1.1656_FC4 \
   kernel-smp-2.6.15-1.1830_FC4 \
   kernel-smp-2.6.15-1.1831_FC4

It may take a while.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux