想用openssl替换openssl10,但是在使用yum install时它给我带来了冲突

时间:2014-04-11 06:12:43

标签: openssl yum

我在redhat enterprise 6服务器上安装了openssl10。我想用最新版本的openssl替换它,但yum install失败了几个冲突(见下文)。如果我在尝试安装openssl之前卸载openssl10,那么我就不能使用yum了。任何建议将不胜感激。顺便说一句,yum replace对我来说不起作用。

Transaction Check Error:
  file /usr/lib64/libcrypto.so.1.0.1e from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/libssl.so.1.0.1e from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/lib4758cca.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libaep.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libatalla.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libcapi.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libchil.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libcswift.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libgmp.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libnuron.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libpadlock.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libsureware.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
  file /usr/lib64/openssl/engines/libubsec.so from install of openssl-1.0.1e-16.el6_5.7.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64

1 个答案:

答案 0 :(得分:0)

首先下载软件包及其依赖项,然后使用命令rpm。有了它,您可以使用rpm -i选项添加(rpm -e)或删除(--no-deps)忽略依赖关系的包。也请尝试先更新(rpm -U),我们可能永远不会知道。

请注意,这可能会破坏您的安装,非常谨慎,并仔细检查所涉及的任何软件包的依赖关系。