Search My Techie Guy

Monday, September 4, 2017

Transaction Check Error: from install of openssl-x conflicts with file from package openssl-x during Yum Update OpenSSL

Summary: 

Transaction Check Error: from install of openssl-x conflicts with file from package openssl-x while trying to update OpenSSL using command "yum update openssl"

Check the current version of openssl installed!
# openssl version -a
OpenSSL 1.0.1e 11 Feb 2013
built on: Tue Mar 19 19:06:59 EDT 2013
platform: linux-x86_64



 Problem or Goal:


 Transaction Check Error:
  file /usr/lib64/libcrypto.so.1.0.1e from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/libssl.so.1.0.1e from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/lib4758cca.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libaep.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libatalla.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libcapi.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libchil.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libcswift.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libgmp.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libnuron.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libpadlock.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libsureware.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64
  file /usr/lib64/openssl/engines/libubsec.so from install of openssl-1.0.1e-57.el6.x86_64 conflicts with file from package openssl10-libs-1.0.1e-1.ius.centos6.x86_64


Cause:

There is a package openssl10-libs conflicting with openssl-1

Solution: 

To resolve this, i removed all the openssl packages installed on my system and installed openssl afresh using the commands below:

First, to check which packages of openssl are installed on your system, run this:


# rpm -qa | grep openssl
openssl-1.0.0-25.el6_3.1.x86_64
openssl10-libs-1.0.1e-1.ius.centos6.x86_64


Remove the listed packages one by one
# rpm -e --justdb --nodeps openssl-1.0.0-25.el6_3.1.x86_64
# rpm -e --justdb --nodeps openssl10-libs-1.0.1e-1.ius.centos6.x86_64

Re-Install OpenSSL afresh


# yum install openssl
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.centos.org
 * epel: mirrors.coreix.net
 * extras: mirrors.coreix.net
 * updates: mirrors.coreix.net
Resolving Dependencies
--> Running transaction check
---> Package openssl.x86_64 0:1.0.1e-57.el6 will be installed
--> Processing Dependency: make for package: openssl-1.0.1e-57.el6.x86_64
--> Running transaction check
---> Package make.x86_64 1:3.81-23.el6 will be installed
--> Finished Dependency Resolution

Installed:
  openssl.x86_64 0:1.0.1e-57.el6                                                                                                                                                               

Dependency Installed:
  make.x86_64 1:3.81-23.el6                                                                                                                                                          

Complete!

Problem Solved?

Check new version of openssl that has been installed


# openssl version -a
OpenSSL 1.0.1e-fips 11 Feb 2013
built on: Wed Mar 22 21:43:28 UTC 2017
platform: linux-x86_64


Also the "yum update openssl" command works fine, but of course i just finished installing a fresh copy of openssl so no updates will be found

# yum update openssl
Loaded plugins: fastestmirror
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: mirror.centos.org
 * epel: mirrors.coreix.net
 * extras: mirrors.coreix.net
 * updates: mirrors.coreix.net
No Packages marked for Update



No comments: