http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.

在Ubuntu下sudo apt-get update时出现了这个bug,但我本身其实没有安装vscode,不知道为什么会有这个源。

所以我选择直接删除这个list,不去fetch它了:

cd /etc/apt/sources.list.d
sudo rm ./vscode.list

然后再sudo apt-get update即可

相关文章:

  • 2022-12-23
  • 2021-09-15
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-27
  • 2021-06-28
猜你喜欢
  • 2021-11-18
  • 2021-05-23
  • 2021-12-25
  • 2021-05-20
  • 2021-12-06
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案