I recently run into an error while recompiling Apache for a VPS and it was saying something about yum not working properly on the server and directing me to a cPanel suport page. Weird.
I looked into easyapache log and tried to execute the yum command manually, and then the error was revealed like an overgrilled sausage:
Transaction Check Error: package openssl-0.9.8e-20.el5_7.1.i686 is already installed file /lib/.libcrypto.so.0.9.8e.hmac from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /lib/.libssl.so.0.9.8e.hmac from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /lib/libcrypto.so.0.9.8e from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /lib/libssl.so.0.9.8e from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/bin/openssl from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/lib/openssl/engines/lib4758cca.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/lib/openssl/engines/libaep.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/lib/openssl/engines/libatalla.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/lib/openssl/engines/libchil.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/lib/openssl/engines/libcswift.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/lib/openssl/engines/libnuron.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/lib/openssl/engines/libsureware.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/lib/openssl/engines/libubsec.so from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/share/man/man1/ca.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/share/man/man1/req.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386 file /usr/share/man/man1/x509.1ssl.gz from install of openssl-0.9.8e-20.el5_7.1.i686 conflicts with file from package openssl-0.9.8e-20.el5_7.1.i386
So after a bit of OMFG-ing I managed to find the cause which seems to be something messed up in the CentOS repository.
Anyway, the solution for excluding this sausage explodin error is running the following commands:
rpm -e –justdb –nodeps openssl.i386
And to be sure that openssl installs smoothly:
yum install openssl
After this, recompiling Apache should be as easy as EasyApache in a normal sunny day 🙂