yum 删除默默失败

yum 删除默默失败

在某些软件包上使用 yum remove 只会默默地失败。例如:

root# yum -y remove rdma
Loaded plugins: fastestmirror, langpacks
Resolving Dependencies
--> Running transaction check
---> Package rdma.noarch 0:7.3_4.7_rc2-5.el7 will be erased
Removing rdma.noarch 0:7.3_4.7_rc2-5.el7 - e due to obsoletes from installed rdma-core-15-7.el7_5.x86_64
Loading mirror speeds from cached hostfile
 * extras: space
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package rdma.noarch 0:7.3_4.7_rc2-5.el7 will be erased
--> Finished Dependency Resolution
root# echo $?
0
root# rpm -q rdma
rdma-7.3_4.7_rc2-5.el7.noarch

我已经运行了“rm -r /var/cache/yum/*”并重建了 rpm db,但它不能解决问题。在软件包上使用“rpm -e”效果很好。

这是 CentOS7 机器上的 yum 3.4.3。

有谁知道为什么会发生这种情况?

相关内容