刚刚在测试VirtualBox服务器上使用RHEL6DVD进行了新的安装:
[root@bt-rhel6-1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)我确信这是一台x86_64机器:
[root@bt-rhel6-1 ~]# uname -a
Linux bt-rhel6-1.local 2.6.32-131.0.15.el6.x86_64 #1 SMP Tue May 10 15:42:40 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux也没有安装其他i686包:
[root@bt-rhel6-1 ~]# rpm -qa | grep i686
[root@bt-rhel6-1 ~]# rpm -qa | grep x86_64 | wc -l
331但当我做yum update时:
[root@bt-rhel6-1 ~]# yum update 2>&1 | grep i686
---> Package libselinux.i686 0:2.0.94-5.el6 will be installed
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libdl.so.2 for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.8) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3.4) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.3) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.2.4) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.2.3) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.2) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.3) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1.2) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.1) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.0) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: libc.so.6 for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: ld-linux.so.2(GLIBC_2.3) for package: libselinux-2.0.94-5.el6.i686
--> Processing Dependency: ld-linux.so.2 for package: libselinux-2.0.94-5.el6.i686
---> Package glibc.i686 0:2.12-1.47.el6_2.5 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.47.el6_2.5.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.47.el6_2.5.i686
---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed
Error: Protected multilib versions: libselinux-2.0.94-5.2.el6.x86_64 != libselinux-2.0.94-5.el6.i686以下是我的存储库:
[root@bt-rhel6-1 ~]# yum repolist
Loaded plugins: product-id, rhnplugin, subscription-manager
Updating Red Hat repositories.
repo id repo name status
epel Extra Packages for Enterprise Linux 6 - x86_64 6,893
rhel-x86_64-server-6 Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64) 6,806
repolist: 13,699怎么回事?
发布于 2012-02-14 23:29:39
这是由于selinux-ruby包错误造成的。
@Mark推荐的yum -v update命令帮助我解决了这个问题。我能够通过手动安装一个较新的软件包来绕过它,一切都很好。
https://serverfault.com/questions/356674
复制相似问题