如何修复损坏的 yum install rpcbind 软件包?

如何修复损坏的 yum install rpcbind 软件包?

我尝试升级 rpcbind 软件包但失败。

yum update rpcbind

Transaction check error:
  package rpcbind-0.2.0-42.el7.x86_64 is already installed

所以我尝试重新安装该软件包:

yum -d 0 -e 0 -y reinstall rpcbind
Error:  Multilib version problems found. This often means that the root
       cause is something else and multilib version checking is just
       pointing out that there is a problem

Protected multilib versions: rpcbind-0.2.0-42.el7.x86_64 != rpcbind-0.2.0-38.el7.x86_64

如何强制 yum 重新安装 rpcbind 软件包?

答案1

使用以下命令:

rpm -Uvh --replacefiles rpcbind-version.rpm

相关内容