[CentOS] package manager
Phil Schaffner
Philip.R.Schaffner at NASA.gov
Mon Sep 10 18:01:46 UTC 2007
On Sun, 2007-09-09 at 11:49 -0700, Dan Dansereau wrote:
> How do I force the package manager to re-install a package?
>
>
>
> Such as Development - > Development Tools -> G77
>
>
>
> Or the entire Development tools package?
>
> The G77 Is missing – and when I ask it to install – it states that is
> already installed.
Assuming you have satisfied the concerns
Ignacio Vazquez-Abrams raised and still want to proceed...
Change to the directory containing the package[s] and do:
rpm -Uvh --force <package1> <package2> ... <packageN>
Note that this is pretty ugly and should only be necessary if things are
messed up badly, such as when files have been manually removed outside
the package management system, or when failed updates leave the RPM
database corrupted.
Phil
More information about the CentOS
mailing list