Re: re-install package

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



Joseph L. Casale wrote:
>> 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.

Another option is "rpm -e --nodeps --justdb ..." to leave the files in place
while making it appear that the package is no longer installed.  Follow
that with "yum install ...".

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux