受保护的多库版本:openssl

受保护的多库版本:openssl

我在 Centos 6.2 x86_64 上运行

尝试安装 ruby​​ 2.1.2

---> Package libselinux-devel.x86_64 0:2.0.94-5.2.el6 will be installed
--> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.2.el6.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.2.el6.x86_64
---> Package zlib.i686 0:1.2.3-29.el6 will be installed
--> Running transaction check
---> Package keyutils-libs.i686 0:1.4-3.el6 will be installed
---> Package libselinux.i686 0:2.0.94-5.2.el6 will be installed
---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed
---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed
--> Finished Dependency Resolution
Error: Protected multilib versions: openssl-1.0.0-20.el6.i686 != openssl-1.0.1e-16.el6_5.7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

如果我得到已安装的软件包:

[root@test tmp]# rpm -qa | grep openssl
openssl-1.0.1e-16.el6_5.7.x86_64
openssl098e-0.9.8e-17.el6.centos.x86_64

我没看到openssl-1.0.0-20.el6.i686

我怎样才能删除它?

答案1

该错误意味着您正在尝试为一种体系结构安装与为另一种体系结构安装的版本不同的版本。解决方案是将软件包的当前版本升级到将为其他体系结构安装的版本。在您的情况下,这意味着降级openssl-1.0.1e-16.el6_5.7.x86_64,然后openssl-1.0.0-20.el6.x86_64再次尝试该命令,但这并不是最佳选择。相反,您可能禁用了一些存储库,您需要启用这些存储库才能获得适用于两种体系结构的正确版本的包。

相关内容