Linux (Ubuntu/Debian) repository package manager issue

Summary
I’m using the .deb package repository for the desktop client in Linux Kubuntu as described in the Ubuntu/Debian tab on this page: Desktop App install guides — Mattermost documentation but I am getting an error since a couple of days when trying to install an update.

Steps to reproduce

sudo apt upgrade
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: 2600:9000:2240:2800:5:5ce6:8a40:93a1 443]
  Hashes of expected file:
   - SHA512:4c87f8ffc783c02fa2cf8bab9032b16d488de0b4280f45e0dd3b15cd902378ed45f98ce039a3ea9dcd77e54d35fd01b17d01dd663f1b43892d0b29af06d32af8
   - SHA256:df1c6731af6d24407254be640082f0b252445097920905fae4c15eae1ee49512
   - SHA1:e58fcba69cb43954aeeff5d948d875c466a0fa06 [weak]
   - MD5Sum:8000df987a2c125b0d571662b9ac257a [weak]
   - Filesize:74048594 [weak]
sh: 0: getcwd() failed: No such file or directory
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: 2600:9000:2240:2800:5:5ce6:8a40:93a1 443]
   Hashes of expected file:
    - SHA512:4c87f8ffc783c02fa2cf8bab9032b16d488de0b4280f45e0dd3b15cd902378ed45f98ce039a3ea9dcd77e54d35fd01b17d01dd663f1b43892d0b29af06d32af8
    - SHA256:df1c6731af6d24407254be640082f0b252445097920905fae4c15eae1ee49512
    - SHA1:e58fcba69cb43954aeeff5d948d875c466a0fa06 [weak]
    - MD5Sum:8000df987a2c125b0d571662b9ac257a [weak]
    - Filesize:74048594 [weak]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Hi @mxa and welcome to the Mattermost forums!

Unfortunately, this is a known issue at the moment, please see this thread for possible workarounds:

1 Like