uninstalling custom kernel and query on stale files from previous kernels

Christofer C. Bell cbell at jayhawks.net
Sun Feb 22 08:34:32 UTC 2004


On Sun, 22 Feb 2004 18:16:40 +1000, 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

If you are certain they are not for one of your custom kernels and running
'rpm -qf' against them shows they belong to no packages, there is no harm in
manually deleteing them.

--
Chris

"Build a man a fire and he will be warm for the rest of the night.  Set 
a man on fire and he will be warm for the rest of his life."  -- Unknown





More information about the users mailing list