我在 RHEL 6.3(圣地亚哥)上安装 PHP 5.5(以支持 wordpress)时遇到了困难,我认为服务器设置不正确(承包商),并且我最终得到了 ius 的 openssl 副本,而不是基本的 linux 存储库。
我正在处理的错误如下:
/usr/lib64/libcrypto.so.1.0.1e from install of openssl-1.0.1e-30.el6_6.4.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
我尝试删除 ius 版本,但它有近 40 个依赖项 - 其中一些看起来很重要(wget、python、openssh)。
这里最好的做法是什么?我应该从头开始重建还是删除依赖项并重新安装?
加雷斯 我尝试过。由于某种原因,它不认为 openssl 是从 yum 安装的:
> remove openssl
Setting up Remove Process
No Match for argument: openssl
Package(s) openssl available, but not installed.
但我还是尝试了剩下的部分:
> install openssl
Setting up Install Process
> run
--> Running transaction check
---> Package openssl.x86_64 0:1.0.1e-30.el6_6.4 will be installed
--> Finished Dependency Resolution
====================================================================================================================================================================
Package Arch Version Repository Size
====================================================================================================================================================================
Installing:
openssl x86_64 1.0.1e-30.el6_6.4 rhel-x86_64-server-6 1.5 M
Transaction Summary
====================================================================================================================================================================
Install 1 Package(s)
Total size: 1.5 M
Installed size: 0
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Error: Transaction Check Error:
file /usr/lib64/libcrypto.so.1.0.1e from install of openssl-1.0.1e-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.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-30.el6_6.4.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.el6.x86_64
Error Summary
-------------
答案1
您可以尝试yum
的 shell 将更改作为一项事务来执行:-
# yum shell
>
> remove <package>
> repo disable <repo ID of IUS>
> install <package>
> run
或者,如果您yum
足够现代,您可以使用它的swap
命令。