今天,在CENTOS 6上安装测试MUNIN时,遇到此问题。。。
在网上找了解决办法。。建议手工单独安装或删除有冲突的包。。
~~~~~
Today yum chase its own tail during the package update of one of our servers.
Updating the packages needed the installation of any new packages because of dependencies. The transaction check breaks with:
Transaction Check Error: file /usr/share/man/man3/XML::SAX::Base.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch file /usr/share/man/man3/XML::SAX::Exception.3pm.gz conflicts between attempted installs of perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch
No way out. Google didn’t know anything about.
The solution of this problem is removing any packages and reinstall them manually. In my situation I removed both packages which made trouble: perl-XML-SAX-0.96-7.el6.noarch
and perl-XML-SAX-Base-1.04-1.el6.rf.noarch
. I reinstalled perl-XML-SAX-0.96-7.el6.noarch again and any transaction check works and yum installed the updates. I didn’t reinstalled the package perl-XML-SAX-Base-1.04.1.el6.rf.noarch because it seems to be no longer a dependency of any perl-SAX package.