Re: repairing an installed RPM

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

 



Dave Mitchell wrote:
> If I have an installed RPM, and one or more of its installed files have
> been deleted or corrupted, what's the best way to repair it?
> 
> The only way I've found is
> 
>     rpm -e --nodeps foo.rpm
>     rpm -i foo.rpm
> 
> which seems a bit clunky. Is there any way that only updates the damaged
> files?

rpm -F --oldpackage foo.rpm

Hope this helps,

James.
-- 
E-mail address: james | Practically any car advert, for example, shows you
@westexe.demon.co.uk  | that if you buy this car you will get so lost that you
                      | end up parked (well, no. The word here is "stuck") on
                      | a mountain in Monument Valley.  -- Telsa Gwynne


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

  Powered by Linux