Yum install conflicts with files

Source: Internet
Author: User
Tags openssl openldap
Yum Update or Yum install fails with package conflict between the bit and bit package?SOLUTION verified-updated July 2014 at 4:01 Pm-english EnvironmentRed Hat Enterprise Linux 5 Red Hat Enterprise Linux 6 bit architecture bit packages installed sharing some files wit h the bit ones IssueFiles are conflicting between and bit packages, how to fix it? Yum Update or Yum install fails with package conflict between the bit and bit package. The bit package showing conflict problem with the bit package. Raw
Transaction Check Error:
file/usr/share/man/man1/ca.1ssl.gz from Install of openssl-0.9.8e-27.el5_10.3.x86_64 Conflicts with file from package openssl-0.9.8e-27.el5_10.1.i686
file/usr/share/man/man1/req.1ssl.gz from Install of openssl-0.9.8e-27.el5_10.3.x86_64 conflicts with file from package openssl-0.9.8e-27.el5_10.1.i686
file/usr/ share/man/man1/x509.1ssl.gz from install to openssl-0.9.8e-27.el5_10.3.x86_64 conflicts with file from package openssl-0 .9.8e-27.el5_10.1.i686
resolution

You can configure the Yum client to update only a package of the exact architecture installed on the system.

Perform the following steps to-remove duplicate packages (i.e. 32-bit and 64-bit packages installed on server which is Caus ing the dependency issues).

Install the Yum-utils Package:raw

# yum Install Yum-utils

The Package-cleanup--dupes lists all duplicate Packages:raw

# Package-cleanup--dupes        

The Package-cleanup--cleandupes removes the duplicates (it asks for a confirmation to remove all duplicates unless Switch is given): Raw

# Package-cleanup--cleandupes   

Edit/etc/yum.conf, set the following Line:raw

Exactarch=1

Run Yum Command:raw

# yum Clean all
# Yum update

If The conflict is only due to the fact, then Yum isn ' t trying to update the bit packages along with the bit ones, th Is would solve the conflict.

Note:if all above procedure fail, can also check your exclude content in/etc/yum.conf file. Sometimes 32Bits Packages are in the Yum blacklist and system'll prevent it to install and you'll to the Transaction Check Error. Raw

# grep-i exclude/etc/yum.conf
exclude=kernel*,*.i?86

Note 2:in case the systems cannot is connected to the Internet for security reasons, one could replace the files with the RPM Command as Follow:raw

RPM-UVH--replacefiles openssl-*.rpm
Diagnostic StepsRaw
Transaction Check error:file/usr/include/libdevmapper-event.h from install of device-mapper-1.02.67-2.el5.i386 Confli CTS with file from package device-mapper-1.02.55-2.el5.x86_64 file/usr/include/libdevmapper.h from install of Device-ma pper-1.02.67-2.el5.i386 conflicts with file from package device-mapper-1.02.55-2.el5.x86_64 file/usr/share/man/man8/ dmeventd.8.gz from install to device-mapper-1.02.67-2.el5.i386 conflicts with file from package device-mapper-1.02.55-2.el5.x86_64 file/usr/share/man/man8/dmsetup.8.gz from Install device-mapper-1.02.67-2.el5.i386 conflicts with file from package device-mapper-1.02.55-2.el5.x86_64 file/etc/ Odbcinst.ini from install to unixodbc-libs-2.2.11-10.el5.i386 conflicts with file from package unixodbc-2.2.11-7.1.x86_ File/usr/bin/passmass from install to expect-5.43.0-8.el5.i386 conflicts with file from package expect-5.43.0-5.1.x8 6_64 file/usr/share/man/man1/expect.1.gz from install of expect-5.43.0-8.el5.i386 conflicts WITh file from package expect-5.43.0-5.1.x86_64 file/etc/pki/tls/certs/makefile from install of openssl-0.9.8e-22.el5_8.3 . i686 conflicts with file from package openssl-0.9.8e-12.el5_5.7.x86_64 file/etc/pki/tls/certs/ca-bundle.crt from Insta ll of openssl-0.9.8e-22.el5_8.3.i686 conflicts with file from package openssl-0.9.8e-12.el5_5.7.x86_64 file/usr/share/m an/man1/ca.1ssl.gz from install to openssl-0.9.8e-22.el5_8.3.i686 conflicts with file from package Openssl-0.9.8e-12.el5  _5.7.x86_64 file/usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-22.el5_8.3.i686 conflicts and file from Package openssl-0.9.8e-12.el5_5.7.x86_64 file/usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-22.el5_ 8.3.i686 conflicts with file from package openssl-0.9.8e-12.el5_5.7.x86_64 file/usr/share/ghostscript/8.70/resource/ Init/gs_fonts.ps from install to ghostscript-8.70-14.el5.i386 conflicts with file from package Ghostscript-8.70-6.el5.x86_64 File/usr/share/ghostscripT/8.70/resource/init/gs_res.ps from install to ghostscript-8.70-14.el5.i386 conflicts with file from package ghostscript-8.70-6.el5.x86_64 file/usr/share/ghostscript/8.70/lib/pdfa_def.ps from Install ghostscript-8.70-14.el5.i386 conflicts with file from package ghostscript-8.70-6.el5.x86_64 file/usr/share/man/man1/  gs.1.gz from install to ghostscript-8.70-14.el5.i386 conflicts with file from package ghostscript-8.70-6.el5.x86_64 file /usr/share/man/man5/ldap.conf.5.gz from install to openldap-2.3.43-25.el5.i386 conflicts with file from package OpenLDAP
 -2.3.43-12.el5_5.3.x86_64
Product (s) Red Hat Enterprise Linux Component rpm Yum Category troubleshoot Tags rhel rpm Yum

This solution is part of Red Hat's fast-track publication program, providing a huge library of solutions, Red Hat Engi Neers have created while supporting our customers. To give your knowledge you need the instant it becomes available, this articles may is presented in a raw and unedited Form.

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.