我在使用以下命令在我的CentOS-6.5上安装bzr时遇到问题:
#yum -y install bzr
我收到以下错误:
Error: Package: bzr-2.3.3-1.el5.rf.x86_64 (rpmforge)
Requires: python-elementtree
Error: Package: python-curl-7.15.5-1.3.el5.rf.x86_64 (rpmforge)
Requires: libcurl.so.3()(64bit)
Error: Package: bzr-2.3.3-1.el5.rf.x86_64 (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-51.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
python(abi) = 2.6
Available: python-2.6.6-52.el6.x86_64 (updates)
python(abi) = 2.6
Error: Package: python-curl-7.15.5-1.3.el5.rf.x86_64 (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-51.el6.x86_64 (@anaconda-CentOS-201311272149.x86_64/6.5)
python(abi) = 2.6
Available: python-2.6.6-52.el6.x86_64 (updates)
python(abi) = 2.6
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
有什么建议吗?
我将回购改为EL6,如下所示,但仍然得到同样的错误:
# Name: RPMforge RPM Repository for Red Hat Enterprise 6 - dag
# URL: http://rpmforge.net/
[rpmforge]
name = Red Hat Enterprise $releasever - RPMforge.net - dag
#baseurl = http://apt.sw.be/redhat/el6/en/$basearch/dag
mirrorlist = http://apt.sw.be/redhat/el6/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
答案 0 :(得分:0)
您已设置EL5 rpmforge存储库,但正在使用EL6 CentOS存储库。
那不行。
您需要为两者使用相同的版本。