When installing the software package in yum, the following error occurs: Transaction check error. How can this problem be solved?

Source: Internet
Author: User

[[Email protected] ~] # Yum install IPA-Server

Transaction check error:
File/usr/share/man/man3/xml: sax: base.3pm.gz conflicts between attempted installof 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 installof perl-XML-SAX-0.96-7.el6.noarch and perl-XML-SAX-Base-1.04-1.el6.rf.noarch

 

It can be seen from the above that this is caused by a software package conflict.

Perl-XML-SAX-0.96-7.el6.noarch

Perl-XML-SAX-Base-1.04-1.el6.rf.noarch

View

Dependencies resolved

================================================= ========================================================== =============< br> package arch version repository size
============= ========================================================== =======================================================< br> 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

We can see that these two software packages use different software warehouses to cause Software Package conflicts.

Solution:

[[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
Using list = http://mirrorlist.repoforge.org/el6/mirrors-rpmforge
# Prepare list = file: // etc/yum. Repos. d/mirrors-rpmforge
Enabled = 0
Protect = 0
Gpgkey = file: // etc/pki/rpm-GPG-key-rpmforge-Dag
Gpgcheck = 1

 

This article from the "cloud life" blog, please be sure to keep this source http://ovcer.blog.51cto.com/1145188/1539614

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.