首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么我的RHEL6 x86_64服务器试图安装libselinux.i686?

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

Server Fault用户
提问于 2012-02-03 19:54:57
回答 1查看 4K关注 0票数 4

刚刚在测试VirtualBox服务器上使用RHEL6DVD进行了新的安装:

代码语言:javascript
复制
[root@bt-rhel6-1 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.1 (Santiago)

我确信这是一台x86_64机器:

代码语言:javascript
复制
[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包:

代码语言:javascript
复制
[root@bt-rhel6-1 ~]# rpm -qa | grep i686
[root@bt-rhel6-1 ~]# rpm -qa | grep x86_64 | wc -l
331

但当我做yum update时:

代码语言:javascript
复制
[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

以下是我的存储库:

代码语言:javascript
复制
[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

怎么回事?

EN

回答 1

Server Fault用户

回答已采纳

发布于 2012-02-14 23:29:39

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

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

票数 2
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/356674

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档