The install.sh script fails on two different servers (one newly installed debian lenny dedicated and a VM) with the same hash error.
W: Failed to fetch http://software.virtualmin.com/gpl/debian/dists/virtualmin-universal/main/binary-amd64/Packages.gz Hash Sum mismatch
The complete output of the install script is here:
lars:~# ./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-10 09:50:14 URL:http://software.virtualmin.com/lib/spinner [579/579] -> "spinner" [1]
Loading log4sh logging library...
2010-03-10 09:50:15 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...
hostname: Unknown host
INFO - Hostname is not fully qualified.
Please enter a fully qualified hostname (for example, example.com): [EDITED]
INFO - Hostname OK: fully qualified as [EDITED]
INFO - Primary address detected as [EDITED]
[EDITED] Debian-50-lenny-64-minimal
INFO - Entry for IP 78.46.97.207 exists in /etc/hosts.
INFO - Updating with new hostname.
INFO - Installing serial number and license key into /etc/virtualmin-license
INFO - Loading OS selection library...
2010-03-10 09:50:26 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-10 09:50:27 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 ftp://mirror.hetzner.de lenny Release.gpg
Hit ftp://mirror.hetzner.de lenny/updates Release.gpg
Hit ftp://mirror.hetzner.de lenny Release
Hit ftp://mirror.hetzner.de lenny/updates Release
Hit http://ftp.de.debian.org lenny Release.gpg
Hit http://security.debian.org lenny/updates Release
Get:1 ftp://mirror.hetzner.de lenny/main Packages/DiffIndex
Ign ftp://mirror.hetzner.de lenny/main Packages/DiffIndex
Get:2 ftp://mirror.hetzner.de lenny/contrib Packages/DiffIndex
Ign ftp://mirror.hetzner.de lenny/contrib Packages/DiffIndex
Get:3 ftp://mirror.hetzner.de lenny/non-free Packages/DiffIndex
Ign ftp://mirror.hetzner.de lenny/non-free Packages/DiffIndex
Hit http://ftp.de.debian.org lenny Release
Get:4 ftp://mirror.hetzner.de lenny/updates/main Packages/DiffIndex
Ign ftp://mirror.hetzner.de lenny/updates/main Packages/DiffIndex
Get:5 ftp://mirror.hetzner.de lenny/updates/contrib Packages/DiffIndex
Ign ftp://mirror.hetzner.de lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Get:6 ftp://mirror.hetzner.de lenny/updates/non-free Packages/DiffIndex
Ign ftp://mirror.hetzner.de lenny/updates/non-free Packages/DiffIndex
Hit ftp://mirror.hetzner.de lenny/main Packages
Hit ftp://mirror.hetzner.de lenny/contrib Packages
Hit ftp://mirror.hetzner.de lenny/non-free Packages
Hit ftp://mirror.hetzner.de lenny/updates/main Packages
Hit ftp://mirror.hetzner.de lenny/updates/contrib Packages
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex
Hit ftp://mirror.hetzner.de lenny/updates/non-free Packages
Ign http://ftp.de.debian.org lenny/main Packages/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Hit http://security.debian.org lenny/updates/contrib Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Hit http://security.debian.org lenny/updates/main Sources
Ign http://ftp.de.debian.org lenny/non-free Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/contrib Packages/DiffIndex
Ign http://ftp.de.debian.org lenny/main Sources/DiffIndex
Ign http://ftp.de.debian.org lenny/non-free Sources/DiffIndex
Ign http://ftp.de.debian.org lenny/contrib Sources/DiffIndex
Hit http://security.debian.org lenny/updates/contrib Sources
Hit http://ftp.de.debian.org lenny/main Packages
Hit http://security.debian.org lenny/updates/non-free Sources
Hit http://ftp.de.debian.org lenny/non-free Packages
Hit http://ftp.de.debian.org lenny/contrib Packages
Hit http://ftp.de.debian.org lenny/main Sources
Hit http://ftp.de.debian.org lenny/non-free Sources
Hit http://ftp.de.debian.org lenny/contrib Sources
Reading package lists... Done
INFO - Cleaning up apt headers and packages, so we can start fresh...
INFO -
2010-03-10 09:50:28 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-10 09:50:28 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-10 09:50:28 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: 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 installab
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 installabl
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 install
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
Comments
Submitted by trey on Wed, 03/10/2010 - 16:37 Comment #1
FYI to whoever can manage the package repository -- this error is because of the out of date Release and Release.gpg files at http://software.virtualmin.com/gpl/debian/dists/virtualmin-universal/. The hashes don't match main/*/Packages*.
Submitted by master-helper on Wed, 03/10/2010 - 08:59 Comment #2
Can verify this. Happens on a clean Debian 5.0 amd64 install.
Submitted by pmich on Wed, 03/10/2010 - 11:07 Comment #3
I got the same error on Debian 5.0.4 64-bit clean install:
Failed to fetch http://software.virtualmin.com/gpl/debian/dists/virtualmin-universal/mai... Hash Sum mismatch
Pawel
Submitted by JamieCameron on Wed, 03/10/2010 - 12:16 Comment #4
Joe is taking a look into this now..
For those seeing this, are you running 32-bit or 64-bit systems? I didn't see this problem during an install on a 32-bit Ubuntu 8.04 system..
Submitted by janderk on Wed, 03/10/2010 - 13:35 Comment #5
Both systems on which I had the problem were running 64bit Debian 5.0 (lenny).
Submitted by Kolin on Wed, 03/10/2010 - 15:11 Comment #6
I can confirm it's happening on amd64 systems.
Submitted by trey on Wed, 03/10/2010 - 16:47 Comment #7
Joe,
It's both 32-bit and 64-bit Debian. Ubuntu is not affected because the http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-hardy/Release (and Release.gpg) file is current.
The Release and Release.gpg files at http://software.virtualmin.com/gpl/debian/dists/virtualmin-universal/ aren't reflecting the new Packages files in the debian versions: http://www.virtualmin.com/node/13711#comment-59730 -- The Packages files were modified yesterday at 2:14.
I think you just need to regenerate the Release file and sign it...
Submitted by reQuorter on Thu, 03/11/2010 - 11:28 Comment #8
I've got the same problem... I tried to install on fresh and clean Debian 5.0 Lenny 32 bit.
Submitted by sgrayban on Thu, 03/11/2010 - 11:34 Comment #9
The hash for the GPL debian repo is broken. No one can install or upgrade until this is fixed.
Submitted by Kolin on Fri, 03/12/2010 - 04:10 Comment #10
Can we get an update on this?
Looks to me like its a serious problem with a simple fix!
And i cant get my new web server set up till its fixed!
Submitted by master-helper on Fri, 03/12/2010 - 04:58 Comment #11
Yes, I need to setup a new box as well :(
However, like sgrayban said. It's only the GPL release, so the fix will probably take a while. In the meantime we can follow the intention and buy the Pro version.
Submitted by janderk on Fri, 03/12/2010 - 06:25 Comment #12
Is there a way to tell the install script to ignore the hash error and just proceed? Because I really like to evaluate Virtualmin, but am unable to install it.
Submitted by reQuorter on Fri, 03/12/2010 - 07:15 Comment #13
I thought that could be fixed fast because it doesn't seems to be really big problem... still waiting :(
Submitted by ravegearnet on Fri, 03/12/2010 - 08:55 Comment #14
I would like to see this resolved soon, as I have a few projects that need it at the moment.
Submitted by fatbox on Fri, 03/12/2010 - 10:17 Comment #15
+1 on this.
I know it's not the paid version of the product, but this is quite a long time for this bug to be open for a problem of this type...
Submitted by juicymedia on Fri, 03/12/2010 - 16:53 Pro Licensee Comment #16
I too would like to see this resolved soon... I have a new box to build.
Issue seen on clean Debian 5.0.4 Lenny on amd64
I think I have this fixed now. I'm starting another test run now, and will close once I've confirmed it.
Submitted by trey on Fri, 03/12/2010 - 19:30 Comment #18
I'm still getting the hash mismatch error, doesn't look like the Release and Release.gpg files (last modified January 13) match the main/binary-*/Packages* files that were modified on March 9 (referring to http://software.virtualmin.com/gpl/debian/dists/virtualmin-universal/).
Submitted by master-helper on Fri, 03/12/2010 - 21:04 Comment #19
Thank you, Joe!
I can verify, it works now. At least for Debian 5.0-amd64.
Submitted by trey on Fri, 03/12/2010 - 21:09 Comment #20
Works for me now too. Thanks!
Submitted by ravegearnet on Fri, 03/12/2010 - 21:19 Comment #21
I can confirm the install is now fine! Thanks for the fix :)
Submitted by janderk on Sat, 03/13/2010 - 16:31 Comment #22
Works here too. Thanks for fixing. Install seems to work well.
Thanks for the updates, guys. I won't happen again. I was rewriting all the scripts for managing the repos, so that it all happens on a central build machine (that Jamie and Eric have will have access to, just in case I'm unavailable and something goes wrong), and I made a few typos along the way that led to some repos not getting updated, and others getting the wrong Release file. Things should be more robust going forward, and updates should be able to happen more quickly (particularly on Debian, where my old build setup had some odd bottlenecks that made repo metadata generation take up to an hour to process).
Submitted by Issues on Sun, 03/28/2010 - 16:19 Comment #24
Automatically closed -- issue fixed for 2 weeks with no activity.
Submitted by xgarreau on Tue, 09/08/2015 - 06:36 Comment #25
Looks like it's happening again.
W: Failed to fetch http://software.virtualmin.com/gpl/debian/dists/virtualmin-lenny/main/bi... Hash Sum mismatch
Submitted by andreychek on Tue, 09/08/2015 - 09:10 Comment #26
Unfortunately, Debian 5 "Lenny" reached it's end of life back in 2012. It's no longer supported by the folks at Debian, or by Virtualmin.
Our suggestion is to use a supported Debian version, I would recommend Debian 8 if possible since it's supported for a long time still.
However, Debian 6 will be supported until February 2016, and Debian 7 until May 2018.
Submitted by xgarreau on Tue, 09/08/2015 - 09:18 Comment #27
OK, was just upgrading stuff on an old server and noticed that.
Submitted by andreychek on Tue, 09/08/2015 - 09:27 Comment #28
Unfortunately, the old repositories are no longer maintained. Perhaps I should talk to Joe about removing them entirely, though we've been reluctant to do that for some reason.
We'd highly recommend upgrading that server to use a distro that's being maintained, as it hasn't received any updates in over 3 years.
However, if you needed to, you could always manually download a Webmin and Virtualmin .deb from a newer repository and install that manually.