I tried to install Virtualmin today and it failes with the message below. This is on a clean Debian Lenny VM. Weird thing is that a few days ago it worked perfectly. I tried on another server and had the same error there.
I am a newby but this part sound suspicious:
W: Failed to fetch http://software.virtualmin.com/gpl/debian/dists/virtualmin-universal/main/binary-amd64/Packages.gz Hash Sum mismatch
Could it be that the package in the repository has a wrong hash value? Or is it just me doing something stupid?
Jan Derk
debian:~# ./install.sh
Welcome to the Virtualmin GPL installer, version 1.0.3
WARNING:
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 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 install Virtualmin, on a supported OS. If you have previously
installed Virtualmin via this script or the GPL version of this script,
upgrades and updates should be handled within Virtualmin itself. Once
Virtualmin is installed, you never need to run this script again.
The systems currently supported by install.sh are:
CentOS 4 and 5 on i386 and x86_64
Debian 4.0 and 5.0 on i386 and amd64
Ubuntu 8.04 LTS 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
2010-03-09 19:45:12 URL:http://software.virtualmin.com/lib/spinner [579/579] -> “spinner” [1]
Loading log4sh logging library…
2010-03-09 19:45:12 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 debian.digitaldutch.info
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library…
2010-03-09 19:45:13 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…
2010-03-09 19:45:13 URL:http://software.virtualmin.com/lib/os_list.txt [3047/3047] -> “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: 5.0
INFO - Configuring package manager for Debian Linux 5.0…
INFO - Enabling universe repositories, if not already available…
INFO - Disabling cdrom repositories…
Hit http://security.debian.org lenny/updates Release.gpg
Hit http://ftp.nl.debian.org lenny Release.gpg
Hit http://ftp.nl.debian.org lenny Release
Hit http://security.debian.org lenny/updates Release
Get:1 http://debian.syscp.org lenny/ Release.gpg [197B]
Ign http://ftp.nl.debian.org lenny/main Packages/DiffIndex
Hit http://debian.syscp.org lenny/ Release
Hit http://volatile.debian.org lenny/volatile Release.gpg
Err http://debian.syscp.org lenny/ Release
Ign http://ftp.nl.debian.org lenny/main Sources/DiffIndex
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Get:2 http://debian.syscp.org lenny/ Release [523B]
Ign http://debian.syscp.org lenny/ Release
Hit http://ftp.nl.debian.org lenny/main Packages
Hit http://volatile.debian.org lenny/volatile Release
Hit http://ftp.nl.debian.org lenny/main Sources
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://debian.syscp.org lenny/ Packages/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Hit http://debian.syscp.org lenny/ Packages
Hit http://security.debian.org lenny/updates/main Sources
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Hit http://volatile.debian.org lenny/volatile/main Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Fetched 720B in 0s (1692B/s)
Reading package lists… Done
W: GPG error: http://debian.syscp.org lenny/ Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY EB8BDC4195A7D80C
W: You may want to run apt-get update to correct these problems
INFO - Cleaning up apt headers and packages, so we can start fresh…
INFO -
2010-03-09 19:45:14 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…
2010-03-09 19:45:15 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.
2010-03-09 19:45:15 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
W: GPG error: http://debian.syscp.org lenny/ Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY EB8BDC4195A7D80C
W: Failed to fetch http://software.virtualmin.com/gpl/debian/dists/virtualmin-universal/main/binary-amd64/Packages.gz Hash Sum mismatch
E: Some index files failed to download, they have been ignored, or old ones used instead.
INFO - Hit
INFO - Removing Debian standard Webmin package, if they exist (because they’re broken)…
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
…in progress, please wait… 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: 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: 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:
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: usermin-virtual-server-theme but it is not installable
Depends: webmin-security-updates but it is not installable
Depends: webmin-virtual-server but it is not installable
Depends: webmin-virtual-server-theme but it is not installable
Depends: webmin-virtualmin-awstats but it is not installable
Depends: webmin-virtualmin-dav but it is not installable
Depends: webmin-virtualmin-htpasswd but it is not installable
Depends: webmin-virtualmin-mailman but it is not installable
Depends: webmin-virtualmin-svn but it is not installable
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