为什么我的 RHEL6 x86_64 服务器尝试安装 libselinux.i686?

为什么我的 RHEL6 x86_64 服务器尝试安装 libselinux.i686?

刚刚在测试 VirtualBox 服务器上使用 RHEL 6 DVD 进行了全新安装:

[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

是什么赋予了?

答案1

这是由于selinux-ruby软件包错误造成的。

yum -v update@Mark 推荐的命令帮助我解决了这个问题。我可以通过手动安装较新的软件包来解决这个问题,一切都很顺利。

相关内容