Debian install trouble:

Running install.sh 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!

[code:1]
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
only.

The systems currently supported by our install.sh 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:

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

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:http://software.virtualmin.com/lib/spinner [182/182] -> “spinner” [1]
Loading log4sh logging library…
20:59:38 URL:http://software.virtualmin.com/lib/log4sh [21395/21395] -> “log4sh” [1]
INFO - Started installation log in virtualmin-install.log
INFO - Checking for fully qualified hostname…
INFO - Hostname OK: fully qualified as snip.com
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library…
20:59:38 URL:http://software.virtualmin.com/lib/oschooser.pl [4448/4448] -> “oschooser.pl” [1]
INFO - Download of http://software.virtualmin.com/lib/oschooser.pl Succeeded.
INFO - Loading OS list…
20:59:38 URL:http://software.virtualmin.com/lib/os_list.txt [3473/3473] -> “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: 4.0
INFO - Installing virtualmin-release package for Debian Linux 4.0…
INFO - Enabling universe repositories, if not already available…
Get:1 http://ftp.us.debian.org etch Release.gpg [378B]
Hit http://ftp.us.debian.org etch Release
Ign http://ftp.us.debian.org etch/main Packages/DiffIndex
Get:2 http://security.debian.org etch/updates Release.gpg [189B]
Ign http://ftp.us.debian.org etch/contrib Packages/DiffIndex
Ign http://ftp.us.debian.org etch/non-free Packages/DiffIndex
Hit http://ftp.us.debian.org etch/main Packages
Hit http://ftp.us.debian.org etch/contrib Packages
Get:3 http://security.debian.org etch/updates Release [22.5kB]
Hit http://ftp.us.debian.org etch/non-free Packages
Ign http://security.debian.org etch/updates/main Packages/DiffIndex
Ign http://security.debian.org etch/updates/contrib Packages/DiffIndex
Ign http://security.debian.org etch/updates/non-free Packages/DiffIndex
Get:4 http://security.debian.org etch/updates/main Packages [165kB]
Hit http://security.debian.org etch/updates/contrib Packages
Hit http://security.debian.org 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…
INFO -
20:59:42 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 - 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: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.
20:59:43 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 - 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:
virtualmin-base
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:
virtualmin-base
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.

[/code:1]