安装“开发工具”时如何修复centos上的依赖问题

时间:2014-01-23 14:01:56

标签: centos oci8

我跑了这个命令

 yum groupinstall "Development Tools"

给出了这些依赖性问题我需要将回购列表添加到yum列表吗?

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

2 个答案:

答案 0 :(得分:0)

Webtatic不支持RHEL / CentOS 6的Git,但是您使用旧的Webtatic 5存储库的方式表明您已将/etc/yum.repos.d/webtatic.repo更改为始终启用。

如果关闭它,可以安装RHEL / CentOS 6的基本git版本,即1.7.1。

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

...
enable=0

或者,您可以暂时为当前的yum命令禁用它:

yum groupinstall "Development Tools" --disablerepo=webtatic

答案 1 :(得分:0)

您可以尝试以下对我有用的命令。

yum clean all
rm -rf /var/cache/yum
yum update