Can I delete *FC3* files from my FC4 system?

Andy Green andy at warmcat.com
Tue Jan 24 20:22:47 UTC 2006


Nat Gross wrote:

> On a box that was upgraded from FC3 to FC4, I find quite a few FC3
> folders in /lib/modules and files in /boot.
> Can I just delete these?

Ah best not to delete them directly.  I did this many months ago and
discovered a bug in rpm which subsequently was unable to delete the
kernel packages they belong to in a reasonable time.  I ended up writing
a script to put back a tree of fake files from the package manifest so
rpm could remove the package happily :-)

# rpm -qa | grep kernel | sort

then nuke the older ones, eg, like this

# rpm -q kernel-smp-2.6.14-1.1644_FC4

This should take out the files, it may leave an empty subdir in
/lib/modules IIRC.

-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20060124/09ee2f62/attachment-0001.bin>


More information about the fedora-list mailing list