Repository debian/dists/virtualmin-universal/ broken ? Hash sum errors

I used the Swiss mirrors, probably something like this:
deb http://mirror.switch.ch/ftp/mirror/debian/ squeeze main
deb-src http://mirror.switch.ch/ftp/mirror/debian/ squeeze main
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main
deb http://software.virtualmin.com/gpl/debian/ virtualmin-squeeze main
deb http://software.virtualmin.com/gpl/debian/ virtualmin-universal main

IMHO the problem is most likely related to apt trying to use the wrong checksum to verify the origin of the packages. Or that not all of the provided checksums work (md5, sha1 or sha256). As I wrote before, I think ugrading debian is the way forward.

We think we see what’s causing this issue – it’s proven tricky to fix though. I just wanted to follow up to say we haven’t forgotten about it, and Joe is working on this :slight_smile:

-ERic

Hi Eric,

thank you for the info.

Regards

Frank

For me worked to add alternative repository - apt-get update then upgrade, but at the last I was download
the Webmin deb package at http://www.webmin.com/download.html directly with wget and install it.

Then may be do update upgrade again

Everything was fixed!

Here is my sources.list

deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main
deb http://packages.dotdeb.org squeeze all
deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

deb http://ftp.us.debian.org/debian/ squeeze-updates main
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main

deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

When installing virtualmin on debian testing(stretch) this error occurs again:

E: Failed to fetch http://software.virtualmin.com/gpl/debian/dists/virtualmin-universal/main/binary-amd64/webmin-virtual-server-theme_9.0-2_all.deb Hash Sum mismatch

I’ve checked the checksums manually, only sha512 checksum matches.

P.S. installation on debian stable(jessie) completes fine.

Seeing this problem again:

Get:1 http://download.webmin.com/download/repository sarge/contrib amd64 webmin all 1.791 [28.2 MB]

Err:1 http://download.webmin.com/download/repository sarge/contrib i386 webmin all 1.791 Hash Sum mismatch

Get:1 http://download.webmin.com/download/repository sarge/contrib i386 webmin all 1.791 [28.2 MB]

Err:1 http://download.webmin.com/download/repository sarge/contrib all webmin all 1.791 Hash Sum mismatch

Err:1 http://download.webmin.com/download/repository sarge/contrib all webmin all 1.791 Hash Sum mismatch Fetched 56.3 MB in 27s (2,065 kB/s)

E: Failed to fetch http://download.webmin.com/download/repository/pool/contrib/w/webmin/webmin_1.791_all.deb Hash Sum mismatch

ESXi Ubuntu 16.04

Sorry about that – Joe thinks this is corrected now, can you try again?

-Eric

Hi,

Debian 8.3 x32:

W: Failed to fetch http://software.virtualmin.com/gpl/debian/dists/virtualmin-universal/Release Unable to find expected entry ‘main/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)

Thanks – we thought we finally had the issue fixed. But apparently something else was broken in the process!

It looks like 64 bit is good to go ATM, but I’ll have Joe look into the 32 bit stuff. Sorry about that!

-Eric

I’m trying to install cloudmin on Ubuntu 16.04 64 bits, I still get sum mismatch too:
(I know it’s not virtualmin but it’s while trying to get virtualmin packages)

Err:1 http://cloudmin.virtualmin.com/debian binary/ webmin-server-manager 8.4
Hash Sum mismatch
Get:2 http://cloudmin.virtualmin.com/debian binary/ webmin-virtual-server-theme 9.2 [2,303 kB]
Err:2 http://cloudmin.virtualmin.com/debian binary/ webmin-virtual-server-theme 9.2
Hash Sum mismatch
Fetched 5,187 kB in 1s (2,977 kB/s)
E: Failed to fetch http://cloudmin.virtualmin.com/debian/binary/webmin-server-manager_8.4_all.deb Hash Sum mismatch

E: Failed to fetch http://cloudmin.virtualmin.com/debian/binary/webmin-virtual-server-theme_9.2_all.deb Hash Sum mismatch

As of this morning, I am unable to run apt-get update. It doesn’t specifically say “hash sum error” but it seems as though a related repository as the one discussed in this topic is moved or corrupted:

Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Fetched 4,162 kB in 10min 3s (6,892 B/s)
W: Failed to fetch http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-universal/Release Unable to find expected entry ‘main/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.

The update process ended right there without the usual summary of files updated/remain/etc. It looks like it aborted.
Also, for the last couple of weeks the update hangs for a looooong time at a couple of points, and as it sits there, the last thing printed on the right side of the line is an IPV6 address. Until that started happening, updating was always very quick without significant pauses. This also suggests a problem with the repository resource, or at least my ability to access it here.

I’m very sorry, I’ve asked Joe just now to speed up the fix on this one :slight_smile:

In a pinch, you could always temporarily comment out the Virtualmin repo. It’ll be back up and running soon though!

-Eric

Okay, Joe has redone all the metadata for the repositories – can you guys try again?

Thanks!

-Eric

Still get the issue when I try to install cloudmin, hash sum missmatch on webmin-server-manager and webmin-virtual-server-theme.

Can you paste in the full error that you’re seeing, so that we can see the repo/files in question? Thanks!

I get this:
The following NEW packages will be installed
webmin-server-manager webmin-virtual-server-mobile
The following packages will be upgraded:
webmin-virtual-server-theme
1 to upgrade, 2 to newly install, 0 to remove and 1 not to upgrade.
Need to get 5,187 kB/5,254 kB of archives.
After this operation, 453 MB of additional disk space will be used.
Get:1 http://cloudmin.virtualmin.com/debian binary/ webmin-server-manager 8.4 [2,884 kB]
Err:1 http://cloudmin.virtualmin.com/debian binary/ webmin-server-manager 8.4
Hash Sum mismatch
Get:2 http://cloudmin.virtualmin.com/debian binary/ webmin-virtual-server-theme 9.2 [2,303 kB]
Err:2 http://cloudmin.virtualmin.com/debian binary/ webmin-virtual-server-theme 9.2
Hash Sum mismatch
Fetched 5,187 kB in 1s (2,999 kB/s)
E: Failed to fetch http://cloudmin.virtualmin.com/debian/binary/webmin-server-manager_8.4_all.deb Hash Sum mismatch

E: Failed to fetch http://cloudmin.virtualmin.com/debian/binary/webmin-virtual-server-theme_9.2_all.deb Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
… install failed