LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   clean up after update (https://www.linuxquestions.org/questions/fedora-35/clean-up-after-update-298115/)

wjacobusse 03-05-2005 06:41 PM

clean up after update
 
I just installed FC3 and ran up2date. Now grub shows me two versions of the kernel to choose from. It seems that the new kernel is running just fine so i wld like to remove the older version and edit grub.conf accordingly.
I suspect there will be a lot more stuff that can be removed after up2date.
Is there a comprehensive way to remove old and obsolete packages after running up2date?

Engmar 03-06-2005 05:08 AM

Obsolete packages should be being replaced by up2date - with the exception of the kernel.
Just a word of caution - keep the old kernels around. At least 1 or 2. You never know when
some funtionality crucial to you will be broken by a new kernel. You may then have to drop back a version until a fix comes along.

Harryc 03-06-2005 07:03 AM

As Engmar stated, it's a good idea to keep an extra kernel around in case you need it in an 'emergency' boot. However, to answer your question; do this from console as root;

Code:

rpm -qa | grep kernel
pick the older named kernel then;

Code:

rpm -e kernel.xx.xx.x
Replacing the X's with the actual kernel package name that you'd like removed.


All times are GMT -5. The time now is 09:07 AM.