Re: Easiest way to restore corrupt file from rpm?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 4 Oct 2004, Paul Howarth wrote:

> 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
> 
> That won't replace the file at all, as the only thing it changes is the RPM 
> database.
> 
> > rpm -i --nodeps -f kdebase
> 
> That'll work, but I tend to favour:
> 
> rpm -Uvh --replacefiles --replacepkgs kdebase

Good choice, as well.
-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit 
http://www.bubbanfriends.org/mailman/listinfo/site-update, or send a 
message to:

site-update-request@xxxxxxxxxxxxxxxxx

with a message of: 

subscribe


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux