2014-02-07 63 views
1

我跟了這麼多的在線指南現在大約安裝PHP-mcrypt的,但沒有這些似乎是玩球我得到了很多相關性錯誤的。無法安裝的php-mcrypt的

所有幫助將安裝RPM的我得到以下後做百勝更新時,不勝感激

Loaded plugins: fastestmirror, security 
Loading mirror speeds from cached hostfile 
* base: mirror.krystal.co.uk 
* extras: mirrors.ukfast.co.uk 
* rpmforge: apt.sw.be 
* updates: mirror.krystal.co.uk 
Setting up Update Process 

Resolving Dependencies 

--> Running transaction check 

---> Package mod_wsgi.x86_64 0:3.2-3.el6 will be updated 

---> Package mod_wsgi.x86_64 0:3.4-1.el5.rf will be an update 

--> Processing Dependency: libpython2.4.so.1.0()(64bit) for package: mod_wsgi  3.4-1.el5.rf.x86_64 
---> Package python-babel.noarch 0:0.9.4-5.1.el6 will be updated 
---> Package python-babel.noarch 0:0.9.5-1.el5.rf will be an update 
--> Processing Dependency: python(abi) = 2.4 for package: python-babel-0.9.5-1.el5.rf.noarch 
---> Package python-beaker.noarch 0:1.3.1-7.el6 will be updated 
---> Package python-beaker.noarch 0:1.5.3-1.el5.rf will be an update 
--> Processing Dependency: python(abi) = 2.4 for package: python-beaker-1.5.3-1.el5.rf.noarch 
---> Package python-genshi.x86_64 0:0.5.1-7.1.el6 will be updated 
---> Package python-genshi.noarch 0:0.6-2.el5.rf will be an update 
--> Processing Dependency: python(abi) = 2.4 for package: python-genshi-0.6-2.el5.rf.noarch 
---> Package python-mako.noarch 0:0.3.4-1.el6 will be updated 
---> Package python-mako.noarch 0:0.3.5-1.el5.rf will be an update 
--> Processing Dependency: python(abi) = 2.4 for package: python-mako-0.3.5-1.el5.rf.noarch 
---> Package python-markupsafe.x86_64 0:0.9.2-4.el6 will be updated 
---> Package python-markupsafe.x86_64 0:0.11-1.el5.rf will be an update 
--> Processing Dependency: python(abi) = 2.4 for package: python-markupsafe-0.11-1.el5.rf.x86_64 
---> Package python-netaddr.noarch 0:0.7.5-4.el6 will be updated 
---> Package python-netaddr.noarch 0:0.7.10-1.el5.rf will be an update 
--> Processing Dependency: python(abi) = 2.4 for package: python-netaddr-0.7.10-1.el5.rf.noarch 
---> Package python-paramiko.noarch 0:1.7.5-2.1.el6 will be updated 
---> Package python-paramiko.noarch 0:1.7.6-1.el5.rf will be an update 
--> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.rf.noarch 
---> Package python-pygments.noarch 0:1.1.1-1.el6 will be updated 
---> Package python-pygments.noarch 0:1.4-1.el5.rf will be an update 
--> Processing Dependency: python(abi) = 2.4 for package: python-pygments-1.4-1.el5.rf.noarch 
--> Finished Dependency Resolution 
Error: Package: python-genshi-0.6-2.el5.rf.noarch (rpmforge) 
     Requires: python(abi) = 2.4 
     Installed: python-2.6.6-52.el6.x86_64 (@updates) 
      python(abi) = 2.6 
      Available: python-2.6.6-51.el6.x86_64 (base) 
      python(abi) = 2.6 
Error: Package: python-markupsafe-0.11-1.el5.rf.x86_64 (rpmforge) 
     Requires: python(abi) = 2.4 
     Installed: python-2.6.6-52.el6.x86_64 (@updates) 
      python(abi) = 2.6 
     Available: python-2.6.6-51.el6.x86_64 (base) 
      python(abi) = 2.6 
Error: Package: python-pygments-1.4-1.el5.rf.noarch (rpmforge) 
     Requires: python(abi) = 2.4 
     Installed: python-2.6.6-52.el6.x86_64 (@updates) 
      python(abi) = 2.6 
     Available: python-2.6.6-51.el6.x86_64 (base) 
      python(abi) = 2.6 
Error: Package: python-beaker-1.5.3-1.el5.rf.noarch (rpmforge) 
     Requires: python(abi) = 2.4 
     Installed: python-2.6.6-52.el6.x86_64 (@updates) 
      python(abi) = 2.6 
     Available: python-2.6.6-51.el6.x86_64 (base) 
      python(abi) = 2.6 
Error: Package: python-mako-0.3.5-1.el5.rf.noarch (rpmforge) 
     Requires: python(abi) = 2.4 
     Installed: python-2.6.6-52.el6.x86_64 (@updates) 
      python(abi) = 2.6 
     Available: python-2.6.6-51.el6.x86_64 (base) 
      python(abi) = 2.6 
Error: Package: python-paramiko-1.7.6-1.el5.rf.noarch (rpmforge) 
     Requires: python(abi) = 2.4 
     Installed: python-2.6.6-52.el6.x86_64 (@updates) 
      python(abi) = 2.6 
     Available: python-2.6.6-51.el6.x86_64 (base) 
      python(abi) = 2.6 
Error: Package: python-netaddr-0.7.10-1.el5.rf.noarch (rpmforge) 
     Requires: python(abi) = 2.4 
     Installed: python-2.6.6-52.el6.x86_64 (@updates) 
      python(abi) = 2.6 
     Available: python-2.6.6-51.el6.x86_64 (base) 
      python(abi) = 2.6 
Error: Package: python-babel-0.9.5-1.el5.rf.noarch (rpmforge) 
     Requires: python(abi) = 2.4 
     Installed: python-2.6.6-52.el6.x86_64 (@updates) 
      python(abi) = 2.6 
     Available: python-2.6.6-51.el6.x86_64 (base) 
      python(abi) = 2.6 
Error: Package: mod_wsgi-3.4-1.el5.rf.x86_64 (rpmforge) 
     Requires: libpython2.4.so.1.0()(64bit) 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 
+0

阿爾瓦羅您好,我該怎麼辦呢? – user3283324

回答

1

該錯誤消息表示百勝試圖從repoforge EL5存儲庫,而不是安裝EL6。這需要加以糾正。

下面是該問題的解決方案: -

溶液: - 重新安裝rpmforge軟件

去終端

01.

[根@ GTS250拉吉夫]#蘇

02.

[根@ GTS250拉吉夫]#01的wget

03.

[根@ GTS250拉吉夫]#轉-Uvh rpmforge軟件釋放-0.5.2-2.el6.rf.x86_64.rpm

04.

[根@ GTS250拉吉夫]#蔭清潔所有

05.

[根@ GTS250拉吉夫]#蔭更新