microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
160.56k stars 28.13k forks source link

.deb files released on 02-Feb-2023 are broken #173659

Closed fpm-peter closed 1 year ago

fpm-peter commented 1 year ago

Does this issue occur when all extensions are disabled?: Yes

Steps to Reproduce:

  1. update via package manager

The files pushed to the package repo on 02-Feb-2023 are broken and prevent/crash package updates

http://packages.microsoft.com/repos/code/pool/main/c/code/code_1.75.0-1675265293_arm64.deb http://packages.microsoft.com/repos/code/pool/main/c/code/code_1.75.0-1675265299_armhf.deb http://packages.microsoft.com/repos/code/pool/main/c/code/code_1.75.0-1675266613_amd64.deb

The following packages will be upgraded:
  code
1 upgraded, 0 newly installed, 0 to remove and 28 not upgraded.
Need to get 98,2 MB of archives.
After this operation, 2 295 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://packages.microsoft.com/repos/code stable/main amd64 code amd64 1.75.0-1675266613 [98,2 MB]
Ign:1 http://packages.microsoft.com/repos/code stable/main amd64 code amd64 1.75.0-1675266613
Get:1 http://packages.microsoft.com/repos/code stable/main amd64 code amd64 1.75.0-1675266613 [98,2 MB]
Ign:1 http://packages.microsoft.com/repos/code stable/main amd64 code amd64 1.75.0-1675266613
Get:1 http://packages.microsoft.com/repos/code stable/main amd64 code amd64 1.75.0-1675266613 [98,2 MB]
Ign:1 http://packages.microsoft.com/repos/code stable/main amd64 code amd64 1.75.0-1675266613
Get:1 http://packages.microsoft.com/repos/code stable/main amd64 code amd64 1.75.0-1675266613 [98,2 MB]
Err:1 http://packages.microsoft.com/repos/code stable/main amd64 code amd64 1.75.0-1675266613
  Error reading from server. Remote end closed connection [IP: 104.214.230.139 80]
E: Failed to fetch http://packages.microsoft.com/repos/code/pool/main/c/code/code_1.75.0-1675266613_amd64.deb  Error reading from server. Remote end closed connection [IP: 104.214.230.139 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
mastepanoski commented 1 year ago

The same thing happens to me:

    Failed to get http://packages.microsoft.com/repos/code/dists/stable/main/binary-arm64/Packages.gz Hash sum differs
       Hashes of expected files:
        - Filesize: 59460 [weak]
        - SHA512:1a2e56e73161e282e9b96c7ecf4ae755c90524282bda5d3083cfe1ae30f81b3fe7f48b304ae55561c17ee164270a54f084e63ac055cc1fd214adf3320105b23b
        -SHA256:cc4e0233f3d5e1adc318c3d7faea9f8ce9039c36eb4548c3132c10f0a0a6eef2
       Hashes of received file:
        - SHA512:abe42dd91c76e47313768dff85ffd2c5e19a9f5c3c67602a5ded0f5d3c50203b3e814f1a915cdfc2e37d625184e30da02cb71308309d3ad5684e9715757c14ac
        -SHA256:d5a5500a00edf2011b83b3c178d48b89c83619887ba3d0f7991154d3b74a2fa6
        - Filesize: 59460 [weak]
       Last modification reported: Wed, 08 Feb 2023 19:13:16 +0000
       Release file created at: Wed, 08 Feb 2023 18:56:17 +0000
    E: Failed to get http://packages.microsoft.com/repos/code/dists/stable/main/binary-amd64/Packages.gz
    E: Some index files could not be downloaded, were omitted, or old ones were used instead.

I am using Kubuntu. My LSB Release is:

Distributor ID: Ubuntu
Description:    Ubuntu 22.04.1 LTS
Release:        22.04
Codename:       jammy
fpm-peter commented 1 year ago

I could update today.

It looks like it is a problem with my CloudFlare ZeroTrust connection. It's repeatable with a warp connection established.