在RHEL 6.9上安装krb5-server时遇到库的依赖性问题

0 人关注

我在RHEL 6.9上面临 "yum install krb5-server "的问题,我正在做的是在MapR 5.2集群上安装Kerberos。下面提到的问题。

[root@master ~]# yum install krb5-server
Loaded plugins: product-id, refresh-packagekit, search-disabled-repos, security, subscription-manager
This system is not registered with an entitlement server. You can use subscription-manager to register.
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package krb5-server.x86_64 0:1.10.3-57.el6 will be installed
--> Processing Dependency: krb5-libs = 1.10.3-57.el6 for package: krb5-server-1.10.3-57.el6.x86_64
--> Running transaction check
---> Package krb5-libs.i686 0:1.10.3-57.el6 will be installed
--> Processing Dependency: libselinux.so.1 for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libresolv.so.2(GLIBC_2.2) for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libresolv.so.2 for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libm.so.6 for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libkeyutils.so.1(KEYUTILS_0.3) for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libkeyutils.so.1 for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.1) for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libdl.so.2(GLIBC_2.0) for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libdl.so.2 for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libcom_err.so.2 for package: krb5-libs-1.10.3-57.el6.i686
--> Processing Dependency: libc.so.6(GLIBC_2.9) for package: krb5-libs-1.10.3-57.el6.i686
--> Running transaction check
---> Package glibc.i686 0:2.12-1.192.el6 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.192.el6.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.192.el6.i686
---> Package keyutils-libs.i686 0:1.4-5.el6 will be installed
---> Package libcom_err.i686 0:1.41.12-22.el6 will be installed
---> Package libselinux.i686 0:2.0.94-7.el6 will be installed
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.14.3-23.3.el6_8 will be installed
--> Finished Dependency Resolution
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. Eg.:
         1. You have an upgrade for krb5-libs which is missing some
            dependency that another package requires. Yum is trying to
            solve this by installing an older version of krb5-libs of the
            different architecture. If you exclude the bad architecture
            yum will tell you what the root cause is (which package
            requires what). You can try redoing the upgrade with
            --exclude krb5-libs.otherarch ... this should give you an error
            message showing the root cause of the problem.
         2. You have multiple architectures of krb5-libs installed, but
            yum can only see an upgrade for one of those arcitectures.
            If you don't want/need both architectures anymore then you
            can remove the one with the missing update and everything
            will work.
         3. You have duplicate versions of krb5-libs installed already.
            You can use "yum check" to get yum show these errors.
       ...you can also use --setopt=protected_multilib=false to remove
       this checking, however this is almost never the correct thing to
       do as something else is very likely to go wrong (often causing
       much more problems).
       Protected multilib versions: krb5-libs-1.10.3-57.el6.i686 != krb5-libs-1.10.3-65.el6.x86_64
Error: Protected multilib versions: libcom_err-1.41.12-22.el6.i686 != libcom_err-1.41.12-23.el6.x86_64
[root@master ~]#
    
1 个评论
请阅读 在什么情况下,我可以在我的问题中加入 "紧急 "或其他类似的短语,以获得更快的答案? - 总之,这不是解决志愿者问题的理想方式,而且可能对获得答案起反作用。请不要在你的问题中加入这种内容。
linux
kerberos
rhel
mapr
Vik
Vik
发布于 2017-11-10
2 个回答
Florian Weimer
Florian Weimer
发布于 2017-11-10
已采纳
0 人赞同

如果系统是从较新的安装介质中安装的,然后订阅了只提供旧版本软件包的软件频道,就会发生这样的Yum错误。 我通常在人们安装了测试版,然后在安装后没有启用测试版频道(这是一个手动步骤)时看到它。

The hint is in this line:

       Protected multilib versions: krb5-libs-1.10.3-57.el6.i686 != krb5-libs-1.10.3-65.el6.x86_64
Error: Protected multilib versions: libcom_err-1.41.12-22.el6.i686 != libcom_err-1.41.12-23.el6.x86_64

Yum试图安装1.10.3-57.el6版本,而1.10.3-65已经被安装。 (你可以忽略i686/x86_64的区别,Yum去真的在试图弄清楚在这里安装什么的时候出了错)。

Red Hat Enterprise Linux 6.9已经发布,所以这不是通常的测试版问题。 你需要用yum repolist -v检查频道订阅情况,然后用subscription-manager repos --disable=… --enable=…来修复频道配置。

如果你使用卫星,应用于你的系统的策略可能会给它提供错误的操作系统版本。 在这种情况下,你可能不得不在卫星基础设施中进行修改。

如果由于某种原因,你需要一个EUS版本的Red Hat Enterprise Linux(比6.9更早),你应该用它建立一个新的系统。 降级可能是相当困难的。

Daein Park
Daein Park
发布于 2017-11-10
0 人赞同

如何删除yum缓存,然后再重试。

# yum clean all
# rm -rf /var/cache/yum