Centos 6 Yum Update Error:- Requires: python(abi) = 2
[root@gts250 rajiv]# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* base: mirror.nbrc.ac.in
* elrepo: jur-linux.org
* extras: mirror.nbrc.ac.in
* rpmforge: mirror.nl.leaseweb.net
* updates: mirror.nbrc.ac.in
Setting up Update Process
Resolving Dependencies
–> Running transaction check
—> Package libsmbclient.x86_64 0:3.6.9-151.el6 will be obsoleted
—> Package libsmbclient0.x86_64 0:3.5.21-44.el5 will be obsoleting
–> Processing Dependency: libwbclient.so.0()(64bit) for package: libsmbclient0-3.5.21-44.el5.x86_64
–> Processing Dependency: libldap-2.3.so.0()(64bit) for package: libsmbclient0-3.5.21-44.el5.x86_64
–> Processing Dependency: liblber-2.3.so.0()(64bit) for package: libsmbclient0-3.5.21-44.el5.x86_64
—> Package python-beaker.noarch 0:1.3.1-6.el6 will be updated
—> Package python-beaker.noarch 0:1.5.3-1.el5.rf will be an update
–> Processing Dependency: python(abi) = 2.4 for package: python-beaker-1.5.3-1.el5.rf.noarch
—> Package python-mako.noarch 0:0.3.4-1.el6 will be updated
—> Package python-mako.noarch 0:0.3.5-1.el5.rf will be an update
–> Processing Dependency: python(abi) = 2.4 for package: python-mako-0.3.5-1.el5.rf.noarch
—> Package python-markupsafe.x86_64 0:0.9.2-4.el6 will be updated
—> Package python-markupsafe.x86_64 0:0.11-1.el5.rf will be an update
–> Processing Dependency: python(abi) = 2.4 for package: python-markupsafe-0.11-1.el5.rf.x86_64
—> Package python-paramiko.noarch 0:1.7.5-2.1.el6 will be updated
—> Package python-paramiko.noarch 0:1.7.6-1.el5.rf will be an update
–> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.rf.noarch
—> Package samba.x86_64 0:3.6.9-151.el6 will be obsoleted
—> Package samba-client.x86_64 0:3.6.9-151.el6 will be obsoleted
—> Package samba-common.x86_64 0:3.6.9-151.el6 will be obsoleted
—> Package samba-winbind.x86_64 0:3.6.9-151.el6 will be obsoleted
—> Package samba-winbind-clients.x86_64 0:3.6.9-151.el6 will be obsoleted
—> Package samba3.x86_64 0:3.5.21-44.el5 will be obsoleting
—> Package samba3-client.x86_64 0:3.5.21-44.el5 will be obsoleting
–> Processing Dependency: libreadline.so.5()(64bit) for package: samba3-client-3.5.21-44.el5.x86_64
—> Package samba3-winbind.x86_64 0:3.5.21-44.el5 will be obsoleting
–> Running transaction check
—> Package compat-openldap.x86_64 1:2.3.43-2.el6 will be installed
—> Package compat-readline5.x86_64 0:5.2-17.1.el6 will be installed
—> Package libwbclient0.x86_64 0:3.5.21-44.el5 will be installed
—> Package python-beaker.noarch 0:1.5.3-1.el5.rf will be an update
–> Processing Dependency: python(abi) = 2.4 for package: python-beaker-1.5.3-1.el5.rf.noarch
—> Package python-mako.noarch 0:0.3.5-1.el5.rf will be an update
–> Processing Dependency: python(abi) = 2.4 for package: python-mako-0.3.5-1.el5.rf.noarch
—> Package python-markupsafe.x86_64 0:0.11-1.el5.rf will be an update
–> Processing Dependency: python(abi) = 2.4 for package: python-markupsafe-0.11-1.el5.rf.x86_64
—> Package python-paramiko.noarch 0:1.7.6-1.el5.rf will be an update
–> Processing Dependency: python(abi) = 2.4 for package: python-paramiko-1.7.6-1.el5.rf.noarch
–> Processing Conflict: krb5-libs-1.10.3-10.el6.i686 conflicts libsmbclient < 3.5.10-124
–> Processing Conflict: krb5-libs-1.10.3-10.el6.x86_64 conflicts libsmbclient < 3.5.10-124
–> Finished Dependency Resolution
Error: Package: python-markupsafe-0.11-1.el5.rf.x86_64 (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-36.el6.x86_64 (@base)
python(abi) = 2.6
Error: krb5-libs conflicts with libsmbclient0-3.5.21-44.el5.x86_64
Error: Package: python-beaker-1.5.3-1.el5.rf.noarch (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-36.el6.x86_64 (@base)
python(abi) = 2.6
Error: Package: python-mako-0.3.5-1.el5.rf.noarch (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-36.el6.x86_64 (@base)
python(abi) = 2.6
Error: Package: python-paramiko-1.7.6-1.el5.rf.noarch (rpmforge)
Requires: python(abi) = 2.4
Installed: python-2.6.6-36.el6.x86_64 (@base)
python(abi) = 2.6
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest
[root@gts250 rajiv]#
The error message indicates yum is trying to install from the repoforge el5 repository instead of el6. This needs to be corrected.
Here is the solution for this problem:-
solution :- reinstall rpmforge
go to terminal
01.
[root@gts250 rajiv]# su
02.
[root@gts250 rajiv]# wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
03.
[root@gts250 rajiv]# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
04.
[root@gts250 rajiv]# yum clean all
05.
[root@gts250 rajiv]# yum update
实测这种方法可行。