Skip to content

Ubuntu repo maybe broken? #41094

Closed
Closed

Description

When trying to configure the ubuntu repository with key provided here:
https://code.visualstudio.com/docs/setup/linux

The packages files seems different from the checksums provided
Expected filesize is 35343
Actual filesize in repo is 35578

  File has unexpected size (35578 != 35343). Mirror sync in progress?
  Hashes of expected file:
   - Filesize:35343 [weak]
   - SHA512:c9496b6c369f633e2ae431bb758cf970671c191bd02264713ce864dc327475b9ca7cdddda7dee0a14a556dc65d6b59a8f79f16c47e178a6345c90878c99fa0c8
   - SHA256:fba8fa5d5d6d200e9b45febf5bb0e9fe0d9165202c2cbfe38c72d64a423cf4a3
   - SHA1:66776788449c7465ac8668f904c730310fd95e37 [weak]
   - MD5Sum:c87007bbbd77cb0d60fa69f5f83b6a7c [weak]
  Release file created at: Thu, 21 Dec 2017 18:21:42 +0000
Reading package lists... Done  
E: Failed to fetch https://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2  File has unexpected size (35578 != 35343). Mirror sync in progress?
   Hashes of expected file:
    - Filesize:35343 [weak]
    - SHA512:c9496b6c369f633e2ae431bb758cf970671c191bd02264713ce864dc327475b9ca7cdddda7dee0a14a556dc65d6b59a8f79f16c47e178a6345c90878c99fa0c8
    - SHA256:fba8fa5d5d6d200e9b45febf5bb0e9fe0d9165202c2cbfe38c72d64a423cf4a3
    - SHA1:66776788449c7465ac8668f904c730310fd95e37 [weak]
    - MD5Sum:c87007bbbd77cb0d60fa69f5f83b6a7c [weak]
   Release file created at: Thu, 21 Dec 2017 18:21:42 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
  • OS Version: Ubuntu 17.10

Steps to Reproduce:

  1. Add repository
  2. Add keyfile
  3. apt-get update

