uninstalling custom kernel and query on stale files from previous kernels
Jeff Vian
jvian10 at charter.net
Sun Feb 22 13:58:48 UTC 2004
Matt H. wrote:
>On Sun, 22 Feb 2004 01:32:38 -0600, Mike Klinke wrote:
>
>
>
>>rpm -e kernel-<version>
>>
>>should remove all the entries from /boot, /lib/modules etc.
>>
>>Regards, Mike Klinke
>>
>>
>
>Mike,
>rpm -e for the 2149 kernel only deleted the entries in /boot.
>/lib/modules/2.4.22-1.2149.nptl and /usr/src/linux-2.4.22-1.2149.nptl are
>still existent. Note that rpm -qa kernel doesn't list 2149 anymore
>however. So, I couldn't see any harm in just manually deleting these
>directories?
>Thanks
>
You have to do the same for the kernel-source-<version>
And for a full cleanup also for the kernel-doc-<version>
This is assuming you have both the above installed.
Manually deleting will not clean up the rpm database
use " rpm -qa | grep kernel " to see exactly which kernel packages are
installed.
>
>
More information about the fedora-list
mailing list