linux - 在 RHEL 6.9 上安装 krb5-server 时面临库依赖

标签 linux kerberos rhel mapr

我在 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 ~]#

最佳答案

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

提示就在这一行:

       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 已经发布,所以这不是通常的 beta 问题。您需要使用 yum repolist -v 检查 channel 订阅,然后使用 subscription-manager repos --disable=... --enable=... 修复 channel 配置。

如果您使用 Satellite,应用于您系统的策略可能会为其提供错误版本的操作系统。在这种情况下,您可能必须对 Satellite 基础设施进行更改。

如果出于某种原因,您需要 EUS 版本的 Red Hat Enterprise Linux(早于 6.9),您应该使用它设置一个新系统。降级可能相当困难。

关于linux - 在 RHEL 6.9 上安装 krb5-server 时面临库依赖,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47216755/

相关文章:

linux - Makefile patsubst 使用 shell 变量的值

python - Ansible 到 Windows 使用 Kerberos 不工作

linux - 在 Oracle 12c 中移动数据文件后操作系统存储不释放

linux - 使用 Linux Debian 在 NAS 上移动应用程序时编辑票证时出错

java - MYSQL 在 Windows 7 和 Linux 上为相同的查询提供不同的输出

sharepoint - 使用 Kerberos 通过 SSL 从 SharePoint 调用 Reporting Services Web 服务

hadoop - Oozie 不关心 acl

hadoop - Apache Hadoop 版本 1.0.3 使用哪些端口进行守护进程的集群内通信

java - RHEL Java 应用程序 - 特定名称而不是通用 java 进程

linux - 在树莓派和多台 Linux 操作系统计算机之间传输文件?