vscode: Unable to update via apt : mirror sync in progress ?
Since a few days i can’t update vscode via apt update
- OS Version: Ubuntu 20.04
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.
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 13
- Comments: 28 (3 by maintainers)
This worked for me on Ubuntu 20.04. First, remove all the vscode related files in source.list.d and then update your packages.
I spent more than 6 hours searching for a solution and finally above mentioned solution worked. Hope this helps.
Well, it looks like it’s fixed now. 😃
Same ubuntu version 20.04, region: India
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:
@chrmarti
Hey its all fine now. Thx. Cheers!!!
Back to normal !