Debian install trouble:

Running yields some troubles, looks like it breaks when it starts playing with resolv.conf. Thing is, it actually installs the virtualmin interface which says that BIND is running properly. But I’d prefer everything to be properly and fully installed, given that it mucks with the apt dependency tree and prevents install of some packages unless I remove virtualmin-base. Thanks in advance for any advice!

Welcome to the Virtualmin GPL installer, version EA4.2

WARNING: This is an Early Adopter release.

The installation is quite stable and functional when run on a freshly
installed supported Operating System, but upgrades from existing .wbm-
based systems, or systems that already have Apache VirtualHost
directives or mail users, will very likely run into numerous problems.
Please read the Virtualmin and Early Adopter FAQs 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 install Virtualmin Professional, or to upgrade a Virtualmin
GPL system that was installed manually via .wbm packages. If you have
previously installed Virtualmin via this script or the GPL version of
this script, upgrades and updates should be handled within Virtualmin

The systems currently supported by our are:
CentOS 5 on i386 and x86_64
Debian 4.0 on i386 and amd64

If your OS is not listed above, this script will fail and attempting
to run it on an unsupported OS is not recommended, or supported. The
recommended operating systems for Virtualmin Professional, and more
details about them, can be found here:

Continue? (y/n) y
Checking for curl or wget…found /usr/bin/wget -nv
Checking for perl…found /usr/bin/perl
20:59:38 URL: [182/182] -> “spinner” [1]
Loading log4sh logging library…
20:59:38 URL: [21395/21395] -> “log4sh” [1]
INFO - Started installation log in virtualmin-install.log
INFO - Checking for fully qualified hostname…
INFO - Hostname OK: fully qualified as
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library…
20:59:38 URL: [4448/4448] -> “” [1]
INFO - Download of Succeeded.
INFO - Loading OS list…
20:59:38 URL: [3473/3473] -> “os_list.txt” [1]
INFO - Download of Succeeded.
INFO - Operating system name: Debian Linux
INFO - Operating system version: 4.0
INFO - Installing virtualmin-release package for Debian Linux 4.0…
INFO - Enabling universe repositories, if not already available…
Get:1 etch Release.gpg [378B]
Hit etch Release
Ign etch/main Packages/DiffIndex
Get:2 etch/updates Release.gpg [189B]
Ign etch/contrib Packages/DiffIndex
Ign etch/non-free Packages/DiffIndex
Hit etch/main Packages
Hit etch/contrib Packages
Get:3 etch/updates Release [22.5kB]
Hit etch/non-free Packages
Ign etch/updates/main Packages/DiffIndex
Ign etch/updates/contrib Packages/DiffIndex
Ign etch/updates/non-free Packages/DiffIndex
Get:4 etch/updates/main Packages [165kB]
Hit etch/updates/contrib Packages
Hit etch/updates/non-free Packages
Fetched 188kB in 1s (124kB/s)
Reading package lists… Done
INFO - Cleaning up apt headers and packages, so we can start fresh…
20:59:42 URL: [243/243] -> “apt.conf.noninteractive” [1]
INFO - Download of Succeeded.
INFO - Disabling any CD-based apt repositories so the process can run without assistance
INFO - Installing Webmin and Virtualmin package signing keys…
20:59:42 URL: [1690/1690] -> “RPM-GPG-KEY-virtualmin” [1]
INFO - Download of Succeeded.
20:59:43 URL: [1320/1320] -> “RPM-GPG-KEY-webmin” [1]
INFO - Download of Succeeded.
INFO - Get:1
INFO - Removing Debian standard Webmin package, if they exist (because they’re broken)…
INFO - Removing Debian apache packages…
dpkg: error processing virtualmin-base (–configure):
subprocess post-installation script killed by signal (Hangup)
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
INFO - Installing dependencies using command: /usr/bin/apt-get --config-file apt.conf.noninteractive -y --force-yes install postfix postfix-tls postfix-pcre webmin usermin ruby libapache2-mod-ruby libxml-simple-perl libcrypt-ssleay-perl
INFO - …in progress, please wait… /dpkg: error processing virtualmin-base (–configure):
subprocess post-installation script killed by signal (Hangup)
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1) …in progress, please wait… failed. Error (if any): 0

Displaying the last 15 lines of the install.log to help troubleshoot this problem:
Enabling Dovecot POP3 and IMAP servers
Enabling ProFTPd
Starting ftp server: proftpd.
Enabling SMTP Authentication
Configuring Virtualmin
Configuring Procmail
Configuring Webalizer
Updating /etc/shells
Enabling MySQL and PostgreSQL
Enabling Apache
Setting up Debian Apache configuration file
Enabling mod_ssl
This module is already enabled!
Configuring and enabling BIND
Configuring resolv.conf to use local DNS server

FATAL - Fatal Error Occurred: Something went wrong during installation: 1
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.