Can one force yum to install something that's already installed?

Bruno Wolff III bruno at wolff.to
Wed Mar 5 18:42:37 UTC 2008


On Wed, Mar 05, 2008 at 15:21:09 +0530,
  Rahul Sundaram <sundaram at fedoraproject.org> wrote:
> Chris G wrote:
> >Is there any way to force yum to re-install a package that has got
> >corrupted (well, *may* have got corrupted)?
> >
> >Obviously I could do:-
> >
> >    yum remove <package>
> >    yum install <package>
> >
> >but it seems like there ought to be an easier way to do it.
> 
> yum 3.2-11 (in Rawhide) has a reinstall option but the latest yum in 
> Fedora 8 doesn't. You could file a RFE and request an update if it is 
> not already done.

In the short term you can use the --force option on rpm to do this.




More information about the users mailing list