Search code examples
centosbazaar

Having problems installing bzr on CentOS-6.5


I am having trouble installing bzr on my CentOS-6.5 using the command:

#yum -y install bzr

I get the following errors:

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

Any suggestions please?

I changed the repo to EL6 as shown below but still getting the same error:

# 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

Solution

  • You have EL5 rpmforge repositories set up but are using EL6 CentOS repositories.

    That won't work.

    You need to use the same version for both.