TASK ERROR: checksum mismatch while downloading templates

420huehue

New Member
Jul 20, 2025
4
0
1
Hi, My proxmox env (8.4.0) has an opnsense instance running on it, it works perfectly. Now I'm trying to install Pi-Hole and I need a debian template for it, but I'm getting the following error:

downloading http://download.proxmox.com/images/system/debian-12-standard_12.7-1_amd64.tar.zst to /var/lib/vz/template/cache/debian-12-standard_12.7-1_amd64.tar.zst
--2025-07-20 10:42:36-- http://download.proxmox.com/images/system/debian-12-standard_12.7-1_amd64.tar.zst
Resolving download.proxmox.com (download.proxmox.com)... 45.84.67.184, 2a0e:9880:304::184
Connecting to download.proxmox.com (download.proxmox.com)|45.84.67.184|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 126515062 (121M) [application/octet-stream]
Saving to: '/var/lib/vz/template/cache/debian-12-standard_12.7-1_amd64.tar.zst.tmp_dwnl.3650'
0K ........ ........ ........ ........ 26% 8.22M 11s
32768K ........ ........ ........ ........ 53% 8.76M 7s
65536K ........ ........ ........ ........ 79% 8.83M 3s
98304K ........ ........ ........ 100% 8.74M=14s
2025-07-20 10:42:50 (8.62 MB/s) - '/var/lib/vz/template/cache/debian-12-standard_12.7-1_amd64.tar.zst.tmp_dwnl.3650' saved [126515062/126515062]
calculating checksum...
TASK ERROR: checksum mismatch: got '9228427b22ce9164b4b632053d0db7ef4652fdb3684f94e3c42085836f37c0bb4da69232595181a27480417186d51db543501929ee22cb8e779c980bac56e28b' != expect '39f6d06e082d6a418438483da4f76092ebd0370a91bad30b82ab6d0f442234d63fe27a15569895e34d6d1e5ca50319f62637f7fb96b98dbde4f6103cf05bff6d'

This happens with any debian or ubuntu templates (alpine images can be downloaded successfully though). Any ideas? Thank you!
 
I also tried manually downloading the template (ubuntu, in this case) and uploading it by hand, but when creating a container using the template I got this error:

Logical volume "vm-101-disk-0" created.
Creating filesystem with 16777216 4k blocks and 4194304 inodes
Filesystem UUID: a8d6b5b3-3390-40a5-9c9e-59cba43eb2d4
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424
extracting archive '/var/lib/vz/template/cache/ubuntu-24.10-standard_24.10-1_amd64.tar.zst'
/*stdin*\ : Decoding error (36) : Restored data doesn't match checksum
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
Logical volume "vm-101-disk-0" successfully removed.
TASK ERROR: unable to create CT 101 - command 'lxc-usernsexec -m u:0:100000:65536 -m g:0:100000:65536 -- tar xpf - --zstd --totals --one-file-system -p --sparse --numeric-owner --acls --xattrs '--xattrs-include=user.*' '--xattrs-include=security.capability' '--warning=no-file-ignored' '--warning=no-xattr-write' -C /var/lib/lxc/101/rootfs --skip-old-files --anchored --exclude './dev/*'' failed: exit code 2
 
You may need to remove some prior (incorrect?) templates.
What does this output:
Code:
ls /var/lib/vz/template/cache/debian-12-standard* -l

And:
Code:
ls /var/lib/vz/template/cache/ubuntu-24.10-standard* -l


I also note your PVE environment is not fully updated, you may want todo that.
 
root@pve:~# ls /var/lib/vz/template/cache/ubuntu-24.10-standard* -l
ls: cannot access '/var/lib/vz/template/cache/ubuntu-24.10-standard*': No such file or directory
root@pve:~# ls /var/lib/vz/template/cache/debian-12-standard* -l
ls: cannot access '/var/lib/vz/template/cache/debian-12-standard*': No such file or directory
root@pve:~# ls /var/lib/vz/template/cache -l
total 0

The cache folder is empty.
I'm kind of having the same checksum issue when updating:

Starting system upgrade: apt-get dist-upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
proxmox-kernel-6.8.12-12-pve-signed
The following packages will be upgraded:
base-files bash busybox ca-certificates debian-archive-keyring distro-info-data fonts-glyphicons-halflings frr frr-pythontools gcc-12-base gnutls-bin grub-common grub-efi-amd64 grub-efi-amd64-bin
grub-efi-amd64-signed grub-pc-bin grub2-common initramfs-tools initramfs-tools-core krb5-locales libcap2 libcap2-bin libfile-find-rule-perl libgcc-s1 libglib2.0-0 libgnutls-dane0 libgnutls30
libgnutlsxx30 libgssapi-krb5-2 libicu72 libjs-bootstrap libk5crypto3 libkrb5-3 libkrb5support0 libnss-systemd libnvpair3linux libpam-systemd libperl5.36 libproxmox-backup-qemu0 libpve-cluster-api-perl
libpve-cluster-perl libpve-common-perl libpve-notify-perl libpython3.11-minimal libpython3.11-stdlib libqt5core5a libqt5dbus5 libqt5network5 libssl3 libstdc++6 libsubid4 libsystemd-shared libsystemd0
libtpms0 libudev1 libuutil3linux libxml2 libzfs4linux libzpool5linux login openssh-client openssh-server openssh-sftp-server openssl passwd perl perl-base perl-modules-5.36 proxmox-archive-keyring
proxmox-backup-client proxmox-backup-file-restore proxmox-backup-restore-image proxmox-grub proxmox-kernel-6.8 proxmox-mail-forward proxmox-mini-journalreader proxmox-widget-toolkit pve-cluster
pve-container pve-edk2-firmware pve-edk2-firmware-legacy pve-edk2-firmware-ovmf pve-esxi-import-tools pve-firewall pve-firmware pve-i18n pve-manager pve-qemu-kvm python3.11 python3.11-minimal qemu-server
spl ssh systemd systemd-boot systemd-boot-efi systemd-sysv udev uidmap zfs-initramfs zfs-zed zfsutils-linux
102 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 274 MB/408 MB of archives.
After this operation, 582 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-firmware all 3.16-3 [164 MB]
Err:1 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-firmware all 3.16-3
Hash Sum mismatch
Hashes of expected file:
- SHA512:e5052c540ee45526b2f3007c7e546971a98e662d7c107e56bf70896c170563e093ecc51945e143206a2ae1fd3a025e5e52a8237786f166fe0515650dc80f6552
- SHA256:00c68264faaa437262f528b0f2b5d74e9c5def8f8ece26c735a0df77dd6c446a
- MD5Sum:b1db2b2edeca9fdfc8e4a996a40d679d [weak]
- Filesize:164178360 [weak]
Hashes of received file:
- SHA512:a854b491ad917133e7e44c10f7d2ba77402b5b089c425ae7143519fd35dc34480292e8c6d61b6b5277c89f1d93a0fbd4b1d5193c3296625d7dfb94ed9fb71896
- SHA256:7036b78ee2f406902252b4c9e1cfd9ee7f669aa1a0bf663b80f03ecbd13ddd3f
- MD5Sum:84ac77bacc5b083561231618d3b3746c [weak]
- Filesize:164178360 [weak]
Last modification reported: Mon, 14 Jul 2025 16:04:16 +0000
Get:2 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8.12-12-pve-signed amd64 6.8.12-12 [103 MB]
Err:2 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 proxmox-kernel-6.8.12-12-pve-signed amd64 6.8.12-12
Hash Sum mismatch
Hashes of expected file:
- SHA512:b382c9790ab59477b8357607934725d3a15e6a868317c5f82433c9a28b5a518018f1856345baa2a47fdf7cdb1c2d9c2b88711f41a50366cf840c669918294fed
- SHA256:7c40d69622951986b01fa470eb485d2525675a2a489ce521d922d115e7722498
- MD5Sum:d2f54e62e890c8ffd6faf66d944a535f [weak]
- Filesize:103359592 [weak]
Hashes of received file:
- SHA512:47b8c0c8ceeb951648f0909d62845431f6272ce68b4e8831f91b496ee1d3291359fc2fb5392f93c419bd0a26bdb81f23bdedb520960199e0ba3ded55ed90f16c
- SHA256:f1d1219a484df76ee9aa156a6dc065c5ebd98f3f9d8ca5448d9522c008d94382
- MD5Sum:ab0733d58a1b46c80a103c890ffe0d71 [weak]
- Filesize:103359592 [weak]
Last modification reported: Mon, 14 Jul 2025 18:07:31 +0000
Get:3 http://download.proxmox.com/debian/pve bookworm/pve-no-subscription amd64 pve-edk2-firmware-ovmf all 4.2025.02-4~bpo12+1 [6526 kB]
Fetched 274 MB in 30s (9089 kB/s)
E: Failed to fetch http://download.proxmox.com/debian/...tion/binary-amd64/pve-firmware_3.16-3_all.deb Hash Sum mismatch
Hashes of expected file:
- SHA512:e5052c540ee45526b2f3007c7e546971a98e662d7c107e56bf70896c170563e093ecc51945e143206a2ae1fd3a025e5e52a8237786f166fe0515650dc80f6552
- SHA256:00c68264faaa437262f528b0f2b5d74e9c5def8f8ece26c735a0df77dd6c446a
- MD5Sum:b1db2b2edeca9fdfc8e4a996a40d679d [weak]
- Filesize:164178360 [weak]
Hashes of received file:
- SHA512:a854b491ad917133e7e44c10f7d2ba77402b5b089c425ae7143519fd35dc34480292e8c6d61b6b5277c89f1d93a0fbd4b1d5193c3296625d7dfb94ed9fb71896
- SHA256:7036b78ee2f406902252b4c9e1cfd9ee7f669aa1a0bf663b80f03ecbd13ddd3f
- MD5Sum:84ac77bacc5b083561231618d3b3746c [weak]
- Filesize:164178360 [weak]
Last modification reported: Mon, 14 Jul 2025 16:04:16 +0000
E: Failed to fetch http://download.proxmox.com/debian/...rnel-6.8.12-12-pve-signed_6.8.12-12_amd64.deb Hash Sum mismatch
Hashes of expected file:
- SHA512:b382c9790ab59477b8357607934725d3a15e6a868317c5f82433c9a28b5a518018f1856345baa2a47fdf7cdb1c2d9c2b88711f41a50366cf840c669918294fed
- SHA256:7c40d69622951986b01fa470eb485d2525675a2a489ce521d922d115e7722498
- MD5Sum:d2f54e62e890c8ffd6faf66d944a535f [weak]
- Filesize:103359592 [weak]
Hashes of received file:
- SHA512:47b8c0c8ceeb951648f0909d62845431f6272ce68b4e8831f91b496ee1d3291359fc2fb5392f93c419bd0a26bdb81f23bdedb520960199e0ba3ded55ed90f16c
- SHA256:f1d1219a484df76ee9aa156a6dc065c5ebd98f3f9d8ca5448d9522c008d94382
- MD5Sum:ab0733d58a1b46c80a103c890ffe0d71 [weak]
- Filesize:103359592 [weak]
Last modification reported: Mon, 14 Jul 2025 18:07:31 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

System not fully up to date (found 103 new packages)

When I installed this server I had a faulty RAM module that I replaced (but I hadn’t tried downloading templates before because my server was freezing from time to time). Could that be related to the issue? I read that nothing needs to be done for Proxmox after replacing the RAM.
 
Constant checksum errors are either RAM or storage device related.

I would probably do/check the following:

1. Make sure you have full backups of any data that is valuable to you.
2. Check the RAM & Storage device/s properly.
3. Re-install Proxmox fresh. (See below).

I read that nothing needs to be done for Proxmox after replacing the RAM.
That would only be true assuming the original installation was correct. In your case - having installed with faulty RAM during the installation, it is more than likely, your installation is compromised. I would start again (with the latest ISO).
 
  • Like
Reactions: leesteken
I just reinstalled everything and restored the backup of my VM running OPNsense, and unfortunately I’m still having the same issues. Yesterday I left Memtest86+ running for 18 hours to ensure the new RAM wasn’t defective, and it found no errors. The hard drive is a new NVMe M.2 that was also tested before installation. I don’t know what else to try, I’m out of options.
 
Assuming RAM & disk are OK, check the controller card/bus for that NVMe. Also update the BIOS on the MB.

As a test - if you boot up with any Live Distro - do you still get checksum errors.


I just reinstalled everything and restored the backup of my VM running OPNsense, and unfortunately I’m still having the same issues.
Before you restored that OPNsense VM - were all checksums OK?