如何在安装时解决centos上的依赖性问题;“开发工具”;

如何在安装时解决centos上的依赖性问题;“开发工具”;,centos,oci8,Centos,Oci8,我执行了这个命令 yum groupinstall "Development Tools" 这就产生了这些依赖性问题,我需要将repo添加到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) Re

我执行了这个命令

 yum groupinstall "Development Tools"
这就产生了这些依赖性问题,我需要将repo添加到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

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

如果关闭该选项,则可以安装RHEL/CentOS 6的基本git版本,即1.7.1

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

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

yum groupinstall "Development Tools" --disablerepo=webtatic

你可以试试下面的命令,它对我有用

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

首先尝试删除
python
。然后
yum组安装“开发工具”
。由于它需要较低版本的python.see,您还应该知道WebStatic 5存储库中的任何内容都不打算在RHEL/CentOS 6上使用。