LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   remove old kernel (https://www.linuxquestions.org/questions/linux-newbie-8/remove-old-kernel-820082/)

z99 07-15-2010 07:55 PM

remove old kernel
 
hi guys,
i think this is the best linux forum.
i just install my vga driver and a new kernel also has been installed too,
this is my old kernel:
Code:

[Myself@localhost ~]$ rpm -qa | grep kernel.PAE
kernel-PAE-devel-2.6.33.3-85.fc13.i686
kernel-PAE-2.6.33.3-85.fc13.i686

and the new one:
Code:

[Myself@localhost ~]$ uname -r
2.6.33.6-147.fc13.i686

in order to remove my old kernel should i just do????
Code:

yum remove kernel-PAE-2.6.33.3-85.fc13.i686
nothing more??

thanks in advance

Tinkster 07-15-2010 08:05 PM

I'd grep for "2.6.33.3-85" to see whether you have any source
or dev packages on top of the two you already spotted.



Cheers,
Tink

lbrigman124 07-15-2010 08:07 PM

You are mixing the tools.

If you want to use yum then issue
yum list installed kernel\*

and then
use the output line from yum as the input for your
yum remove.

z99 07-15-2010 08:18 PM

as you said thinkster there are more than 2:
Quote:

[Myself@localhost ~]$ rpm -qa | grep 2.6.33.3-85
kernel-headers-2.6.33.3-85.fc13.i686
kernel-PAE-devel-2.6.33.3-85.fc13.i686
perf-2.6.33.3-85.fc13.noarch
kernel-PAE-2.6.33.3-85.fc13.i686
so if i just remove all of them,will my new kernel work without any problem?[i just want to be sure]

simon.sweetman 07-15-2010 08:20 PM

You should do a quick check of /etc/grub.conf just to be sure the removed kernel has been cleaned up by yum properly.


All times are GMT -5. The time now is 11:51 AM.