install.sh fails on a CentOS 7

Trying to install virtualmin using install script.

Is there an extra command line argument to deal with the dependency problem on this machine?

tail virtualmin-install.log --> Finished Dependency Resolution You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest FATAL - 2016-03-29 07:54:38 - Fatal Error Occurred: Something went wrong during installation: 0 FATAL - 2016-03-29 07:54:38 - Cannot continue installation. FATAL - 2016-03-29 07:54:38 - Attempting to remove virtualmin repository configuration, so the installation can be FATAL - 2016-03-29 07:54:38 - re-attempted after any problems have been resolved. FATAL - 2016-03-29 07:54:38 - Removing temporary directory and files. FATAL - 2016-03-29 07:54:38 - If you are unsure of what went wrong, you may wish to review the log FATAL - 2016-03-29 07:54:38 - in /root/virtualmin-install.log

Please find the complete error log attached herewith.

Appreciate any help....

Status: 
Active

Comments

Howdy -- hmm, it looks like there are some non-standard repositories enabled, with some packages that the install script isn't expecting to see there. That may be generating some dependency problems.

However, just to get a better view of what exactly the issue is, what output do you receive if you run this command:

yum install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel mariadb mariadb-server postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml 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 mlocate perl-LWP-Protocol-https

bislinks's picture
Submitted by bislinks on Tue, 03/29/2016 - 09:39 Pro Licensee

