Centos 6 Update Error on Virtualmin

I have been trying to update my CentOS 6 VM with a ModSSL and Apache update but it keeps failing.

It looks like something to do with libssl.so.10 - I was able to find a direct download, but I wanted to make sure it is the right version before I install it
http://pkgs.org/centos-6/centos-updates-i386/openssl-1.0.1e-16.el6_5.14.i686.rpm.html

Thank you

====================================================
Installing package(s) with command yum -y install httpd.x86_64 …
Loaded plugins: fastestmirror
Repository ‘epel’: Error parsing config: Error parsing “enabled = ‘0 # 1 -> 0 disable’”: invalid boolean value
Repository ‘rpmforge’: Error parsing config: Error parsing “enabled = ‘0 # 1 -> 0’”: invalid boolean value
Loading mirror speeds from cached hostfile

  • base: p3plmirror01.prod.phx3.secureserver.net
  • extras: p3plmirror01.prod.phx3.secureserver.net
  • updates: p3plmirror01.prod.phx3.secureserver.net
    Setting up Install Process
    Resolving Dependencies
    There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
    The program yum-complete-transaction is found in the yum-utils package.
    –> Running transaction check
    —> Package httpd.x86_64 1:2.2.15-29.el6.vm.1 will be updated
    –> Processing Dependency: httpd = 1:2.2.15-29.el6.vm.1 for package: 2:mod_ssl-2.2.15-29.el6.vm.1.x86_64
    —> Package httpd.x86_64 1:2.2.15-31.el6.centos.vm will be an update
    –> Processing Dependency: httpd-tools = 1:2.2.15-31.el6.centos.vm for package: 1:httpd-2.2.15-31.el6.centos.vm.x86_64
    –> Running transaction check
    —> Package httpd-tools.x86_64 1:2.2.15-29.el6.vm.1 will be updated
    —> Package httpd-tools.x86_64 1:2.2.15-31.el6.centos.vm will be an update
    –> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64
    —> Package mod_ssl.x86_64 2:2.2.15-29.el6.vm.1 will be updated
    —> Package mod_ssl.x86_64 2:2.2.15-31.el6.centos.vm will be an update
    –> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Finished Dependency Resolution
    Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libssl.so.10(libssl.so.10)(64bit)
    Error: Package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libssl.so.10(libssl.so.10)(64bit)
    Error: Package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
    Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
    Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    … install failed!

Now updating mod_ssl …
Installing package(s) with command yum -y install mod_ssl.x86_64 …
Loaded plugins: fastestmirror
Repository ‘epel’: Error parsing config: Error parsing “enabled = ‘0 # 1 -> 0 disable’”: invalid boolean value
Repository ‘rpmforge’: Error parsing config: Error parsing “enabled = ‘0 # 1 -> 0’”: invalid boolean value
Loading mirror speeds from cached hostfile

  • base: p3plmirror01.prod.phx3.secureserver.net
  • extras: p3plmirror01.prod.phx3.secureserver.net
  • updates: p3plmirror01.prod.phx3.secureserver.net
    Setting up Install Process
    Resolving Dependencies
    There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
    The program yum-complete-transaction is found in the yum-utils package.
    –> Running transaction check
    —> Package mod_ssl.x86_64 2:2.2.15-29.el6.vm.1 will be updated
    —> Package mod_ssl.x86_64 2:2.2.15-31.el6.centos.vm will be an update
    –> Processing Dependency: httpd = 1:2.2.15-31.el6.centos.vm for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Running transaction check
    —> Package httpd.x86_64 1:2.2.15-29.el6.vm.1 will be updated
    —> Package httpd.x86_64 1:2.2.15-31.el6.centos.vm will be an update
    –> Processing Dependency: httpd-tools = 1:2.2.15-31.el6.centos.vm for package: 1:httpd-2.2.15-31.el6.centos.vm.x86_64
    —> Package mod_ssl.x86_64 2:2.2.15-31.el6.centos.vm will be an update
    –> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Running transaction check
    —> Package httpd-tools.x86_64 1:2.2.15-29.el6.vm.1 will be updated
    —> Package httpd-tools.x86_64 1:2.2.15-31.el6.centos.vm will be an update
    –> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64
    —> Package mod_ssl.x86_64 2:2.2.15-31.el6.centos.vm will be an update
    –> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64
    –> Finished Dependency Resolution
    Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libssl.so.10(libssl.so.10)(64bit)
    Error: Package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libssl.so.10(libssl.so.10)(64bit)
    Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit)
    Error: Package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
    Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin)
    Requires: libcrypto.so.10(libcrypto.so.10)(64bit)
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    … install failed!

Howdy,

It looks like you have some third party repositories enabled which are causing some problems.

At a glance I see the EPEL and Remi repositories, but there may be others as well.

My recommendation is to disable any third party repositories, and then to try the update again.

-Eric

Hi Eric,

Thank you for the quick response.

I edited both the EPEL and Remi conf files and set enabled=0

I then ran a
$yum clean all

Here is what is in the /etc/yum.repos.d/

