2014-01-23 28 views
0

我跑這個命令如何解決在CentOS的依賴問題,同時安裝「開發工具」

yum groupinstall "Development Tools" 

,給了這些關聯問題,我需要添加回購的百勝名單?

Error: Package: git-1.7.10.2-1.w5.x86_64 (webtatic) 
      Requires: libcurl.so.3()(64bit) 
Error: Package: subversion-1.6.13-0.1.el5.rf.x86_64 (webtatic) 
      Requires: libneon.so.25()(64bit) 
Error: Package: subversion-1.6.13-0.1.el5.rf.x86_64 (webtatic) 
      Requires: python(abi) = 2.4 
      Installed: python-2.6.6-37.el6_4.x86_64 (@updates) 
       python(abi) = 2.6 
      Available: python-2.6.6-51.el6.x86_64 (base) 
       python(abi) = 2.6 
      Available: python-2.6.6-52.el6.x86_64 (updates) 
       python(abi) = 2.6 
Error: Package: perl-Git-1.7.10.2-1.w5.x86_64 (webtatic) 
      Requires: perl(:MODULE_COMPAT_5.8.8) 
You could try using --skip-broken to work around the problem 
You could try running: rpm -Va --nofiles --nodigest 
+0

先嚐試刪除'python'。然後'yum groupinstall「開發工具」'。因爲它需要較低版本的python。 – Gangaraju

+0

看到http://unix.stackexchange.com/questions/20044/package-git-1-7-6-1-1-el5-rf-i386-rpmforge-requires-libcurl-so-3/125357 – SPRBRN

回答

0

Webtatic不支持的Git爲RHEL/CentOS 6的,但您使用的是舊Webtatic 5庫的方式意味着你已經改變了/etc/yum.repos.d/webtatic.repo到始終啓用。

如果把這一關,你可以安裝RHEL/CentOS 6的的基本Git版本,這是1.7.1。

六/etc/yum.repos.d/webtatic.repo

... 
enable=0 

另外,您可以暫時禁用它當前的yum命令:

yum groupinstall "Development Tools" --disablerepo=webtatic 
+0

你應該也意識到Webtatic 5存儲庫中沒有任何內容是打算在RHEL/CentOS 6上使用的。 – Andy