install failure on SL 6.1 x_86 (OpenVZ template on SolusVM)

This is a fresh install of SL 6.1 x_86 OpenVZ template on SolusVM using the latest available template from OpenVZ

VMPro Installs on this same box on Centos 6 and SL 5 are completing correctly, but I wish to test SL 6 on my backup VPS before deciding to use it on a dedicated box.

Checking for HTTP client...found /usr/bin/curl -s -O
Checking for perl...found /usr/bin/perl
Loading log4sh logging library...
INFO - Started installation log in /root/virtualmin-install.log
INFO - Checking for fully qualified hostname...
INFO - Hostname OK: fully qualified as vm4.vacantserver.net
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library...
INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - Loading OS list...
INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - Operating system name:    Scientific Linux
INFO - Operating system version: 6.1
INFO - Configuring package manager for Scientific Linux 6.1...
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-dawson: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-beta: key 2 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-former: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-release: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-legacy-rhx: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release: key 2 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-sl: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-sl3: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-sl4: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-sl5: key 1 import failed.
error: /etc/pki/rpm-gpg/RPM-GPG-KEY-sl6: key 1 import failed.
INFO - Download of http://5555643:7PYNPRXVZNX@software.virtualmin.com/rhel/6.1/x86_64/virtualmin-release-latest.noarch.rpm Succeeded.
INFO -  Succeeded.
INFO - Installing dependencies using command: /usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay
...in progress, please wait...
|Error: Package: zlib-devel-1.2.3-25.el6.x86_64 (sl)
           Requires: zlib = 1.2.3-25.el6
           Installed: zlib-1.2.3-26.el6.i686 (installed)
               zlib = 1.2.3-26.el6
           Available: zlib-1.2.3-25.el6.i686 (sl)
               zlib = 1.2.3-25.el6
/usr/bin/yum -y -d 2 install bind bind-utils caching-nameserver httpd postfix bind spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-domxl php-gd php-imap php-mysql php-odbc php-pear php-pgsql php-snmp php-xmlrpc php-mbstring mod_perl mod_python cyrus-sasl dovecot spamassassin mod_dav_svn cyrus-sasl-gssapi mod_ssl ruby ruby-devel rubygems perl-XML-Simple perl-Crypt-SSLeay failed.  Error (if any): 0

Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
---> Package perl-Digest-SHA1.x86_64 0:2.12-2.el6 will be installed
---> Package perl-ExtUtils-ParseXS.x86_64 1:2.2003.0-119.el6 will be installed
---> Package perl-IO-Compress-Base.x86_64 0:2.020-119.el6 will be installed
---> Package perl-IO-Compress-Zlib.x86_64 0:2.020-119.el6 will be installed
---> Package perl-TimeDate.noarch 1:1.16-11.1.el6 will be installed
---> Package zlib-devel.x86_64 0:1.2.3-25.el6 will be installed
--> Processing Dependency: zlib = 1.2.3-25.el6 for package: zlib-devel-1.2.3-25.el6.x86_64
--> Running transaction check
---> Package keyutils-libs.i686 0:1.4-1.el6 will be installed
---> Package libsepol-devel.x86_64 0:2.0.41-3.el6 will be installed
---> Package zlib-devel.x86_64 0:1.2.3-25.el6 will be installed
--> Processing Dependency: zlib = 1.2.3-25.el6 for package: zlib-devel-1.2.3-25.el6.x86_64
--> Finished Dependency Resolution
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

FATAL - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - Cannot continue installation.
FATAL - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - re-attempted after any problems have been resolved.
warning: /etc/yum.repos.d/virtualmin.repo saved as /etc/yum.repos.d/virtualmin.repo.rpmsave
FATAL - Removing temporary directory and files.
FATAL - If you are unsure of what went wrong, you may wish to review the log
FATAL - in /root/virtualmin-install.log
Status: 
Closed (fixed)

Comments

It looks like there's a 64bit version of the zlib-devel package installed, but the installed version of zlib is 32 bit.

That appears to be causing a conflict during the installation.

What I would try is running this command:

rpm -e zlib zlib-devel

And then after that, try the Virtualmin installation again, and see if that works.

update: was able to complete installation by adding EPEL repo:

# rpm --import https://fedoraproject.org/static/0608B895.txt;
rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm

and downgrading openssl to 1.0.0-10.el6 was (0:1.0.0-10.el6_1.4)& zlib to 0:1.2.3-25.el6 (was 0:1.2.3-26.el6): # yum downgrade openssl zlib

Seems there were several i686 packages that should have been x_64 packages, so for those of you attempting to install on OpenVZ Scientific Linux 6 template, you need to # yum downgrade openssl zlib openldap prior to running virtualmin installer script