Virtualmin and Debian Etch

I just installed a complete new server running Debian Etch.

When I download and execute the install-script it gives me the following output and then stops because of an error:
virtual:~# ./install.sh


  • Welcome to the Virtualmin Professional installer, version EA4.0 *

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 Virtualmin GPL
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.

The systems currently supported by our install.sh are:
Fedora Core 3-6 on i386 and x86_64
CentOS and RHEL 3-5 on i386 and x86_64
OpenSUSE 10.0 on i586 and x86_64
Mandriva 2007 on i386
Debian 3.1 and 4.0 on i386 and amd64
Ubuntu 6.06 and 6.06.1 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).

Continue? (y/n) y
Checking for curl or wget…found /usr/bin/wget -nv
Checking for perl…found /usr/bin/perl
02:05:27 URL:http://software.virtualmin.com/lib/spinner [182/182] -> “spinner” [1]
Loading log4sh logging library…
02:05:28 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 virtual.moellernet.dk
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library…
02:05:30 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…
02:05:31 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 - Cleaning up apt headers and packages, so we can start fresh…
INFO -
02:05:32 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
Failed to fetch http://XXXXXX:YYYYYYYYYYY@software.virtualmin.com/debian/dists/virtualmin-etch/main/binary-i386/Packages.gz 401 Authorization Required
W: Couldn’t stat source package list http://software.virtualmin.com virtualmin-etch/main Packages (/var/lib/apt/lists/software.virtualmin.com_debian_dists_virtualmin-etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.
INFO - Get:1
INFO - Removing Debian standard Webmin package, if they exist (because they’re broken)…
INFO - Removing Debian apache packages…
W: Couldn’t stat source package list http://software.virtualmin.com virtualmin-etch/main Packages (/var/lib/apt/lists/software.virtualmin.com_debian_dists_virtualmin-etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
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… \W: Couldn’t stat source package list http://software.virtualmin.com virtualmin-etch/main Packages (/var/lib/apt/lists/software.virtualmin.com_debian_dists_virtualmin-etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Package webmin has no installation candidate …in progress, please wait… failed. Error (if any): 0

Displaying the last 15 lines of the install.log to help troubleshoot this problem:
INFO - 2007-06-24 02:05:31 - Cleaning up apt headers and packages, so we can start fresh…
INFO - 2007-06-24 02:05:31 -
INFO - 2007-06-24 02:05:32 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded.
INFO - 2007-06-24 02:05:32 - Disabling any CD-based apt repositories so the process can run without assistance
INFO - 2007-06-24 02:05:36 - Get:1
INFO - 2007-06-24 02:05:36 - Removing Debian standard Webmin package, if they exist (because they’re broken)…
INFO - 2007-06-24 02:05:36 - Removing Debian apache packages…
DEBUG - 2007-06-24 02:05:37 - Reading
INFO - 2007-06-24 02:05:37 - 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 - 2007-06-24 02:05:37 - …in progress, please wait…
Reading package lists…
Building dependency tree…
Package webmin 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 - 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.

I can see that I get a http 401 when trying to download the package, but it should work, or?

Hey Brian,

Sorry for the inconvenience (and thanks for your order!). This is due to a bug in our new license manager and shopping cart–the licenses weren’t happening for the software server. I believe I’ve just fixed it, and I’ve added your serial number and key to the download server manually, so things should be working.

I also noticed that the old license database is not being updated (and the new version of the license validator hasn’t be rolled out yet–so if you get a license check failure warning, you can ignore it…it’ll be fixed today).

You’ve caught us with our pants down. :wink:

Thanks for the heads up!

Joe,

I’ve been trying to set up a test server so I can move from Fedora Core 5 to an Ubuntu install. I’m getting a similar error.

Not much debugging to go off of:

Displaying the last 15 lines of the install.log to help troubleshoot this problem: INFO - 2007-06-24 16:22:49 - INFO - 2007-06-24 16:22:50 - Download of http://software.virtualmin.com/lib/apt.conf.noninteractive Succeeded. INFO - 2007-06-24 16:22:50 - Disabling any CD-based apt repositories so the process can run without assistance INFO - 2007-06-24 16:22:52 - Ign INFO - 2007-06-24 16:22:52 - Removing Debian standard Webmin package, if they exist (because they're broken)... INFO - 2007-06-24 16:22:52 - Removing Debian apache packages... DEBUG - 2007-06-24 16:22:53 - Reading INFO - 2007-06-24 16:22:53 - 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 INFO - 2007-06-24 16:22:53 - ...in progress, please wait... Reading package lists... Building dependency tree... ruby is already the newest version. Package libapache2-mod-ruby 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 - 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.

On the other hand, for grins I tried the same with CentOS 5 and it worked flawlessly. Any ideas?

Thanks,

Ron

Hey Ron,

Make sure you have the Universe repository enabled. I’ve noticed that Ubuntu doesn’t enable it by default (but haven’t yet released a version of install.sh that fixes it).

Edit /etc/apt/sources.list

Find the "universe" repository line, and uncomment it.

Try the install again.

Yeah, I figured that out right after my post and all is well.

For sake of helping others, here is the location that needs updated:

/etc/apt/sources.list

Uncomment the following 2 lines:

[code:1]# deb http://us.archive.ubuntu.com/ubuntu/ dapper universe

deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe[/code:1]

Then run install.sh

No problems from there.

Thanks Joe!

Ok, still getting used to the new board:

deb http://us.archive.ubuntu.com/ubuntu/ dapper universe

deb-src http://us.archive.ubuntu.com/ubuntu/ dapper universe

I just fixed this issue in the official install.sh version EA4.1.

Sorry for the inconvenience. Holler if you run into any other issues.

Hey Joe

Thanks for the help.

/Brian

Joe wrote:

Hey Brian,

Sorry for the inconvenience (and thanks for your order!). This is due to a bug in our new license manager and shopping cart–the licenses weren’t happening for the software server. I believe I’ve just fixed it, and I’ve added your serial number and key to the download server manually, so things should be working.

I also noticed that the old license database is not being updated (and the new version of the license validator hasn’t be rolled out yet–so if you get a license check failure warning, you can ignore it…it’ll be fixed today).

You’ve caught us with our pants down. :wink:

Thanks for the heads up!

Hey joe

It seems that i have the same error as Brian when trying to install on debian Etch.

Sune