Removing a kernel

Ville Skyttä ville.skytta at iki.fi
Sat Mar 4 09:45:09 UTC 2006


On Sat, 2006-03-04 at 10:15 +0100, Eric Tanguy wrote:
> I need to compile myself 2 kernel modules : rt2500 (pci wifi card) and
> spca5xx (usb webcam).
> When i remove a kernel (ie 2.6.15-1.1831_FC4) i still have a rep
> in /lib/modules : 
> /lib/modules/2.6.15-1.1831_FC4/ containing the 2 modules i compiled. 
> Why this rep is not removed with the kernel ?

Because your modules are not owned by the kernel package.  Kernel is not
a special case, that's just how rpm behaves: additional files installed
into dirs owned by package foo are not deleted when foo is removed
unless foo also owns those files.




More information about the fedora-extras-list mailing list