2014-02-12 98 views
0

我是新的服務器,我嘗試更新我的PHP使用百勝,但我得到以下錯誤。我已經嘗試了幾乎所有的東西,但我無法弄清楚。請幫我修復它。更新我的PHP 5.3到5.4問題

Juan。

[[email protected]]# yum install php 
Loaded plugins: fastestmirror, replace 
Loading mirror speeds from cached hostfile 
* base: p3plmirror01.prod.phx3.secureserver.net 
* epel: dl.fedoraproject.org 
* extras: p3plmirror01.prod.phx3.secureserver.net 
* remi: mirrors.mediatemple.net 
* updates: p3plmirror01.prod.phx3.secureserver.net 
Setting up Install Process 
Resolving Dependencies 
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. 
The program yum-complete-transaction is found in the yum-utils package. 
--> Running transaction check 
---> Package php.x86_64 0:5.4.25-1.el6.remi will be installed 
--> Processing Dependency: php-common(x86-64) = 5.4.25-1.el6.remi for package: php-5.4.25-1.el6.remi.x86_64 
--> Processing Dependency: php-cli(x86-64) = 5.4.25-1.el6.remi for package: php-5.4.25-1.el6.remi.x86_64 
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-5.4.25-1.el6.remi.x86_64 
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-5.4.25-1.el6.remi.x86_64 
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-5.4.25-1.el6.remi.x86_64 
--> Running transaction check 
---> Package php.x86_64 0:5.4.25-1.el6.remi will be installed 
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-5.4.25-1.el6.remi.x86_64 
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-5.4.25-1.el6.remi.x86_64 
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-5.4.25-1.el6.remi.x86_64 
---> Package php-cli.x86_64 0:5.4.25-1.el6.remi will be installed 
--> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: php-cli-5.4.25-1.el6.remi.x86_64 
--> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: php-cli-5.4.25-1.el6.remi.x86_64 
--> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: php-cli-5.4.25-1.el6.remi.x86_64 
---> Package php-common.x86_64 0:5.4.25-1.el6.remi will be installed 
--> Finished Dependency Resolution 
Error: Package: php-5.4.25-1.el6.remi.x86_64 (remi) 
      Requires: libcrypto.so.10(libcrypto.so.10)(64bit) 
Error: Package: php-cli-5.4.25-1.el6.remi.x86_64 (remi) 
      Requires: libssl.so.10(libssl.so.10)(64bit) 
Error: Package: php-5.4.25-1.el6.remi.x86_64 (remi) 
      Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit) 
Error: Package: php-5.4.25-1.el6.remi.x86_64 (remi) 
      Requires: libssl.so.10(libssl.so.10)(64bit) 
Error: Package: php-cli-5.4.25-1.el6.remi.x86_64 (remi) 
      Requires: libcrypto.so.10(libcrypto.so.10)(64bit) 
Error: Package: php-cli-5.4.25-1.el6.remi.x86_64 (remi) 
      Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit) 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 
+0

如果你不知道自己在做什麼,爲什麼要使用外部回購? – PeeHaa

回答

0

看起來這是因爲發生在你的箱子安裝了OpenSSL的版本是1.0.1 <,最有可能的1.0.0。

如果您不熟悉解決依賴關係問題(例如此問題),則應該小心使用外部存儲庫。

爲包含缺失文件(OpenSSL 1.0.1+)的操作系統找到合適的RPM,這將解決您的依賴性錯誤。