Problems installing Virtualmin on Ubuntu 12.04 LTS on VPS.

I used the normal install.sh installer but have a raft of issues:

INFO - Installing Virtualmin and all related packages now using the command: INFO - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base ...in progress, please wait... .E: Unable to locate package virtualmin-base

/usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base failed. Error (if any): 0

Displaying the last 15 lines of /root/virtualmin-install.log to help troubleshoot this problem:
Need to get 1484 B of archives.
After this operation, 29.7 kB of additional disk space will be used.
Get:1 http://de.archive.ubuntu.com/ubuntu/ precise/main apache2 amd64 2.2.22-1ubuntu1 [1484 B]
Fetched 1484 B in 0s (25.0 kB/s)
Selecting previously unselected package apache2.
(Reading database … 83379 files and directories currently installed.)
Unpacking apache2 (from …/apache2_2.2.22-1ubuntu1_amd64.deb) …
Setting up apache2 (2.2.22-1ubuntu1) …
INFO - 2012-07-30 15:32:58 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip libfcgi-dev bind9 spamassassin spamc procmail libnet-ssleay-perl libpg-perl libdbd-pg-perl libdbd-mysql-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common postgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd libcrypt-ssleay-perl awstats clamav-base clamav-daemon clamav clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid apache2-suexec-custom scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin php-pear php5 php5-cgi libgd2-xpm libapache2-mod-php5 php5-mysql: Succeeded.
INFO - 2012-07-30 15:32:58 - Succeeded.
INFO - 2012-07-30 15:32:58 - Installing Virtualmin and all related packages now using the command:
INFO - 2012-07-30 15:32:58 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base
Reading package lists…
Building dependency tree…
Reading state information…
WARN - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - http://www.virtualmin.com/os-support

FATAL - Fatal Error Occurred: Installation failed: 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

Im not sure, all I can say at the moment is that I succesfully installed virtualmin on a ubuntu 12.04LTS yesterday morning.
The ubuntu was initially installed as a desktop though in a VMWare instance.

Yeah, it really should work, using either a server or desktop installation.

You could always try re-downloading the install.sh script, just to make sure it didn’t somehow get corrupted.

If that doesn’t help, could you attach your full /root/virtualmin-install.log file? That might show some additional info that would assist in debugging.

Thanks!

-Eric

l-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common postgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd libcrypt-ssleay-perl awstats clamav-base clamav-daemon clamav clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid apache2-suexec-custom scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin php-pear php5 php5-cgi libgd2-xpm libapache2-mod-php5 php5-mysql: Succeeded. INFO - 2012-07-30 14:55:51 - Succeeded. INFO - 2012-07-30 14:55:51 - Installing Virtualmin and all related packages now using the command: INFO - 2012-07-30 14:55:51 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base Reading package lists... Building dependency tree... Reading state information... Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation:

