centos – yum error – 包是重复的

前端之家收集整理的这篇文章主要介绍了centos – yum error – 包是重复的前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
当我尝试在CentOS 6.3机器上运行yum update时,我收到错误,并说要运行yum check. yum检查的输出是:
➜  ~  yum check
Loaded plugins: fastestmirror
glibc-2.12-1.107.el6_4.5.x86_64 is a duplicate with glibc-2.12-1.107.el6_4.4.x86_64
glibc-common-2.12-1.107.el6_4.5.x86_64 is a duplicate with glibc-common-2.12-1.107.el6_4.4.x86_64
glibc-devel-2.12-1.107.el6_4.5.x86_64 is a duplicate with glibc-devel-2.12-1.107.el6_4.4.x86_64
glibc-devel-2.12-1.107.el6_4.5.x86_64 has missing requires of glibc-headers = ('0','2.12','1.107.el6_4.5')
iputils-20071127-17.el6_4.2.x86_64 is a duplicate with iputils-20071127-17.el6_4.x86_64
nspr-4.9.5-2.el6_4.x86_64 is a duplicate with nspr-4.9.2-1.el6.x86_64
nss-3.14.3-4.el6_4.x86_64 is a duplicate with nss-3.14.0.0-12.el6.x86_64
nss-softokn-3.14.3-3.el6_4.x86_64 is a duplicate with nss-softokn-3.12.9-11.el6.x86_64
nss-util-3.14.3-3.el6_4.x86_64 is a duplicate with nss-util-3.14.0.0-2.el6.x86_64
tzdata-2013g-1.el6.noarch is a duplicate with tzdata-2013c-2.el6.noarch
2:xinetd-2.3.14-39.el6_4.x86_64 is a duplicate with 2:xinetd-2.3.14-38.el6.x86_64
Error: check all

知道如何修复这些包吗?我试过yum重新安装xinetd tzdata nss-util nss-softokn nss nspr iputils glibc glibc-common glibc-devel但得到了:

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.

对我而言,在您升级软件包的过程中,您似乎重新启动了计算机(或者它已崩溃).所以安装了新包,但旧包没有删除.

首先查看您是否有任何未完成的交易:yum-complete-transaction

如果这没有帮助,那么看看作为yum-utils包的一部分的package-cleanup工具.

package-cleanup –dupes列出重复的包

package-cleanup –cleandupes删除重复的包

但是请小心使用该命令并在删除重复项之前创建备份.

原文链接:https://www.f2er.com/centos/374099.html

猜你在找的CentOS相关文章