[CentOS] re-install package

Joseph L. Casale JCasale at activenetwerx.com
Tue Apr 14 21:53:19 UTC 2009

>You can remove them with "rpm -e pkgnames --nodeps" and then reinstall 
>them with yum. I had to do this recently with some strangeness that was 
>goign on with kpartx and device-mapper-multipath of al things.

# rpm -i --replacepkgs <rpm-file> is possibly safer in "some" scenarios.
Depending on what you are removing and how, you might break something bad
by ripping it out, then trying to get it back in after the system is a in
a compromised state. This might be safer in those small percentage of cases.

Something to think about...


More information about the CentOS mailing list