The following packages have unmet dependencies:
virtualmin-base : Depends: usermin-virtual-server-theme but it is not installable
Depends: webmin-security-updates but it is not installable
Depends: webmin-virtual-server but it is not installable
Depends: webmin-virtual-server-theme but it is not installable
Depends: webmin-virtualmin-awstats but it is not installable
Depends: webmin-virtualmin-htpasswd but it is not installable
Depends: webmin-virtualmin-mailman but it is not installable
WARN - 2012-07-30 14:55:53 - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - 2012-07-30 14:55:53 - http://www.virtualmin.com/os-support
FATAL - 2012-07-30 14:55:53 - Fatal Error Occurred: Installation failed: 0
FATAL - 2012-07-30 14:55:53 - Cannot continue installation.
FATAL - 2012-07-30 14:55:53 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2012-07-30 14:55:53 - re-attempted after any problems have been resolved.
FATAL - 2012-07-30 14:55:53 - Removing temporary directory and files.
FATAL - 2012-07-30 14:55:53 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2012-07-30 14:55:53 - in /root/virtualmin-install.log
INFO - 2012-07-31 01:43:58 - Started installation log in /root/virtualmin-install.log
DEBUG - 2012-07-31 01:43:58 - Install mode: full
DEBUG - 2012-07-31 01:43:58 - Product: Virtualmin GPL
DEBUG - 2012-07-31 01:43:58 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2012-07-31 01:43:58 - install.sh version: 1.0.9
INFO - 2012-07-31 01:43:58 - Checking for fully qualified hostname…
INFO - 2012-07-31 01:43:59 - Hostname is not fully qualified.
INFO - 2012-07-31 01:44:09 - Hostname OK: fully qualified as emea.netnic.ca
INFO - 2012-07-31 01:44:09 - Unable to determine IP address of primary interface.
INFO - 2012-07-31 01:44:12 - Primary address detected as 127.0.0.1
INFO - 2012-07-31 01:44:12 - Entry for IP 127.0.0.1 exists in /etc/hosts.
INFO - 2012-07-31 01:44:12 - Updating with new hostname.
INFO - 2012-07-31 01:44:12 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2012-07-31 01:44:12 - Loading OS selection library…
INFO - 2012-07-31 01:44:58 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2012-07-31 01:44:58 - Loading OS list…
INFO - 2012-07-31 01:44:59 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2012-07-31 01:44:59 - Operating system name: Ubuntu Linux
INFO - 2012-07-31 01:44:59 - Operating system version: 12.04
INFO - 2012-07-31 01:44:59 - Configuring package manager for Ubuntu Linux 12.04…
INFO - 2012-07-31 01:44:59 - Enabling universe repositories, if not already available…
INFO - 2012-07-31 01:44:59 - Disabling cdrom repositories…
INFO - 2012-07-31 01:45:20 - Cleaning up apt headers and packages, so we can start fresh…
INFO - 2012-07-31 01:45:20 -
INFO - 2012-07-31 01:45:21 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - 2012-07-31 01:45:21 - Installing Webmin and Virtualmin package signing keys…
INFO - 2012-07-31 01:45:44 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - 2012-07-31 01:45:44 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - 2012-07-31 01:45:44 - OK
INFO - 2012-07-31 01:45:45 - OK
INFO - 2012-07-31 01:46:07 - Ign
INFO - 2012-07-31 01:46:07 - Removing Debian standard Webmin package, if they exist…
INFO - 2012-07-31 01:46:07 - Removing Debian apache packages…
DEBUG - 2012-07-31 01:46:19 - Reading
INFO - 2012-07-31 01:46:19 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip libfcgi-dev bind9 spamassassin spamc procmail libnet-ssleay-perl libpg-perl libdbd-pg-perl libdbd-mysql-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common postgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd libcrypt-ssleay-perl awstats clamav-base clamav-daemon clamav clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid apache2-suexec-custom scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin php-pear php5 php5-cgi libgd2-xpm libapache2-mod-php5 php5-mysql
Reading package lists…
Building dependency tree…
Reading state information…
apache2-doc is already the newest version.
awstats is already the newest version.
iptables is already the newest version.
libdbd-mysql-perl is already the newest version.
libgd2-xpm is already the newest version.
libnet-ssleay-perl is already the newest version.
libxml-simple-perl is already the newest version.
postgresql is already the newest version.
postgresql-client is already the newest version.
procmail is already the newest version.
python is already the newest version.
quota is already the newest version.
ruby is already the newest version.
spamassassin is already the newest version.
spamc is already the newest version.
subversion is already the newest version.
unzip is already the newest version.
zip is already the newest version.
apache2-suexec-custom is already the newest version.
libapache2-mod-fcgid is already the newest version.
libapache2-mod-ruby is already the newest version.
libapache2-svn is already the newest version.
libcrypt-ssleay-perl is already the newest version.
libdbd-pg-perl is already the newest version.
libfcgi-dev is already the newest version.
libpg-perl is already the newest version.
proftpd-basic is already the newest version.
ri is already the newest version.
webalizer is already the newest version.
bind9 is already the newest version.
clamav is already the newest version.
clamav-base is already the newest version.
clamav-daemon is already the newest version.
clamav-docs is already the newest version.
clamav-freshclam is already the newest version.
dovecot-imapd is already the newest version.
dovecot-pop3d is already the newest version.
libapache2-mod-php5 is already the newest version.
libsasl2-2 is already the newest version.
libsasl2-modules is already the newest version.
mailman is already the newest version.
mysql-client is already the newest version.
mysql-common is already the newest version.
mysql-server is already the newest version.
openssl is already the newest version.
php-pear is already the newest version.
php5 is already the newest version.
php5-cgi is already the newest version.
php5-mysql is already the newest version.
postfix is already the newest version.
postfix-pcre is already the newest version.
sasl2-bin is already the newest version.
clamav-testfiles is already the newest version.
dovecot-common is already the newest version.
usermin is already the newest version.
webmin is already the newest version.
scponly is already the newest version.
The following NEW packages will be installed:
apache2
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 1484 B of archives.
After this operation, 29.7 kB of additional disk space will be used.
Get:1 http://de.archive.ubuntu.com/ubuntu/ precise/main apache2 amd64 2.2.22-1ubuntu1 [1484 B]
Fetched 1484 B in 0s (19.0 kB/s)
Selecting previously unselected package apache2.
(Reading database … 88825 files and directories currently installed.)
Unpacking apache2 (from …/apache2_2.2.22-1ubuntu1_amd64.deb) …
Setting up apache2 (2.2.22-1ubuntu1) …
INFO - 2012-07-31 01:46:25 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl unzip zip libfcgi-dev bind9 spamassassin spamc procmail libnet-ssleay-perl libpg-perl libdbd-pg-perl libdbd-mysql-perl quota iptables openssl python mailman subversion ruby irb rdoc ri mysql-server mysql-client mysql-common postgresql postgresql-client awstats webalizer dovecot-common dovecot-imapd dovecot-pop3d proftpd libcrypt-ssleay-perl awstats clamav-base clamav-daemon clamav clamav-freshclam clamav-docs clamav-testfiles libapache2-mod-fcgid apache2-suexec-custom scponly apache2 apache2-doc libapache2-svn libsasl2-2 libsasl2-modules sasl2-bin php-pear php5 php5-cgi libgd2-xpm libapache2-mod-php5 php5-mysql: Succeeded.
INFO - 2012-07-31 01:46:25 - Succeeded.
INFO - 2012-07-31 01:46:25 - Installing Virtualmin and all related packages now using the command:
INFO - 2012-07-31 01:46:25 - /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install virtualmin-base
Reading package lists…
Building dependency tree…
Reading state information…
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
virtualmin-base : Depends: usermin-virtual-server-theme but it is not installable
Depends: webmin-security-updates but it is not installable
Depends: webmin-virtual-server but it is not installable
Depends: webmin-virtual-server-theme but it is not installable
Depends: webmin-virtualmin-awstats but it is not installable
Depends: webmin-virtualmin-htpasswd but it is not installable
Depends: webmin-virtualmin-mailman but it is not installable
WARN - 2012-07-31 01:46:26 - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - 2012-07-31 01:46:26 - http://www.virtualmin.com/os-support
FATAL - 2012-07-31 01:46:27 - Fatal Error Occurred: Installation failed: 0
FATAL - 2012-07-31 01:46:27 - Cannot continue installation.
FATAL - 2012-07-31 01:46:27 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2012-07-31 01:46:27 - re-attempted after any problems have been resolved.
FATAL - 2012-07-31 01:46:27 - Removing temporary directory and files.
FATAL - 2012-07-31 01:46:27 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2012-07-31 01:46:27 - in /root/virtualmin-install.log

Hmm, that’s a bit odd! Something definitely isn’t working as expected, but I’m not quite sure what yet.

What is the output of this command:

cat /etc/apt/sources.list

Sadly, I cannot say because I have done three re-installs since then, and now I do not even have 12.04 running.

I must move off the existing servers within the next 24 hours, and still do not have ANYTHING working yet. This makes me sick.

What would be correct entries for Virtualmin in /etc/apt/sources.list?