Easiest way to restore corrupt file from rpm?

John Thompson JohnThompson at new.rr.com
Thu Oct 7 23:35:18 UTC 2004


C. Linus Hicks wrote:

> 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.

So does "Midnight Commander" if you'd like an ncurses gui to browse the 
rpm contents.


-- 

-John (john at os2.dhs.org)




More information about the fedora-list mailing list