Easiest way to restore corrupt file from rpm?

C. Linus Hicks lhicks at nc.rr.com
Mon Oct 4 16:04:16 UTC 2004


On Mon, 2004-10-04 at 09:52, Neal D. Becker wrote:
> I have a corrupt file on my filesystem that belongs to kdebase.  What would
> be the easiest way to get rpm to repair this file?  The only thing I can
> think of is
> 
> rpm -e --nodeps --justdb kdebase
> rpm -i --nodeps -f kdebase

Check out rpm2cpio. You can use it to get a single file if that is what
you are after.
-- 
C. Linus Hicks <lhicks at nc.rr.com>




More information about the fedora-list mailing list