0

我运行了这个命令

 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
4

2 回答 2

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
于 2014-02-01T08:45:21.850 回答
0

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

yum clean all
rm -rf /var/cache/yum
yum update
于 2019-06-10T07:03:06.447 回答