[root@hl ~]# yum install bind bind-utils caching-nameserver httpd postfix spamassassin procmail perl-DBD-Pg perl-DBD-MySQL quota iptables openssl python mailman subversion mysql mysql-server mysql-devel mariadb mariadb-server postgresql postgresql-server rh-postgresql rh-postgresql-server logrotate webalizer php php-xml 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 mlocate perl-LWP-Protocol-https Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.raystedman.net * epel: mirror.oss.ou.edu * extras: ftp.osuosl.org * nux-dextop: mirror.li.nux.ro * updates: mirror.hmc.edu Package 32:bind-9.9.4-29.el7_2.3.x86_64 already installed and latest version Package 32:bind-utils-9.9.4-29.el7_2.3.x86_64 already installed and latest version Package 32:bind-9.9.4-29.el7_2.3.x86_64 already installed and latest version Package httpd-2.4.6-40.el7.centos.x86_64 already installed and latest version Package 2:postfix-2.10.1-6.el7.x86_64 already installed and latest version Package spamassassin-3.4.0-2.el7.x86_64 already installed and latest version Package procmail-3.22-35.el7.x86_64 already installed and latest version Package perl-DBD-Pg-2.19.3-4.el7.x86_64 already installed and latest version Package perl-DBD-MySQL-4.023-5.el7.x86_64 already installed and latest version Package 1:quota-4.01-11.el7.x86_64 already installed and latest version Package iptables-1.4.21-16.el7.x86_64 already installed and latest version Package 1:openssl-1.0.1e-51.el7_2.4.x86_64 already installed and latest version Package python-2.7.5-34.el7.x86_64 already installed and latest version Package subversion-1.7.14-10.el7.x86_64 already installed and latest version Package mariadb is obsoleted by mysql-community-client, trying to install mysql-community-client-5.6.29-2.el7.x86_64 instead Package mariadb-server is obsoleted by mysql-community-server, trying to install mysql-community-server-5.6.29-2.el7.x86_64 instead Package postgresql-9.2.15-1.el7_2.x86_64 already installed and latest version Package postgresql-server-9.2.15-1.el7_2.x86_64 already installed and latest version No package rh-postgresql available. No package rh-postgresql-server available. Package logrotate-3.8.6-7.el7_2.x86_64 already installed and latest version No package webalizer available. Package php-5.4.16-36.el7_1.x86_64 already installed and latest version Package php-mysql-5.4.16-36.el7_1.x86_64 already installed and latest version Package mod_perl-2.0.8-10.20140624svn1602105.el7.x86_64 already installed and latest version No package mod_python available. Package cyrus-sasl-2.1.26-20.el7_2.x86_64 already installed and latest version Package 1:dovecot-2.2.10-5.el7.x86_64 already installed and latest version Package spamassassin-3.4.0-2.el7.x86_64 already installed and latest version Package cyrus-sasl-gssapi-2.1.26-20.el7_2.x86_64 already installed and latest version Package 1:mod_ssl-2.4.6-40.el7.centos.x86_64 already installed and latest version Package ruby-2.0.0.598-25.el7_1.x86_64 already installed and latest version Package rubygems-2.0.14-25.el7_1.noarch already installed and latest version Package perl-XML-Simple-2.20-5.el7.noarch already installed and latest version Package perl-Crypt-SSLeay-0.64-5.el7.x86_64 already installed and latest version Package mlocate-0.26-5.el7.x86_64 already installed and latest version Package perl-LWP-Protocol-https-6.04-4.el7.noarch already installed and latest version Resolving Dependencies --> Running transaction check ---> Package mailman.x86_64 3:2.1.15-21.el7_1 will be installed ---> Package mariadb.x86_64 1:5.5.44-2.el7.centos will be obsoleted --> Processing Dependency: mariadb >= 5 for package: mythtv-0.27.4-1.1.el7.nux.x86_64 ---> Package mariadb-devel.x86_64 1:5.5.44-2.el7.centos will be obsoleted ---> Package mariadb-server.x86_64 1:5.5.44-2.el7.centos will be obsoleted --> Processing Dependency: mariadb-server >= 5 for package: mythtv-0.27.4-1.1.el7.nux.x86_64 ---> Package mod_dav_svn.x86_64 0:1.7.14-10.el7 will be installed ---> Package mysql-community-client.x86_64 0:5.6.29-2.el7 will be obsoleting --> Processing Dependency: mysql-community-libs(x86-64) = 5.6.29-2.el7 for package: mysql-community-client-5.6.29-2.el7.x86_64 ---> Package mysql-community-devel.x86_64 0:5.6.29-2.el7 will be obsoleting ---> Package mysql-community-server.x86_64 0:5.6.29-2.el7 will be obsoleting --> Processing Dependency: mysql-community-common(x86-64) = 5.6.29-2.el7 for package: mysql-community-server-5.6.29-2.el7.x86_64 ---> Package php-gd.x86_64 0:5.4.16-36.el7_1 will be installed --> Processing Dependency: libt1.so.5()(64bit) for package: php-gd-5.4.16-36.el7_1.x86_64 ---> Package php-imap.x86_64 0:5.4.16-4.el7 will be installed --> Processing Dependency: libc-client.so.2007()(64bit) for package: php-imap-5.4.16-4.el7.x86_64 ---> Package php-mbstring.x86_64 0:5.4.16-36.el7_1 will be installed ---> Package php-odbc.x86_64 0:5.4.16-36.el7_1 will be installed ---> Package php-pear.noarch 1:1.9.4-21.el7 will be installed ---> Package php-pgsql.x86_64 0:5.4.16-36.el7_1 will be installed ---> Package php-snmp.x86_64 0:5.4.16-36.el7_1 will be installed --> Processing Dependency: net-snmp for package: php-snmp-5.4.16-36.el7_1.x86_64 ---> Package php-xml.x86_64 0:5.4.16-36.el7_1 will be installed ---> Package php-xmlrpc.x86_64 0:5.4.16-36.el7_1 will be installed ---> Package ruby-devel.x86_64 0:2.0.0.598-25.el7_1 will be installed --> Running transaction check ---> Package libc-client.x86_64 0:2007f-4.el7.1 will be installed ---> Package mariadb.x86_64 1:5.5.44-2.el7.centos will be obsoleted --> Processing Dependency: mariadb >= 5 for package: mythtv-0.27.4-1.1.el7.nux.x86_64 ---> Package mariadb-libs.x86_64 1:5.5.44-2.el7.centos will be obsoleted ---> Package mariadb-server.x86_64 1:5.5.44-2.el7.centos will be obsoleted --> Processing Dependency: mariadb-server >= 5 for package: mythtv-0.27.4-1.1.el7.nux.x86_64 ---> Package mysql-community-common.x86_64 0:5.6.29-2.el7 will be installed ---> Package mysql-community-libs.x86_64 0:5.6.29-2.el7 will be obsoleting ---> Package net-snmp.x86_64 1:5.7.2-24.el7 will be installed ---> Package t1lib.x86_64 0:5.1.2-14.el7 will be installed --> Finished Dependency Resolution Error: Package: mythtv-0.27.4-1.1.el7.nux.x86_64 (@nux-dextop) Requires: mariadb-server >= 5 Removing: 1:mariadb-server-5.5.44-2.el7.centos.x86_64 (@base) mariadb-server = 1:5.5.44-2.el7.centos Obsoleted By: mysql-community-server-5.6.29-2.el7.x86_64 (mysql56-community) Not found Error: Package: mythtv-0.27.4-1.1.el7.nux.x86_64 (@nux-dextop) Requires: mariadb >= 5 Removing: 1:mariadb-5.5.44-2.el7.centos.x86_64 (@base) mariadb = 1:5.5.44-2.el7.centos Obsoleted By: mysql-community-client-5.6.29-2.el7.x86_64 (mysql56-community) Not found You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest

