Packages.xz has unexpected size

Questions about Wine on Linux
Locked
olipar
Newbie
Newbie
Posts: 4
Joined: Sat Jul 25, 2020 7:56 am

Packages.xz has unexpected size

Post by olipar »

Greetings WineHQ-Forum!
I've recently decided to 'upgrade' my Debian to testing, since I was missing a couple of packages in stable.
In doing so I updated the following line in my sources.list to:

Code: Select all

deb https://dl.winehq.org/wine-builds/debian/ testing main
Upon running

Code: Select all

sudo apt update
I got the following Error:

Code: Select all

Get:11 https://dl.winehq.org/wine-builds/debian testing/main i386 Packages [209 kB]
Err:11 https://dl.winehq.org/wine-builds/debian testing/main i386 Packages
  File has unexpected size (224840 != 209248). Mirror sync in progress? [IP: 151.101.2.217 443]
  Hashes of expected file:
   - Filesize:209248 [weak]
   - SHA512:e8c03a0e4596f0531b42346da7b9f8cd85f4dda6ffafa1525f39f22d8c359658c06bb706d7fe8f79907ad53b3877783ce46e3721bb736ef897e09db59f4593c5
   - SHA256:0a1263faeff504e42b641fb081a3f0ed1c4da26b7a2e2c7523b14ea1c8f89872
   - SHA1:d107d542a1f13bb3b3380f43c712ca4d937cd9ec [weak]
   - MD5Sum:648fd34c3387673d9a4997dcee045178 [weak]
  Release file created at: Sat, 09 May 2020 17:37:58 +0000
Get:12 https://dl.winehq.org/wine-builds/debian testing/main amd64 Packages [200 kB]
Err:12 https://dl.winehq.org/wine-builds/debian testing/main amd64 Packages
  
Fetched 2461 B in 2s (1441 B/s)
Reading package lists... Done
E: Failed to fetch https://dl.winehq.org/wine-builds/debian/dists/testing/main/binary-i386/Packages.xz  File has unexpected size (224840 != 209248). Mirror sync in progress? [IP: 151.101.2.217 443]
   Hashes of expected file:
    - Filesize:209248 [weak]
    - SHA512:e8c03a0e4596f0531b42346da7b9f8cd85f4dda6ffafa1525f39f22d8c359658c06bb706d7fe8f79907ad53b3877783ce46e3721bb736ef897e09db59f4593c5
    - SHA256:0a1263faeff504e42b641fb081a3f0ed1c4da26b7a2e2c7523b14ea1c8f89872
    - SHA1:d107d542a1f13bb3b3380f43c712ca4d937cd9ec [weak]
    - MD5Sum:648fd34c3387673d9a4997dcee045178 [weak]
   Release file created at: Sat, 09 May 2020 17:37:58 +0000
E: Failed to fetch https://dl.winehq.org/wine-builds/debian/dists/testing/main/binary-amd64/Packages.xz  
E: Some index files failed to download. They have been ignored, or old ones used instead.

I at first thought that due to the suggested cause the issue would resolve itself - now however, more than a week later, nothing seems to have changed so I suspect something else to have gone awry.
If you have any suggestions I'd be glad to try.
Sincerely,
Oliver
User avatar
dimesio
Moderator
Moderator
Posts: 13201
Joined: Tue Mar 25, 2008 10:30 pm

Re: Packages.xz has unexpected size

Post by dimesio »

Use bullseye, not testing, in /etc/apt/sources.list. https://bugs.winehq.org/show_bug.cgi?id=48264#c22
olipar
Newbie
Newbie
Posts: 4
Joined: Sat Jul 25, 2020 7:56 am

Re: Packages.xz has unexpected size

Post by olipar »

Thank you! It now works.
Locked