Activity

  1. added
    install-update
    on Jan 3, 2018
  2. alexaandru commented on Jan 3, 2018

    @alexaandru

    I have the same problem. My OS is: Linux Mint 17.3 Rosa.

  3. adrianharabula commented on Jan 3, 2018

    @adrianharabula

    Same problem on ubuntu 16.04.3.

  4. added
    linux
    on Jan 3, 2018
  5. added this to the milestone on Jan 3, 2018
  6. added
    bug
    on Jan 3, 2018
  7. Tyriar commented on Jan 3, 2018

    @Tyriar
    Contributor

    Thanks all for the report, we're investigating. In the meantime you can hopefully still pull the packages from the URLs and install manually via dpkg -i <...>.deb:

    If you have issues with those URLs please let me know.

  8. natec425 commented on Jan 3, 2018

    @natec425

    So you can apt-get update, you might want to comment out the entry in /etc/apt/sources.list.d/vscode.list. Change deb [arch=.... to # deb [arch=....... I don't know if there is a better way to do this, but it worked for me.

  9. AlexanderYukhanov commented on Jan 4, 2018

    @AlexanderYukhanov

    Hello team, do you have any ETA on this issue? It affects (by braking apt update) one of use cases for our prod service.

  10. julian-klode commented on Jan 4, 2018

    @julian-klode
    Contributor

    Reason: The latest repository update only updated Release and Release.gpg, but InRelease is still from Dec 21st.

  11. IronGeek commented on Jan 4, 2018

    @IronGeek

    Actually, the Release.gpg is still not updated too...

    d3b77da0-3ac0-409e-ad3e-f0f26e07aa74

  12. jongreen-telensa commented on Jan 4, 2018

    @jongreen-telensa

    I'm seeing the same thing, but with (35649 > 35343) instead, on Debian 9.3. Same SHA/MD5 sums.

  13. felpin commented on Jan 4, 2018

    @felpin

    Using Ubuntu 16.04 I get the error:

    E: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages  Writing more data than expected (228420 > 227140)
    E: Some index files failed to download. They have been ignored, or old ones used instead.
  14. KillWolfVlad commented on Jan 4, 2018

    @KillWolfVlad

    Linux Mint 18.3 (based on Ubuntu 16.04) 64-bit

    After installation code_1.19.1-1513676564_amd64.deb from official site I get the error when I try update system

    $ sudo apt update

    ....
    Reading package lists... Done
    E: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages  Writing more data than expected (227448 > 227140)
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    
  15. 12 remaining items

  16. mattayes commented on Jan 29, 2018

    @mattayes
    Get:11 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [38.1 kB]                               
    Err:11 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages
      File has unexpected size (38219 != 38059). Mirror sync in progress?
      Hashes of expected file:
       - Filesize:38059 [weak]
       - SHA512:d960bc2562e8e3914627b1f8a255d6e78506acac42c7c540d6ce09c4d20f0447edb9d2596b87bb64d1d59e4786a89f7c9f7711743d057d10041f95cf8a7f7dd1
       - SHA256:692a9d9348b76a7ab30c112a4e1f4e99a8ba99454ec1ed4a5c82d1afa45c43f7
       - SHA1:4dfaf756f7b30988ddacc77863a363ffd6f409a4 [weak]
       - MD5Sum:256db81b96e2ac1ef30d0d1c63545b85 [weak]
      Release file created at: Fri, 26 Jan 2018 18:29:25 +0000
    
    ...
    
    E: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages.bz2  File has unexpected size (38219 != 38059). Mirror sync in progress?
       Hashes of expected file:
        - Filesize:38059 [weak]
        - SHA512:d960bc2562e8e3914627b1f8a255d6e78506acac42c7c540d6ce09c4d20f0447edb9d2596b87bb64d1d59e4786a89f7c9f7711743d057d10041f95cf8a7f7dd1
        - SHA256:692a9d9348b76a7ab30c112a4e1f4e99a8ba99454ec1ed4a5c82d1afa45c43f7
        - SHA1:4dfaf756f7b30988ddacc77863a363ffd6f409a4 [weak]
        - MD5Sum:256db81b96e2ac1ef30d0d1c63545b85 [weak]
       Release file created at: Fri, 26 Jan 2018 18:29:25 +0000
    

    Ubuntu 17.10

    Thanks for your help!

  17. mattayes commented on Jan 29, 2018

    @mattayes

    Tried again, was successfully able to update.

  18. Tyriar commented on Jan 29, 2018

    @Tyriar
    Contributor

    I just deleted the 1.19.3 package, so you should be able to update to 1.19.2. I'll try republishing 1.19.3 now

  19. Tyriar commented on Jan 29, 2018

    @Tyriar
    Contributor

    The new one seems to work, thanks for the report all.

  20. RomkeVdMeulen commented on Mar 15, 2018

    @RomkeVdMeulen
    Err:15 https://packages.microsoft.com/repos/vscode stable/main amd64 Packages
      Writing more data than expected (284174 > 281970)
    
  21. EstherAF commented on Mar 15, 2018

    @EstherAF

    It's happening again:

    Err:13 https://packages.microsoft.com/repos/vscode stable/main amd64 Packages
    E: Failed to fetch https://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages  Writing more data than expected (284174 > 281970)
    

    On Ubuntu 16.04

  22. Gargravarr2112 commented on Mar 15, 2018

    @Gargravarr2112

    Yep, happening again for me on Ubuntu 16.04 fresh install (breaking my automatic imaging 😄 )

  23. MannikJ commented on Mar 15, 2018

    @MannikJ

    Also seeing it in Linux Mint 18.3

  24. CapturedMomentum commented on Mar 15, 2018

    @CapturedMomentum
  25. k4mui commented on Mar 15, 2018

    @k4mui
  26. sergeyvfx commented on Mar 15, 2018

    @sergeyvfx
    Contributor

    This isn't distro-related. Most likely, the issue is caused by InRelease being older than rest of the repository (it's dated 14 March, while Packages and rest are dated 15 March). and it contains wrong checksums and file sizes.

  27. Tyriar commented on Mar 15, 2018

    @Tyriar
    Contributor
  28. locked and limited conversation to collaborators on Mar 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginstall-updatelinuxverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions