標籤:transaction check error:
[[email protected] ~]# yum install ipa-server
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
從上面可以看出是因為軟體包衝突造成的
perl-XML-SAX-0.96-7.el6.noarch
perl-XML-SAX-Base-1.04-1.el6.rf.noarch
查看yum安裝時出現的
Dependencies Resolved
===========================================================================================
Package Arch Version Repository Size
===========================================================================================
Installing:
perl-XML-SAX noarch 0.96-7.el6 base 78 k
perl-XML-SAX-Base noarch 1.04-1.el6.rf rpmforge 27 k
可以看出這2個軟體包用了不同的軟體倉庫造成了軟體包的衝突
解決辦法:
[[email protected] yum.repos.d]# vim rpmforge.repo
### Name: RPMforge RPM Repository for RHEL 6 - dag
### URL: http://rpmforge.net/
[rpmforge]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el6/en/$basearch/rpmforge
mirrorlist = http://mirrorlist.repoforge.org/el6/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1
本文出自 “雲人生” 部落格,請務必保留此出處http://ovcer.blog.51cto.com/1145188/1539614