shuosc / mirrors.shuosc.org

SHU Open Source Mirror,有镜像需求请在Issues中提交
http://mirrors.shu.edu.cn
48 stars 5 forks source link

vscode bad file #20

Closed yuniers closed 6 years ago

yuniers commented 6 years ago

Hello. Recently I try use this vscode mirror on Debian 9 but an error is present. The file Packages.bz2 look be more small compared with original Packages.bz2 file hosted my Microsoft.

Can you execs sync of mirrors to resolve this problem? A new version of code was released.

Get:1 https://mirrors.shu.edu.cn/vscode/repos/vscode stable InRelease [2,802 B]
Get:2 https://mirrors.shu.edu.cn/vscode/repos/vscode stable/main amd64 Packages [36.5 kB]
Err:2 https://mirrors.shu.edu.cn/vscode/repos/vscode stable/main amd64 Packages
  Writing more data than expected (42405 > 36493)
  Hashes of expected file:
   - Filesize:36493 [weak]
   - SHA512:cef6f558ced89eef6c833870e35982832a6fa7ce4c54faea76860ff0ac895d849c46946484edb4375c048a226bf58da1d92f0d8dc70ea73d1ace5b585f49ac9f
   - SHA256:07fccc4108f275a474cae4d8133194b35e04345fb69b23b8ab099eb3bf8f2091
   - SHA1:7c7f3de64536445e4824f35d496d365db34b9d75 [weak]
   - MD5Sum:bc893e3e177c7806496aa82638cba20d [weak]
  Release file created at: Thu, 11 Jan 2018 06:36:32 +0000
Fetched 2,802 B in 1min 8s (40 B/s)
Reading package lists... Done
E: Failed to fetch https://mirrors.shu.edu.cn/vscode/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2  Writing more data than expected (42405 > 36493)
   Hashes of expected file:
    - Filesize:36493 [weak]
    - SHA512:cef6f558ced89eef6c833870e35982832a6fa7ce4c54faea76860ff0ac895d849c46946484edb4375c048a226bf58da1d92f0d8dc70ea73d1ace5b585f49ac9f
    - SHA256:07fccc4108f275a474cae4d8133194b35e04345fb69b23b8ab099eb3bf8f2091
    - SHA1:7c7f3de64536445e4824f35d496d365db34b9d75 [weak]
    - MD5Sum:bc893e3e177c7806496aa82638cba20d [weak]
   Release file created at: Thu, 11 Jan 2018 06:36:32 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
zhonger commented 6 years ago

Hi, we are sorry to know this error. This problem may be caused by an inappropriate mirror script. We will fix it soon. So thanks for your feedback.

zhonger commented 6 years ago

Now, we have fixed this problem. Please try it again.

yuniers commented 6 years ago

@zhonger Thank you very much for fix mirror script. It work perfectly now.