bislinks's picture
Submitted by bislinks on Tue, 03/29/2016 - 09:45 Pro Licensee

[root@hl ~]# yum repolist enabled Loaded plugins: fastestmirror, langpacks Loading mirror speeds from cached hostfile * base: mirror.raystedman.net * epel: mirror.oss.ou.edu * extras: ftp.osuosl.org * nux-dextop: mirror.li.nux.ro * updates: dallas.tx.mirror.xygenhosting.com repo id repo name status adobe-linux-x86_64 Adobe Systems Incorporated 2 base/7/x86_64 CentOS-7 - Base 9,007 epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_64 9,697 extras/7/x86_64 CentOS-7 - Extras 228 mysql-connectors-community/x86_64 MySQL Connectors Community 21 mysql-tools-community/x86_64 MySQL Tools Community 33 mysql56-community/x86_64 MySQL 5.6 Community Server 214 nux-dextop/x86_64 Nux.Ro RPMs for general desktop use 2,402 updates/7/x86_64 CentOS-7 - Updates 991 repolist: 22,595 [root@hl ~]#

Ah, yeah it looks like the MythTV and MySQL third party packages are creating some unusual dependencies that conflict with the Virtualmin installer.

Unfortunately, it looks like you may need to choose there -- whether you with to use MythTV and the community version of MySQL on the server, or whether you wish to be able to use Virtualmin. They unfortunately don't appear to be compatible though.

Sorry!

bislinks's picture
Submitted by bislinks on Tue, 03/29/2016 - 10:04 Pro Licensee

MythTV: I was just checking it out, it did not work anyway.

I prefer to use Virtualmin repos! What should I do? should I do "yum remove mythtv mysql" or just disable those repos?

If you're able to, you might consider reinstalling CentOS. It's hard to say what packages were pulled in from the third party repositories, and any of them could cause potential issues in the future.

However, if you'd like to try it out within doing a full reinstall, what I'd suggest are disabling the third party repositories, and removing the MythTV and community MySQL packages, and then re-trying the Virtualmin installation after that.

bislinks's picture
Submitted by bislinks on Tue, 03/29/2016 - 10:27 Pro Licensee

OK, This is what I did: 1. Disabled third party repos: adobe, nux-desktop, mysql-community. 2. yum remove mythtv 3. yum remove mysql 4. ./install.sh

And watching the spinner!

bislinks's picture
Submitted by bislinks on Tue, 03/29/2016 - 10:40 Pro Licensee

The spinner stopped and the installation succeeded.

That's great, glad to hear that worked!