Ubuntu Desktop upgrade file size failure

Running Desktop 5.2.2-322 in Ubuntu 22.02 LTS.
Trying to upgrade to 5.3.1-496 fails, says the file size doesn’t match.

The following packages will be upgraded:
  mattermost-desktop
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 74.0 MB of archives.
After this operation, 106 MB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 https://deb.packages.mattermost.com stable/main amd64 mattermost-desktop amd64 5.3.1-496 [74.0 MB]
Err:1 https://deb.packages.mattermost.com stable/main amd64 mattermost-desktop amd64 5.3.1-496
  File has unexpected size (74034020 != 74048594). Mirror sync in progress? [IP: 13.249.85.37 443]
  Hashes of expected file:
   - SHA512:4c87f8ffc783c02fa2cf8bab9032b16d488de0b4280f45e0dd3b15cd902378ed45f98ce039a3ea9dcd77e54d35fd01b17d01dd663f1b43892d0b29af06d32af8
   - SHA256:df1c6731af6d24407254be640082f0b252445097920905fae4c15eae1ee49512
   - SHA1:e58fcba69cb43954aeeff5d948d875c466a0fa06 [weak]
   - MD5Sum:8000df987a2c125b0d571662b9ac257a [weak]
   - Filesize:74048594 [weak]
E: Failed to fetch https://deb.packages.mattermost.com/pool/main/m/mattermost-desktop/mattermost-desktop_5.3.1-1_amd64.deb  File has unexpected size (74034020 != 74048594). Mirror sync in progress? [IP: 13.249.85.37 443]
   Hashes of expected file:
    - SHA512:4c87f8ffc783c02fa2cf8bab9032b16d488de0b4280f45e0dd3b15cd902378ed45f98ce039a3ea9dcd77e54d35fd01b17d01dd663f1b43892d0b29af06d32af8
    - SHA256:df1c6731af6d24407254be640082f0b252445097920905fae4c15eae1ee49512
    - SHA1:e58fcba69cb43954aeeff5d948d875c466a0fa06 [weak]
    - MD5Sum:8000df987a2c125b0d571662b9ac257a [weak]
    - Filesize:74048594 [weak]
E: Unable to fetch some archives, try running apt-get update or apt-get --fix-missing.

I tried downloading the deb file from the official page as well, and it’s hash doesn’t match either.

sha256sum mattermost-desktop_5.3.1-1_amd64.deb
097ae2fa762f71c4cbb53538a428956a18bea74e35a4c4d7f2bc99457ba6fa26 mattermost-desktop_5.3.1-1_amd64.deb

should be 4db4359dd7a3f44b0a235afe6ef427822b82de4de19bd8010b8899054393fc2c

https://releases.mattermost.com/desktop/5.3.1/mattermost-desktop_5.3.1-1_amd64.deb

I have the same problem on MX Linux.

Hi @colin.mcinnes and @theoreticMK and welcome to the Mattermost forums!

This is a known issue unfortunately, see also this forum topic:

Mattermost is still working on a fix for that, I’ll update the linked topic once that fix is available and will close this one, please watch the other one for updates.