Problem performing updates; appears to be a problem with the virtualmin repositories

This is the output I'm getting from apt-get update:

root@soc:~# apt-get update
Get:1 http://security.debian.org stretch/updates InRelease [94.3 kB]
Ign:2 http://mirrors.digitalocean.com/debian stretch InRelease
Hit:3 http://mirrors.digitalocean.com/debian stretch-updates InRelease
Hit:4 http://mirrors.digitalocean.com/debian stretch Release
Hit:5 https://repos.insights.digitalocean.com/apt/do-agent main InRelease
Hit:6 https://packages.sury.org/php stretch InRelease
Hit:9 http://software.virtualmin.com/vm/6/apt virtualmin-universal InRelease
Get:7 http://software.virtualmin.com/vm/6/apt virtualmin-stretch InRelease [10.7 kB]
Get:10 http://software.virtualmin.com/vm/6/apt virtualmin-stretch/main all Packages [6,072 B]
Get:11 http://software.virtualmin.com/vm/6/apt virtualmin-stretch/main all Contents (deb) [178 B]
Get:12 http://software.virtualmin.com/vm/6/apt virtualmin-stretch/main amd64 Contents (deb) [460 B]
Err:12 http://software.virtualmin.com/vm/6/apt virtualmin-stretch/main amd64 Contents (deb)
  Hash Sum mismatch
  Hashes of expected file:
   - Filesize:460 [weak]
   - SHA512:33d94d6f231922fa4dc87fa69b7a60fae1904161e2fc6a6117fd1856e7dc18c3a18f813ddb3eaca5c9c14c83707ec5d9fa7de0739a129a6fa034d6eb4ee22553
   - SHA256:4d0c839626ae77d6f168a7cb9bfac84be7786c9fd3b47f013677229d48a8010d
   - SHA1:15891bcaa7252dbdaa463aed713cf79ef4b01119 [weak]
   - MD5Sum:06c12f764dde319a3541bd3ac660b973 [weak]
  Hashes of received file:
   - SHA512:ebfb3b61171ae9f0e13221949460e04bb446b0f31070c4d48754363a911214e660cd6c0d5dc292ce4503012f8c57e8d094a47c6187b4180ac56a034001beb413
   - SHA256:84facca219622c1788d736a4d52d67757d54d60687d992b790e0c37d7e7db3aa
   - SHA1:e0195537a1b9290c8a599386eee2ef1e3abfad9b [weak]
   - MD5Sum:bf3d88f7969782ce34b531acc80dc06b [weak]
   - Filesize:460 [weak]
  Last modification reported: Thu, 23 Apr 2020 14:52:44 +0000
  Release file created at: Thu, 23 Apr 2020 13:19:14 +0000
Fetched 106 kB in 1s (54.1 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'http://software.virtualmin.com/vm/6/apt virtualmin-universal InRelease' doesn't support architecture 'amd64'
E: Failed to fetch http://software.virtualmin.com/vm/6/apt/dists/virtualmin-stretch/main/Contents-amd64.gz  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:460 [weak]
    - SHA512:33d94d6f231922fa4dc87fa69b7a60fae1904161e2fc6a6117fd1856e7dc18c3a18f813ddb3eaca5c9c14c83707ec5d9fa7de0739a129a6fa034d6eb4ee22553
    - SHA256:4d0c839626ae77d6f168a7cb9bfac84be7786c9fd3b47f013677229d48a8010d
    - SHA1:15891bcaa7252dbdaa463aed713cf79ef4b01119 [weak]
    - MD5Sum:06c12f764dde319a3541bd3ac660b973 [weak]
   Hashes of received file:
    - SHA512:ebfb3b61171ae9f0e13221949460e04bb446b0f31070c4d48754363a911214e660cd6c0d5dc292ce4503012f8c57e8d094a47c6187b4180ac56a034001beb413
    - SHA256:84facca219622c1788d736a4d52d67757d54d60687d992b790e0c37d7e7db3aa
    - SHA1:e0195537a1b9290c8a599386eee2ef1e3abfad9b [weak]
    - MD5Sum:bf3d88f7969782ce34b531acc80dc06b [weak]
    - Filesize:460 [weak]
   Last modification reported: Thu, 23 Apr 2020 14:52:44 +0000
   Release file created at: Thu, 23 Apr 2020 13:19:14 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Status: 
Active

Comments

I am getting the same problem when I am try to install virtualmin-nginx

I'm getting this with Debian 10

Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://software.virtualmin.com/vm/6/apt virtualmin-universal InRelease' doesn't support architecture 'i386'
N: Skipping acquire of configured file 'main/binary-amd64/Packages' as repository 'http://software.virtualmin.com/vm/6/apt virtualmin-universal InRelease' doesn't support architecture 'amd64'

Edit: Only way to get this working was editing the repo line to this....
deb [arch=all] http://software.virtualmin.com/vm/6/apt virtualmin-universal main

Not sure if that is correct but it seems to be working for me.