Can't install on fresh server - Hash Sum mismatch

SYSTEM INFORMATION
OS type and version Ubuntu 24.04
Virtualmin version 8

I’m trying to install on a freshly installed system and I’m getting this error. I had to remove the “https:” from the links and added more dots to the domain… because I’m a new user and I can’t post more than 2 links.

sudo sh virtualmin-install.sh -b LEMP -t mini --include PostgreSQL --extra webmin-postgresql,postgresql,postgresql-server --exclude MariaDB

Welcome to the Virtualmin GPL installer, version 8.1.1

This script must be run on a freshly installed supported OS. It does not
perform updates or upgrades (use your system package manager) or license
changes (use the “virtualmin change-license” command).

The systems currently supported by the install script are:

Enterprise Linux and derivatives
  - Red Hat Enterprise Linux 8, 9, and 10 on x86_64 and aarch64
  - AlmaLinux and Rocky Linux 8, 9, and 10 on x86_64 and aarch64
  
Debian Linux and derivatives
  - Debian 12 and 13 on i386, amd64, and arm64
  - Ubuntu 22.04 LTS and 24.04 LTS on i386, amd64, and arm64

If your OS/version/arch is not listed, installation will fail. More
details about the systems supported by the script can be found here:

virtualmin...com/os-support

The installation will require up to 1 GB of disk space. The selected
package bundle is LEMP and the type of install is mini. More details
about the package bundles and types can be found here:

virtualmin...com/installation-variations

Exit and re-run this script with --help flag to see available options.

Continue? (y/n) y

▣:white_medium_square::white_medium_square::white_medium_square: Phase 1 of 4: Check
Checking system time :check_mark:
Checking Perl installation :check_mark:
Checking CA certificates package :check_mark:
Checking HTTP client :check_mark:
Checking GPG package :check_mark:

▣▣:white_medium_square::white_medium_square: Phase 2 of 4: Setup
Cleaning up software repo metadata :check_mark:
Installing Virtualmin 8 stable repository ✘

[ERROR] Something went wrong. Exiting.
[ERROR] The last few log entries were:
Hit:6 ap-singapore-1-ad-1.clouds.ports.ubuntu…com/ubuntu-ports noble-backports InRelease
Hit:7 ports.ubuntu…com/ubuntu-ports noble-security InRelease
Fetched 33.2 kB in 1s (37.7 kB/s)
Reading package lists…
E: Failed to fetch download.virtualmin…com/dists/virtualmin/main/binary-arm64/Packages.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:14917 [weak]
- SHA256:ab2d69150d2738e078b8b7d4ed71c82d7c2c75115aa041785d4ab576901ca5f6
Hashes of received file:
- SHA256:838db11522928f5d67823ae6020d81bcdbaba8f114999bbca070fb249d4a2b42
- Filesize:14917 [weak]
Last modification reported: Wed, 28 Jan 2026 22:02:15 +0000
Release file created at: Wed, 28 Jan 2026 20:06:29 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
[2026-01-30 10:41:48 UTC] [INFO] Installing Virtualmin 8 stable repository: [2026-01-30 10:41:48 UTC] [INFO] Failed with error: 100

I’ve also tried to apt-get clean and apt-get update and below are the results:

Get:1 download.virtualmin…com virtualmin InRelease [3341 B]
Get:2 download.virtualmin…com virtualmin/main all Packages [14.9 kB]
Get:3 download.virtualmin..com virtualmin/main arm64 Packages [14.9 kB]
Err:3 download.virtualmin..com virtualmin/main arm64 Packages
Hash Sum mismatch
Hashes of expected file:

  • Filesize:14917 [weak]
  • SHA256:ab2d69150d2738e078b8b7d4ed71c82d7c2c75115aa041785d4ab576901ca5f6
    Hashes of received file:
  • SHA256:838db11522928f5d67823ae6020d81bcdbaba8f114999bbca070fb249d4a2b42
  • Filesize:14917 [weak]
    Last modification reported: Wed, 28 Jan 2026 22:02:15 +0000
    Release file created at: Wed, 28 Jan 2026 20:06:29 +0000
    Hit:4 ports.ubuntu..com/ubuntu-ports noble-security InRelease
    Hit:5 ap-singapore-1-ad-1.clouds.ports.ubuntu..com/ubuntu-ports noble InRelease
    Hit:6 ap-singapore-1-ad-1.clouds.ports.ubuntu…com/ubuntu-ports noble-updates InRelease
    Hit:7 ap-singapore-1-ad-1.clouds.ports.ubuntu…com/ubuntu-ports noble-backports InRelease
    Fetched 33.2 kB in 2s (13.6 kB/s)
    Reading package lists… Done
    E: Failed to fetch download.virtualmin…com/dists/virtualmin/main/binary-arm64/Packages.gz Hash Sum mismatch
    Hashes of expected file:
    - Filesize:14917 [weak]
    - SHA256:ab2d69150d2738e078b8b7d4ed71c82d7c2c75115aa041785d4ab576901ca5f6
    Hashes of received file:
    - SHA256:838db11522928f5d67823ae6020d81bcdbaba8f114999bbca070fb249d4a2b42
    - Filesize:14917 [weak]
    Last modification reported: Wed, 28 Jan 2026 22:02:15 +0000
    Release file created at: Wed, 28 Jan 2026 20:06:29 +0000
    E: Some index files failed to download. They have been ignored, or old ones used instead.
1 Like

After waiting 2 days it worked automatically.

Yeah, we have been having cache invalidation issues on the new repo, as it is behind a CDN and the cache-control headers aren’t being set correctly. We’ll get that sorted shortly.

In the meantime, this evening I manually kicked of a cache invalidation, which fixed it for some users (though no guarantee, as invalidating caches in a CDN is not a reliable operation). e.g. Rocky Linux 10.1 Virtualmin install fail

And: 404 error in logs while trying to upgrade to pro license

The user-serviceable part of this is running sudo dnf clean all or sudo apt clean (depending on your OS) to flush out the package manager metadata. If in the time since the last metadata download, the problem has been fixed (as it probably has in this case), it will work correctly.

Thanks, I read the other post and I don’t know why I kept trying sudo apt-get clean, that would explain why it didn’t work then I created this post, my bad.

This has been fixed! Sorry about that!

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.