-rw-r--r-- 1 root root 2.5K Apr 9 2014 CentOS-Base.repo -rw-r--r-- 1 root root 1.9K Feb 25 2013 CentOS-Base.repoe -rw-r--r-- 1 root root 638 Feb 25 2013 CentOS-Debuginfo.repo -rw-r--r-- 1 root root 630 Feb 25 2013 CentOS-Media.repo -rw-r--r-- 1 root root 3.6K Feb 25 2013 CentOS-Vault.repo -rw-r--r-- 1 root root 1.1K Nov 4 2012 epel-testing.repo -rw-r--r-- 1 root root 957 Oct 27 19:20 epel.repo -rw-r--r-- 1 root root 739 Mar 20 2013 mirrors-rpmforge -rw-r--r-- 1 root root 717 Mar 20 2013 mirrors-rpmforge-extras -rw-r--r-- 1 root root 728 Mar 20 2013 mirrors-rpmforge-testing -rw-r--r-- 1 root root 2.3K Mar 1 2014 remi.repo -rw-r--r-- 1 root root 1.2K Oct 27 19:17 rpmforge.repo -rwsr-s--- 1 root root 471 Jun 2 2011 virtualmin.repo

(the virtualmin file has a red outline on it - I’m using Putty SSH)

Any thoughts on which ones to remove?

Thank you

Howdy,

I would remove any that are non-standard… that includes epel-testing, epel, mirrors-rpmforge, mirrors-rpmforge-extras, mirrors-rpmforge-testing, remi, and rpmforge.

After removing all those, try running a “yum update” again and see if that works properly.

If not, paste in the error you receive and we can look deeper into what’s going on… it may be that some packages from one of those third party repos is already installed and causing dependency problems though.

-Eric

Hi Eric,

I removed the non-standard packages as you suggeted. Here is what we have left

yum.repos.d]#ls
CentOS-Base.repo CentOS-Base.repoe CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo virtualmin.repo

Before I removed them, I ran

$yum repolist Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: p3plmirror01.prod.phx3.secureserver.net * extras: p3plmirror01.prod.phx3.secureserver.net * updates: p3plmirror01.prod.phx3.secureserver.net repo id repo name status base CentOS-6 - Base 6381 extras CentOS-6 - Extras 13 updates CentOS-6 - Updates 1336 virtualmin RHEL/CentOS/Scientific 6 - x86_64 - Virtualmin 112 virtualmin-universal Virtualmin Distribution Neutral Packages 199

The other non-standard packages were not enabled.

Then I ran the update command and here is the output:

$yum update Loaded plugins: fastestmirror Determining fastest mirrors * base: p3plmirror01.prod.phx3.secureserver.net * extras: p3plmirror01.prod.phx3.secureserver.net * updates: p3plmirror01.prod.phx3.secureserver.net base | 3.7 kB 00:00 base/primary_db | 4.4 MB 00:00 extras | 3.4 kB 00:00 extras/primary_db | 18 kB 00:00 updates | 3.4 kB 00:00 updates/primary_db | 4.5 MB 00:00 virtualmin | 1.2 kB 00:00 virtualmin/primary | 33 kB 00:00 virtualmin-universal | 1.2 kB 00:00 virtualmin-universal/primary | 23 kB 00:00 virtualmin-universal 199/199 Setting up Update Process Resolving Dependencies There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them. --> Running transaction check ---> Package httpd.x86_64 1:2.2.15-29.el6.vm.1 will be updated ---> Package httpd.x86_64 1:2.2.15-31.el6.centos.vm will be an update ---> Package httpd-tools.x86_64 1:2.2.15-29.el6.vm.1 will be updated ---> Package httpd-tools.x86_64 1:2.2.15-31.el6.centos.vm will be an update --> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 --> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 ---> Package mod_ssl.x86_64 2:2.2.15-29.el6.vm.1 will be updated ---> Package mod_ssl.x86_64 2:2.2.15-31.el6.centos.vm will be an update --> Processing Dependency: libssl.so.10(libssl.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 --> Processing Dependency: libcrypto.so.10(OPENSSL_1.0.1)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 --> Processing Dependency: libcrypto.so.10(libcrypto.so.10)(64bit) for package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 --> Finished Dependency Resolution Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin) Requires: libssl.so.10(libssl.so.10)(64bit) Error: Package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 (virtualmin) Requires: libssl.so.10(libssl.so.10)(64bit) Error: Package: 1:httpd-tools-2.2.15-31.el6.centos.vm.x86_64 (virtualmin) Requires: libcrypto.so.10(libcrypto.so.10)(64bit) Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin) Requires: libcrypto.so.10(libcrypto.so.10)(64bit) Error: Package: 2:mod_ssl-2.2.15-31.el6.centos.vm.x86_64 (virtualmin) Requires: libcrypto.so.10(OPENSSL_1.0.1)(64bit) You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

Thank you

Howdy,

Hmm, what is the output of these commands:

rpm -qa | grep httpd rpm -qa | grep ssl uname -a

$rpm -qa | grep httpd

httpd-2.2.15-29.el6.vm.1.x86_64
httpd-tools-2.2.15-29.el6.vm.1.x86_64


mod_ssl-2.2.15-29.el6.vm.1.x86_64
openssl-devel-1.0.0-27.el6_4.2.x86_64
openssl-1.0.0-27.el6_4.2.x86_64


Linux ip-address.ip.secureserver.net 2.6.18-028stab107.1 #1 SMP Wed Apr 17 19:10:55 MSD 2013 x86_64 x86_64 x86_64 GNU/Linux