Virtualmin Ubuntu 14.04 LTS INSTALL ERROR

Hello all,
i am trying to install Virtualmin from automated script but there are some errors ,
i have installated it 2 days ago following the same instructions and the same OS but now i am getting
some errors about packages that are not found any more
How can i fix this .

the full report is below

thanks

Package scponly is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package procmail-wrapper is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

FATAL - 2014-09-05 06:21:28 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2014-09-05 06:21:28 - Cannot continue installation.
FATAL - 2014-09-05 06:21:28 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2014-09-05 06:21:28 - re-attempted after any problems have been resolved.
FATAL - 2014-09-05 06:21:28 - Removing temporary directory and files.
FATAL - 2014-09-05 06:21:28 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2014-09-05 06:21:28 - in /root/virtualmin-install.log

Ok so after looking a little to the errors i have found out that i had some missing packages that virtulamin doesn’t find any more in ubuntu repo
so i have installed them by hand . :smiley:

Fix:

sh ./install.sh

install packages :

wget http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-trusty/main/binary-amd64/scponly_4.8-4_amd64.deb

wget http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-trusty/main/binary-amd64/procmail-wrapper_1.0-2_amd64.deb

wget http://cz.archive.ubuntu.com/ubuntu/pool/main/libg/libgd2/libgd2-xpm_2.0.36~rc1~dfsg-3.1ubuntu1_amd64.deb

dpkg -i procmail-wrapper_1.0-2_amd64.deb

dpkg -i scponly_4.8-4_amd64.deb

apt-get install libjpeg62

dpkg -i libgd2-xpm_2.0.36~rc1~dfsg-3.1ubuntu1_amd64.deb

sh ./install.sh

Howdy,

The issue with installing virtualmin-base should now be resolved. There was a repository metadata problem that was causing it to try and install an incorrect version.

It should be working properly now, and it should no longer depend on any of the packages that were previously causing an error.

Let us know if you see any other issues… thanks!

-Eric

Copy of the log is below, there are two sections with errors:

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: libsasl2 but it is not installable
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

and:

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 correct problems, you have held broken packages.

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

Is there an issue in the repository again?

Thanks - Jon

Welcome to the Virtualmin GPL installer, version 1.1.1

WARNING:

The installation is quite stable and functional when run on a freshly
installed supported Operating System.

If you have existing websites, email users, or if you manually installed
Virtualmin via a Webmin ‘wbm’ module, you are likely to run into problems.
Please read the Virtualmin Administrators Guide before proceeding if
your system is not a freshly installed and supported OS.

This script is not intended to update your system! It should only be
used to perform your initial Virtualmin installation. If you have previously
run the Virtualmin installer, you can perform upgrades and updates from within
Virtualmin itself, or using your system’s package manager. Once Virtualmin is
installed, you never need to run this script again.

The systems currently supported by install.sh are:
CentOS and RHEL 5-6 on i386 and x86_64
Scientific Linux 6 on i386 and x86_64
Debian 6.0 and 7.0 on i386 and amd64
Ubuntu 10.04 LTS, 12.04 LTS, and 14.04 LTS on i386 and amd64
Amazon Linux 2012.03 on i386 and x86_64
FreeBSD 7.0 and 8 on i386 and amd64

If your OS is not listed above, this script will fail. More details
about the systems supported by the script can be found here:

http://www.virtualmin.com/os-support.html

