These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Cannot Install Virtualmin - Strange Dependency Problem about /usr/libexec/webmin on the new forum.
I have followed the instructions carefully on a fresh CentOS 6.4 box. The installation keeps failing and saying the following:
** Found 2 pre-existing rpmdb problem(s), 'yum check' output follows:
wbm-virtual-server-4.02.gpl-1.noarch has missing requires of /usr/libexec/webmin
wbm-virtual-server-4.02.gpl-1.noarch has missing requires of /usr/libexec/webmin
FATAL - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - Cannot continue installation.
I have already tried "yum clean all." That does nothing.
I really have no idea what to do. Any help is appreciated. Thanks.
Howdy,
Hmm, what output do you get if you run this command:
rpm -qa | grep webmin
It returns nothing. But when I run:
rpm -qa | grep wbm
It returns:
wbm-virtual-server-4.02.gpl-1.noarch
Hrm, that's pretty odd!
Somehow, it looks like Virtualmin is installed, but without the dependency of Webmin being there.
In theory, that should never be able to happen :-)
Because of the unusual nature of what's going on, it's difficult to predict if this will work properly, but you could always start by reinstalling Webmin. You can do that by running this command as root:
yum install webmin
Once you do that, run a "yum update", make sure all the CentOS updates are applied -- and then try re-running the Virtualmin installer.
-Eric
It keeps saying "No package webmin available."
Okay, try manually pulling in Webmin from the repository here with this command:
rpm -Uvh http://software.virtualmin.com/gpl/universal/webmin-1.650-1.noarch.rpm
Once you do that, does the installer run properly?
-Eric
It's still saying a similar error:
|Error: Package: php-mysql-5.3.3-23.el6_4.x86_64 (updates)
Requires: php-common(x86-64) = 5.3.3-23.el6_4
Installed: php-common-5.4.18-1.el6.remi.x86_64 (@remi)
php-common(x86-64) = 5.4.18-1.el6.remi
Available: php-common-5.3.3-22.el6.x86_64 (base)
php-common(x86-64) = 5.3.3-22.el6
Available: php-common-5.3.3-23.el6_4.x86_64 (updates)
php-common(x86-64) = 5.3.3-23.el6_4
/usr/bin/yum -y -d 2 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 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 failed. Error (if any): 0
Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
---> Package httpd.x86_64 1:2.2.15-28.el6.vm.2 will be an update
--> Processing Dependency: httpd-tools = 1:2.2.15-28.el6.vm.2 for package: 1:httpd-2.2.15-28.el6.vm.2.x86_64
---> Package mod_python.x86_64 0:3.3.1-15.el6 will be installed
---> Package mod_ssl.x86_64 1:2.2.15-29.el6.centos will be updated
---> Package mod_ssl.x86_64 2:2.2.15-28.el6.vm.2 will be an update
---> Package php-mysql.x86_64 0:5.3.3-23.el6_4 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-23.el6_4 for package: php-mysql-5.3.3-23.el6_4.x86_64
--> Running transaction check
---> Package httpd-tools.x86_64 0:2.2.15-29.el6.centos will be updated
---> Package httpd-tools.x86_64 1:2.2.15-28.el6.vm.2 will be an update
---> Package php-mysql.x86_64 0:5.3.3-23.el6_4 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-23.el6_4 for package: php-mysql-5.3.3-23.el6_4.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.
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
Howdy,
Ahh, it looks like you're dealing with a problem of having packages from third party repositories installed.
The third party repository you have enabled is known to have conflicting packages in it... you'd want to be careful enabling it at all, but definitely prior to performing your Virtualmin installation we'd recommend always working with a fresh CentOS installation.
Is it possible to start over, but using a fresh CentOS installation (with no third party repositories enabled)?
If you're able to do that, that'd probably save you a lot of hassle.
Otherwise, I think the only way you'll be able to move forward would be to disable all the third party repositories you have enabled, and to remove any packages installed from them.
-Eric
Eric, tell Joe to put a big huge warning in big huge red letters on the Download page, saying "IF USING CENTOS, DO NOT ENABLE ANY THIRD-PARTY REPOSITORIES". ;-)
I can't count anymore how often you need to tell people that their CentOS problems are caused by third-party repositories.
Good idea Locutus, I added a mention of that to the Downloads link above (along with adding Ubuntu next to CentOS in the preferred distro list ;-), and I'll write up a FAQ entry on that shortly.
-Eric
Thanks for all of your help.
Completely fresh install of CentOS, and still cannot install properly:
-Error: Package: 1:httpd-manual-2.2.15-15.el6.vm.noarch (virtualmin)
Requires: httpd = 1:2.2.15-15.el6.vm
Removing: httpd-2.2.15-29.el6.centos.x86_64 (@updates)
httpd = 2.2.15-29.el6.centos
Updated By: 1:httpd-2.2.15-28.el6.vm.2.x86_64 (virtualmin)
httpd = 1:2.2.15-28.el6.vm.2
Available: httpd-2.2.15-15.el6.i386 (virtualmin)
httpd = 2.2.15-15.el6
Available: httpd-2.2.15-26.el6.centos.x86_64 (base)
httpd = 2.2.15-26.el6.centos
Available: httpd-2.2.15-28.el6.centos.x86_64 (updates)
httpd = 2.2.15-28.el6.centos
Available: 1:httpd-2.2.15-5.el6.vm.x86_64 (virtualmin)
httpd = 1:2.2.15-5.el6.vm
Available: 1:httpd-2.2.15-9.el6.2.vm.x86_64 (virtualmin)
httpd = 1:2.2.15-9.el6.2.vm
Available: 1:httpd-2.2.15-15.el6.x86_64 (virtualmin)
httpd = 1:2.2.15-15.el6
Available: 1:httpd-2.2.15-15.el6.vm.x86_64 (virtualmin)
httpd = 1:2.2.15-15.el6.vm
Available: 1:httpd-2.2.15-15.el6.vm.1.x86_64 (virtualmin)
httpd = 1:2.2.15-15.el6.vm.1
Available: 1:httpd-2.2.15-28.el6.vm.x86_64 (virtualmin)
httpd = 1:2.2.15-28.el6.vm
Available: 1:httpd-2.2.15-28.el6.vm.1.x86_64 (virtualmin)
httpd = 1:2.2.15-28.el6.vm.1
/usr/bin/yum -y -d 2 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 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 failed. Error (if any): 0
Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
---> Package libcom_err-devel.x86_64 0:1.41.12-14.el6_4.2 will be installed
---> Package libselinux-devel.x86_64 0:2.0.94-5.3.el6_4.1 will be installed
--> Processing Dependency: libsepol-devel >= 2.0.32-1 for package: libselinux-devel-2.0.94-5.3.el6_4.1.x86_64
--> Processing Dependency: pkgconfig(libsepol) for package: libselinux-devel-2.0.94-5.3.el6_4.1.x86_64
---> Package perl-Crypt-OpenSSL-Bignum.x86_64 0:0.04-8.1.el6 will be installed
---> Package perl-Crypt-OpenSSL-Random.x86_64 0:0.04-9.1.el6 will be installed
---> Package perl-Digest-SHA1.x86_64 0:2.12-2.el6 will be installed
---> Package perl-TimeDate.noarch 1:1.16-11.1.el6 will be installed
--> Running transaction check
---> Package httpd-manual.noarch 1:2.2.15-15.el6.vm will be an update
--> Processing Dependency: httpd = 1:2.2.15-15.el6.vm for package: 1:httpd-manual-2.2.15-15.el6.vm.noarch
---> Package libsepol-devel.x86_64 0:2.0.41-4.el6 will be installed
--> 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.
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
Argh, that's a bug in the installer that hasn't been corrected yet for some reason... to fix it, you can just remove the httpd-manual package. To do that, run this command:
rpm -e httpd-manual
After that, re-run the installer, and that should do the trick :-)
-Eric
That worked. Much thanks!