Skip to content

Failed to fetch due to Hash sum mismatch #86858

@f3wenbo

Description

@f3wenbo

When I was trying to update, I got the Hash sum mismatch error on terminal.

  • VSCode Version:1.40.2
  • OS Version:Ubuntu LTS 18.04 (Linux x64 5.0.0-37-generic)

Steps to Reproduce:

1.sudo apt update at terminal
2.Get the following error log

E: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2  File has unexpected size (156056 != 156065). Mirror sync in progress? [IP: 10.77.8.70 8080]
   Hashes of expected file:
    - Filesize:156065 [weak]
    - SHA512:12e6dffcd247d1ff067acfa61a3c4eb6078c326c2858feb4f6f141a1d809e22292a78282414a5c103038ea80bb63cd734c7516782c9809c341335083d4e7611b
    - SHA256:c850f35f1979831ac75641978c397e51519fa22313598ec12bde5f52277044c0
    - SHA1:1f65f4a7388c22bcf7b7f30fb7bc337c60d94b2e [weak]
    - MD5Sum:4153a12e4a5629bfb14ed98f4c8ac234 [weak]
   Release file created at: Thu, 12 Dec 2019 19:59:19 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.

Previously:

#70584
#66339
#66238
#41117

Metadata

Metadata

Assignees

Labels

install-updateVS Code installation and upgrade system issues

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions