Easiest way to restore corrupt file from rpm?
Mike Burger
mburger at bubbanfriends.org
Mon Oct 4 16:25:18 UTC 2004
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 at bubbanfriends.org
with a message of:
subscribe
More information about the fedora-list
mailing list