Continue? (y/n) y
Checking for HTTP client…found /usr/bin/wget -nv
Checking for perl…found /usr/bin/perl
2014-09-09 15:34:44 URL:http://software.virtualmin.com/lib/spinner [579/579] -> “spinner” [1]
Loading log4sh logging library…
2014-09-09 15:34:45 URL:http://software.virtualmin.com/lib/log4sh [21395/21395] -> “log4sh” [1]
INFO - Started installation log in /root/virtualmin-install.log
INFO - Checking for fully qualified hostname…
INFO - Hostname OK: fully qualified as web01.7x2.uk
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library…
2014-09-09 15:34:45 URL:http://software.virtualmin.com/lib/oschooser.pl [4461/4461] -> “oschooser.pl” [1]
INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - Loading OS list…
2014-09-09 15:34:45 URL:http://software.virtualmin.com/lib/os_list.txt [3922/3922] -> “os_list.txt” [1]
INFO - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - Operating system name: Debian Linux
INFO - Operating system version: 7
INFO - Configuring package manager for Debian Linux 7…
INFO - Enabling universe repositories, if not already available…
INFO - Disabling cdrom repositories…
Hit http://mirror.rackspace.com wheezy Release.gpg
Hit http://mirror.rackspace.com wheezy-backports Release.gpg
Hit http://mirror.rackspace.com wheezy/updates Release.gpg
Hit http://mirror.rackspace.com wheezy-updates Release.gpg
Hit http://mirror.rackspace.com wheezy Release
Hit http://mirror.rackspace.com wheezy-backports Release
Hit http://mirror.rackspace.com wheezy/updates Release
Hit http://mirror.rackspace.com wheezy-updates Release
Hit http://mirror.rackspace.com wheezy/main Sources
Hit http://mirror.rackspace.com wheezy/main amd64 Packages
Hit http://mirror.rackspace.com wheezy/main Translation-en
Hit http://mirror.rackspace.com wheezy-backports/main Sources/DiffIndex
Hit http://mirror.rackspace.com wheezy-backports/main amd64 Packages/DiffIndex
Hit http://mirror.rackspace.com wheezy-backports/main Translation-en/DiffIndex
Hit http://mirror.rackspace.com wheezy/updates/main Sources
Hit http://mirror.rackspace.com wheezy/updates/main amd64 Packages
Hit http://mirror.rackspace.com wheezy/updates/main Translation-en
Hit http://mirror.rackspace.com wheezy-updates/main Sources
Hit http://mirror.rackspace.com wheezy-updates/main amd64 Packages/DiffIndex
Hit http://mirror.rackspace.com wheezy-updates/main Translation-en/DiffIndex
Reading package lists… Done
INFO - Cleaning up apt headers and packages, so we can start fresh…
INFO -
2014-09-09 15:34:47 URL:http://software.virtualmin.com/lib/apt.conf.noninteractive [243/243] -> “apt.conf.noninteractive” [1]
INFO - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - Installing Webmin and Virtualmin package signing keys…
2014-09-09 15:34:48 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin [1690/1690] -> “RPM-GPG-KEY-virtualmin” [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
2014-09-09 15:34:48 URL:http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin [1320/1320] -> “RPM-GPG-KEY-webmin” [1]
INFO - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - OK
INFO - OK
INFO - Hit
INFO - Removing Debian standard Webmin package, if they exist…
INFO - Removing Debian apache packages…
INFO - 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 procmail-wrapper 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
…in progress, please wait…
Extracting templates from packages: 100%…
Extracting templates from packages: 100%

INFO - /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 procmail-wrapper 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 - Succeeded.
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 correct problems, you have held broken packages.

/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:
INFO - 2014-09-09 15:36:24 - /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 procmail-wrapper 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 - 2014-09-09 15:36:24 - Succeeded.
INFO - 2014-09-09 15:36:24 - Installing Virtualmin and all related packages now using the command:
INFO - 2014-09-09 15:36: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: libsasl2 but it is not installable
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

There is a separate topic for the Debian issue you’re seeing here:

http://virtualmin.com/node/34185

Hello Eric,

I am having a problem installing Virtualmin. It says

N: Unable to locate package virtualmin-base

Can you please let me know if this has been fixed?

Thanks!

Howdy,

The problems installing virtualmin-base should be corrected now… what distro/version are you trying to install, and are you using 32 or 64 bit?

-Eric

mysql: Succeeded.
INFO - 2014-09-11 14:43:03 - Succeeded.
INFO - 2014-09-11 14:43:03 - Installing Virtualmin and all related packages now using the command:
INFO - 2014-09-11 14:43:03 - /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 - 2014-09-11 14:43:04 - apt-get seems to have failed. Are you sure your OS and version is supported?
WARN - 2014-09-11 14:43:04 - http://www.virtualmin.com/os-support
FATAL - 2014-09-11 14:43:04 - Fatal Error Occurred: Installation failed: 0
FATAL - 2014-09-11 14:43:04 - Cannot continue installation.
FATAL - 2014-09-11 14:43:04 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2014-09-11 14:43:04 - re-attempted after any problems have been resolved.
FATAL - 2014-09-11 14:43:04 - Removing temporary directory and files.
FATAL - 2014-09-11 14:43:04 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2014-09-11 14:43:04 - in /root/virtualmin-install.log

Okay, Joe tells me this should be working now – can you give it a try again?

-Eric

Yep, I’m now up & running. Thanks Joe & Eric!

Hi,

I am getting the same error on a fresh Ubuntu 14.04 droplet on Digital Ocean. Below is the last bit of the virtualmin-install.log file.

Any clues to what went wrong?

Thanks!
Francisco

Get:138 http://mirrors.digitalocean.com/ubuntu/ trusty/universe proftpd-basic i386 1.3.5~rc3-2.1ubuntu2 [1946 kB]
Get:139 http://mirrors.digitalocean.com/ubuntu/ trusty/main quota i386 4.01-3 [558 kB]
Get:140 http://mirrors.digitalocean.com/ubuntu/ trusty/main re2c i386 0.13.5-1build2 [206 kB]
Get:141 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/universe ri1.9.1 all 1.9.3.484-2ubuntu1.2 [1511 kB]
Get:142 http://mirrors.digitalocean.com/ubuntu/ trusty/universe ri all 1:1.9.3.4 [4650 B]
Get:143 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main spamassassin all 3.4.0-1ubuntu2.1 [1034 kB]
Get:144 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main sa-compile all 3.4.0-1ubuntu2.1 [13.8 kB]
Get:145 http://mirrors.digitalocean.com/ubuntu/ trusty/main db-util all 1:5.3.21~exp1ubuntu1 [2724 B]
Get:146 http://mirrors.digitalocean.com/ubuntu/ trusty/main sasl2-bin i386 2.1.25.dfsg1-17build1 [129 kB]
Get:147 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main spamc i386 3.4.0-1ubuntu2.1 [51.2 kB]
Get:148 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main subversion i386 1.8.8-1ubuntu3.1 [277 kB]
Get:149 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/main unzip i386 6.0-9ubuntu1.3 [150 kB]
Get:150 http://mirrors.digitalocean.com/ubuntu/ trusty/main zip i386 3.0-8 [255 kB]
Get:151 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/universe apache2-suexec-custom i386 2.4.7-1ubuntu4.4 [15.1 kB]
Get:152 http://mirrors.digitalocean.com/ubuntu/ trusty-updates/universe libapache2-svn all 1.8.8-1ubuntu3.1 [9760 B]
Get:153 http://mirrors.digitalocean.com/ubuntu/ trusty/main libauthen-sasl-perl all 2.1500-1 [53.2 kB]
Fetched 70.7 MB in 25s (2823 kB/s)
FATAL - 2015-03-17 18:27:51 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2015-03-17 18:27:51 - Cannot continue installation.
FATAL - 2015-03-17 18:27:51 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2015-03-17 18:27:51 - re-attempted after any problems have been resolved.
FATAL - 2015-03-17 18:27:51 - Removing temporary directory and files.
FATAL - 2015-03-17 18:27:51 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2015-03-17 18:27:51 - in /root/virtualmin-install.log

Howdy,

We’re happy to help! This particular thread is pretty old though… and I think you’re having a different issue.

Is there any chance you could open a new Forum post, and in that post, include the contents of your /root/virtualmin-install.log file?

That log file would contain more details about what didn’t work properly, which should help us sort out why that didn’t work for you.

Thanks!

-Eric

I can verify that right now, the Ubuntu 14.04 VM images in Azure have the same problem as with the OP. His original fix does work in that particular instance.