Since a few days i can't update vscode via apt update
E: Failed to fetch https://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2 File has unexpected size (201047 != 200914). Mirror sync in progress? [IP: 13.66.3.153 443]
Hashes of expected file:
- Filesize:200914 [weak]
- SHA512:a91d388504b56c875620f73b618813be1c127d6bfe96406cc6e9a39fdf33f1dd2c8ecbda4a636f0c86bc18005e4f5d0683da0c02ba13c555cef8d11eb83412fe
- SHA256:1d39334cb2779572dd17869a05d3ed3f1d57992cc9755a34a4d2622132b19f57
- SHA1:d5224a98d6adfb4ab65d66aa803f9688a6503080 [weak]
- MD5Sum:2fc601c3aa23f067ef305bfb7f7086e7 [weak]
Release file created at: Mon, 28 Sep 2020 06:53:06 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Same here, ubuntu version as @atmaniak, region Tenerife/Spain.
Same issue here (Belgium) since this morning on 2 debian systems : Debian GNU/Linux 9.13 (stretch), and the second one is a Debian buster
Réception de:8 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [201 kB]
Err:8 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages
Writing more data than expected (201047 > 200914)
Hashes of expected file:
Same ubuntu version 20.04, region: India
same issue for Ubuntu 20.04. region: France
Same on Ubuntu 20.04.1, region: Czech
Same issue here. Elementary OS 5.1.7 (Ubuntu 18.04), region: Denmark
Duplicate of: https://github.com/microsoft/vscode/issues/107773
The same issue. Debian Bullseye.
Same issue here. KUbuntu 20.04.1. Region: Serbia.
E: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2 File has unexpected size (201420 != 200914). Mirror sync in progress?
Well, it looks like it's fixed now. :)
Yes for sure...
Same problem:
Zorin OS 15.3, India
This works for me (connecting from Switzerland).
@KushalSM Could you retry? This might take some time to reach all regions.
Checked with the repo team. This was fixed almost 5 hours ago. Anyone still seeing this, please let us know.
same issue on eos 5.1.7 hera
this fixed on this morning
Restored (Belgium, this morning, debian buster). Thanks !
Back to normal !
@chrmarti
Hey its all fine now. Thx.
Cheers!!!
Hello.
The same issue now in Russia.
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
Get:15 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [204 kB]
Err:15 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages
File has unexpected size (203820 != 203585). Mirror sync in progress? [IP: 40.114.136.21 80]
Hashes of expected file:
- Filesize:203585 [weak]
- SHA512:070b1469cbfcc74fbe83b5b8bd1af9707f9f0ad520d4bf161340532c8bec4fd31812cf9242a81fe54e805837495281bcece1edb925104ff817191e068970863c
- SHA256:7e6635480cc4a9463de3167215ad504c8721bd43d9c40b4ad71b44f60380757d
- SHA1:9baf9b98b78b41be5c361ba7825f016e1abd31d2 [weak]
- MD5Sum:f509c48fcb219ac06f64fbec78be0dd5 [weak]
Release file created at: Thu, 15 Oct 2020 18:21:44 +0000
Fetched 10,6 kB in 1s (8 524 B/s)
Reading package lists... Done
E: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2 File has unexpected size (203820 != 203585). Mirror sync in progress? [IP: 40.114.136.21 80]
Hashes of expected file:
- Filesize:203585 [weak]
- SHA512:070b1469cbfcc74fbe83b5b8bd1af9707f9f0ad520d4bf161340532c8bec4fd31812cf9242a81fe54e805837495281bcece1edb925104ff817191e068970863c
- SHA256:7e6635480cc4a9463de3167215ad504c8721bd43d9c40b4ad71b44f60380757d
- SHA1:9baf9b98b78b41be5c361ba7825f016e1abd31d2 [weak]
- MD5Sum:f509c48fcb219ac06f64fbec78be0dd5 [weak]
Release file created at: Thu, 15 Oct 2020 18:21:44 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
Same issue, Ubuntu 18.04.5 LTS - Canada:
E: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2 File has unexpected size (203820 != 203585). Mirror sync in progress? [IP: 13.93.152.112 80]
Hashes of expected file:
- Filesize:203585 [weak]
- SHA512:070b1469cbfcc74fbe83b5b8bd1af9707f9f0ad520d4bf161340532c8bec4fd31812cf9242a81fe54e805837495281bcece1edb925104ff817191e068970863c
- SHA256:7e6635480cc4a9463de3167215ad504c8721bd43d9c40b4ad71b44f60380757d
- SHA1:9baf9b98b78b41be5c361ba7825f016e1abd31d2 [weak]
- MD5Sum:f509c48fcb219ac06f64fbec78be0dd5 [weak]
Release file created at: Thu, 15 Oct 2020 18:21:44 +0000
Still having problems. Location: India
`Err:6 https://packages.microsoft.com/repos/vscode stable/main amd64 Packages
File has unexpected size (203820 != 203585). Mirror sync in progress? [IP: 20.188.102.6 443]
Hashes of expected file:
I have the same issue in USA
Err:38 https://packages.microsoft.com/ubuntu/18.04/prod bionic/main amd64 Packages
File has unexpected size (141364 != 141252). Mirror sync in progress? [IP: 40.74.238.15 443]
Hashes of expected file:
Just got the same issue:( Siberia, Russia.
Works now
This was fixed around Friday 6:15am UTC. Let us know if you still see any issues. Thanks.
This was fixed around Friday 6:15am UTC. Let us know if you still see any issues. Thanks.
It's fixed now. Thanks 👍
same issue on ubuntu:20.04
This worked for me on Ubuntu 20.04. First, remove all the vscode related files in source.list.d and then update your packages.
sudo rm -rf /etc/apt/sources.list.d/vscode.list*
sudo apt-get update
I spent more than 6 hours searching for a solution and finally above mentioned solution worked.
Hope this helps.
Most helpful comment
Well, it looks like it's fixed now. :)