Failing to install Virtualmin on Debian 8 Jessie

4 posts / 0 new
Last post
#1 Fri, 05/01/2015 - 11:52
partaload

Failing to install Virtualmin on Debian 8 Jessie

I downloaded the Virtualmin install.sh script today (20150501) to install VirtualMin in a new fresh installed Debian 8 (stable).

The installation failed because of this:

Preparing to unpack .../mailman_1%3a2.1.18-2_amd64.deb ...
dpkg: error processing archive /var/cache/apt/archives/mailman_1%3a2.1.18-2_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
find: `/usr/lib/mailman': No such file or directory
Selecting previously unselected package libapache2-mod-php5.
Preparing to unpack .../libapache2-mod-php5_5.6.7+dfsg-1_amd64.deb ...
Unpacking libapache2-mod-php5 (5.6.7+dfsg-1) ...
Processing triggers for systemd (215-17) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
/var/cache/apt/archives/mailman_1%3a2.1.18-2_amd64.deb

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

Could you please help me on this?

Fri, 05/01/2015 - 12:22
partaload
INFO - 2015-05-01 12:45:59 - Started installation log in /root/virtualmin-install.log
DEBUG - 2015-05-01 12:45:59 - Install mode: full
DEBUG - 2015-05-01 12:45:59 - Product: Virtualmin GPL
DEBUG - 2015-05-01 12:45:59 - Virtualmin Meta-Package list: virtualmin-base
DEBUG - 2015-05-01 12:45:59 - install.sh version: 1.1.2
INFO - 2015-05-01 12:45:59 - Checking for fully qualified hostname...
INFO - 2015-05-01 12:45:59 - Hostname OK: fully qualified as ns346452.ip-91-121-140.eu
INFO - 2015-05-01 12:45:59 - Installing serial number and license key into /etc/virtualmin-license
INFO - 2015-05-01 12:45:59 - Loading OS selection library...
INFO - 2015-05-01 12:45:59 - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - 2015-05-01 12:45:59 - Loading OS list...
INFO - 2015-05-01 12:45:59 - Download of http://software.virtualmin.com/lib/os_list.txt Succeeded.
INFO - 2015-05-01 12:46:00 - Operating system name:    Debian Linux
INFO - 2015-05-01 12:46:00 - Operating system version: 8.0
INFO - 2015-05-01 12:46:00 - Configuring package manager for Debian Linux 8.0...
INFO - 2015-05-01 12:46:00 - Enabling universe repositories, if not already available...
INFO - 2015-05-01 12:46:00 - Disabling cdrom repositories...
INFO - 2015-05-01 12:46:06 - Cleaning up apt headers and packages, so we can start fresh...
INFO - 2015-05-01 12:46:06 -
INFO - 2015-05-01 12:46:06 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - 2015-05-01 12:46:06 - Installing Webmin and Virtualmin package signing keys...
INFO - 2015-05-01 12:46:07 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin Succeeded.
INFO - 2015-05-01 12:46:07 - Download of http://software.virtualmin.com/lib/RPM-GPG-KEY-webmin Succeeded.
INFO - 2015-05-01 12:46:07 - OK
INFO - 2015-05-01 12:46:08 - OK
INFO - 2015-05-01 12:46:16 - Hit
INFO - 2015-05-01 12:46:16 - Removing Debian standard Webmin package, if they exist...
INFO - 2015-05-01 12:46:16 - Removing Debian apache packages...
DEBUG - 2015-05-01 12:46:29 - Reading
INFO - 2015-05-01 12:46:29 - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install bsdutils postfix postfix-pcre webmin usermin 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 libapache2-mod-php5 php5-mysql
Reading package lists...
Building dependency tree...
Reading state information...
apache2-doc is already the newest version.
apache2-suexec-custom is already the newest version.
awstats is already the newest version.
bind9 is already the newest version.
libsasl2-2 is already the newest version.
libsasl2-modules is already the newest version.
sasl2-bin is already the newest version.
dovecot-core is already the newest version.
dovecot-imapd is already the newest version.
dovecot-pop3d is already the newest version.
iptables is already the newest version.
libapache2-mod-fcgid is already the newest version.
libcrypt-ssleay-perl is already the newest version.
libdbd-mysql-perl is already the newest version.
libdbd-pg-perl is already the newest version.
libfcgi-dev is already the newest version.
libnet-ssleay-perl is already the newest version.
libpg-perl is already the newest version.
libxml-simple-perl 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.
postgresql is already the newest version.
postgresql-client is already the newest version.
procmail is already the newest version.
proftpd-basic is already the newest version.
python is already the newest version.
quota is already the newest version.
ri is already the newest version.
ruby is already the newest version.
spamassassin is already the newest version.
spamc is already the newest version.
libapache2-svn is already the newest version.
subversion is already the newest version.
unzip is already the newest version.
bsdutils is already the newest version.
webalizer is already the newest version.
zip 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.
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.
clamav-testfiles is already the newest version.
scponly is already the newest version.
procmail-wrapper is already the newest version.
usermin is already the newest version.
webmin is already the newest version.
Suggested packages:
  www-browser lynx listadmin
The following NEW packages will be installed:
  apache2 libapache2-mod-php5 mailman
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 6760 kB of archives.
After this operation, 46.8 MB of additional disk space will be used.
Get:1 http://debian.mirrors.ovh.net/debian/ jessie/main apache2 amd64 2.4.10-10 [205 kB]
Get:2 http://debian.mirrors.ovh.net/debian/ jessie/main mailman amd64 1:2.1.18-2 [4350 kB]
Get:3 http://debian.mirrors.ovh.net/debian/ jessie/main libapache2-mod-php5 amd64 5.6.7+dfsg-1 [2206 kB]
Preconfiguring packages ...
Preconfiguring packages ...
Fetched 6760 kB in 0s (10.1 MB/s)
Selecting previously unselected package apache2.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 88977 files and directories currently installed.)
Preparing to unpack .../apache2_2.4.10-10_amd64.deb ...
Unpacking apache2 (2.4.10-10) ...
Selecting previously unselected package mailman.
Preparing to unpack .../mailman_1%3a2.1.18-2_amd64.deb ...
dpkg: error processing archive /var/cache/apt/archives/mailman_1%3a2.1.18-2_amd64.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
find: `/usr/lib/mailman': No such file or directory
Selecting previously unselected package libapache2-mod-php5.
Preparing to unpack .../libapache2-mod-php5_5.6.7+dfsg-1_amd64.deb ...
Unpacking libapache2-mod-php5 (5.6.7+dfsg-1) ...
Processing triggers for systemd (215-17) ...
Processing triggers for man-db (2.7.0.2-5) ...
Errors were encountered while processing:
/var/cache/apt/archives/mailman_1%3a2.1.18-2_amd64.deb
FATAL - 2015-05-01 12:46:36 - Fatal Error Occurred: Something went wrong during installation: 0
FATAL - 2015-05-01 12:46:36 - Cannot continue installation.
FATAL - 2015-05-01 12:46:36 - Attempting to remove virtualmin repository configuration, so the installation can be
FATAL - 2015-05-01 12:46:36 - re-attempted after any problems have been resolved.
FATAL - 2015-05-01 12:46:36 - Removing temporary directory and files.
FATAL - 2015-05-01 12:46:36 - If you are unsure of what went wrong, you may wish to review the log
FATAL - 2015-05-01 12:46:36 - in /root/virtualmin-install.log
Fri, 05/01/2015 - 13:11
andreychek

Hmm, it looks like it's having some trouble installing Mailman.

Does it by chance work differently if you run the install.sh a second time?

If not, what happens if you create the directory it's missing with these two commands:

mkdir /usr/lib/mailman
chown root:list /usr/lib/mailman
Fri, 05/01/2015 - 14:26
partaload

Thankyou very much andreychek.

You're right, it was some issue related to the mailman. I finally managed to install VirtualMin after installing first mailman:

apt-get install mailman
./install.sh (<-- Virtualmin installer)

Thanks again for your help.

Topic locked