Skip to content

Ubuntu repositories broken #6381

Closed
Closed

Description

@stefanjarina

Hello,

Ubuntu repositories seems to be broken, specifically I am getting '404 not found' for any .deb

from apt update

Err:1 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 dotnet-host amd64 5.0.7-1
  404  Not Found [IP: 104.214.230.139 443]
Err:2 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 dotnet-hostfxr-3.1 amd64 3.1.16-1
  404  Not Found [IP: 104.214.230.139 443]
Err:3 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 dotnet-runtime-deps-3.1 amd64 3.1.16-1
  404  Not Found [IP: 104.214.230.139 443]
Err:4 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 dotnet-runtime-3.1 amd64 3.1.16-1
  404  Not Found [IP: 104.214.230.139 443]
Err:5 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 aspnetcore-runtime-3.1 amd64 3.1.16-1
  404  Not Found [IP: 104.214.230.139 443]
Err:6 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 dotnet-apphost-pack-3.1 amd64 3.1.16-1
  404  Not Found [IP: 104.214.230.139 443]
Err:7 https://packages.microsoft.com/ubuntu/20.04/prod focal/main amd64 dotnet-sdk-3.1 amd64 3.1.410-1
  404  Not Found [IP: 104.214.230.139 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/d/dotnet-host/dotnet-host-5.0.7-x64.deb  404  Not Found [IP: 104.214.230.139 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/d/dotnet-hostfxr-3.1/dotnet-hostfxr-3.1.16-x64.deb  404  Not Found [IP: 104.214.230.139 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/d/dotnet-runtime-deps-3.1/dotnet-runtime-deps-3.1.16-x64.deb  404  Not Found [IP: 104.214.230.139 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.16-x64.deb  404  Not Found [IP: 104.214.230.139 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/a/aspnetcore-runtime-3.1/aspnetcore-runtime-3.1.16-x64.deb  404  Not Found [IP: 104.214.230.139 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/d/dotnet-apphost-pack-3.1/dotnet-apphost-pack-3.1.16-x64.deb  404  Not Found [IP: 104.214.230.139 443]
E: Failed to fetch https://packages.microsoft.com/ubuntu/20.04/prod/pool/main/d/dotnet-sdk-3.1/dotnet-sdk-3.1.410-x64.deb  404  Not Found [IP: 104.214.230.139 443]

Tried to re-download the repository package, however it seems to be simply not there:

~> wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
--2021-06-16 22:40:24--  https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
Resolving packages.microsoft.com (packages.microsoft.com)... 13.80.99.124
Connecting to packages.microsoft.com (packages.microsoft.com)|13.80.99.124|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-06-16 22:40:24 ERROR 404: Not Found.

This issue seems to be there only for .deb files though, as others can be downloaded without issues, e.g.

~> wget https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list -O mssql-server-2019.list
--2021-06-16 22:52:28--  https://packages.microsoft.com/config/ubuntu/20.04/mssql-server-2019.list
Resolving packages.microsoft.com (packages.microsoft.com)... 40.114.136.21
Connecting to packages.microsoft.com (packages.microsoft.com)|40.114.136.21|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 101 [application/octet-stream]
Saving to: ‘mssql-server-2019.list’

mssql-server-2019.list        100%[=================================================>]     101  --.-KB/s    in 0s

2021-06-16 22:52:28 (29.2 MB/s) - ‘mssql-server-2019.list’ saved [101/101]

~> cat mssql-server-2019.list
deb [arch=amd64,armhf,arm64] https://packages.microsoft.com/ubuntu/20.04/mssql-server-2019 focal main

This is true for ALL Ubuntu versions

Activity

  1. bquantump commented on Jun 16, 2021

    @bquantump

    Broken here too

    wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    --2021-06-16 20:58:37-- https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb
    Resolving packages.microsoft.com (packages.microsoft.com)... 13.66.21.183
    Connecting to packages.microsoft.com (packages.microsoft.com)|13.66.21.183|:443... connected.
    HTTP request sent, awaiting response... 404 Not Found


  2. charliemenke commented on Jun 16, 2021

    @charliemenke
  3. akiehl2000 commented on Jun 16, 2021

    @akiehl2000

    Same here:
    Screen Shot 2021-06-16 at 4 19 58 PM

  4. michaelgsharp commented on Jun 16, 2021

    @michaelgsharp
    Contributor

    @rbhanda are you able to help here? This seems similar to the situation we saw the other day #6371

  5. rbhanda commented on Jun 16, 2021

    @rbhanda
    Contributor

    Thanks for letting me @michaelgsharp . I am following up on this with our infrastructure team.

  6. rbhanda commented on Jun 16, 2021

    @rbhanda
    Contributor

    Update: Our infra team is working on this. There is an issue with some of the mirrors on packages.microsoft.com so as per them, the current ETA to resolve this issue is in next two hours or so.

  7. SudhirNune commented on Jun 17, 2021

    @SudhirNune

    @rbhanda - can you please provide me an update ?

  8. rbhanda commented on Jun 17, 2021

    @rbhanda
    Contributor

    Update: our infra team is still working to resolve this issue. They ran into some space issues but this issue should be resolved quickly. Unfortunately, I do not have an ETA yet.

  9. kitsuyui commented on Jun 17, 2021

    @kitsuyui

    I also understand this is little-bit off-topic for this project.

    But let me just say this; I think the problem is not only package repository was broken. Another side of the problem is about communication.

    It might be there some progresses on some task tracking system ore some collaboration tools at Microsoft. But we can't see it.

    Following issues were opened and some issues were closed so quickly.
    It doesn't show somewhere to go. It doesn't show how long we must wait.
    So issues are opened repeatedly here and there. This is spreading between projects outside of Microsoft.

  10. Niek commented on Jun 17, 2021

    @Niek
  11. phknot commented on Jun 17, 2021

    @phknot

    FYI the Edge repo is broken as well, the whole pool directory is gone: https://packages.microsoft.com/repos/edge/pool/

    Same problem for the Teams repo

  12. gdams commented on Jun 17, 2021

    @gdams
    Member

    We've also had the bug raised against our Microsoft build of OpenJDK repo microsoft/openjdk#74

  13. r3volver commented on Jun 17, 2021

    @r3volver

    I can confirm this issue. 404 in every debian or ubuntu .deb I search.

    In the meantime, is there a mirror where we could find the packages?

    Get:1 http://deb.debian.org/debian buster/main amd64 multiarch-support amd64 2.28-10 [215 kB] Ign:2 https://packages.microsoft.com/debian/10/prod buster/main amd64 odbcinst amd64 2.3.7 Ign:3 https://packages.microsoft.com/debian/10/prod buster/main amd64 unixodbc-dev amd64 2.3.7 Ign:4 https://packages.microsoft.com/debian/10/prod buster/main amd64 odbcinst1debian2 amd64 2.3.7 Ign:5 https://packages.microsoft.com/debian/10/prod buster/main amd64 libodbc1 amd64 2.3.7 Ign:6 https://packages.microsoft.com/debian/10/prod buster/main amd64 unixodbc amd64 2.3.7 Err:7 https://packages.microsoft.com/debian/10/prod buster/main amd64 msodbcsql17 amd64 17.7.2.1-1 404 Not Found [IP: 40.114.136.21 443] Err:2 https://packages.microsoft.com/debian/10/prod buster/main amd64 odbcinst amd64 2.3.7 404 Not Found [IP: 40.114.136.21 443] Err:3 https://packages.microsoft.com/debian/10/prod buster/main amd64 unixodbc-dev amd64 2.3.7 404 Not Found [IP: 40.114.136.21 443] Err:4 https://packages.microsoft.com/debian/10/prod buster/main amd64 odbcinst1debian2 amd64 2.3.7 404 Not Found [IP: 40.114.136.21 443] Err:5 https://packages.microsoft.com/debian/10/prod buster/main amd64 libodbc1 amd64 2.3.7 404 Not Found [IP: 40.114.136.21 443] Err:6 https://packages.microsoft.com/debian/10/prod buster/main amd64 unixodbc amd64 2.3.7 404 Not Found [IP: 40.114.136.21 443] Fetched 215 kB in 1s (373 kB/s) Unable to correct missing packages. E: Failed to fetch https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/u/unixodbc/odbcinst_2.3.7_amd64.deb 404 Not Found [IP: 40.114.136.21 443] E: Failed to fetch https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/u/unixodbc/unixodbc-dev_2.3.7_amd64.deb 404 Not Found [IP: 40.114.136.21 443] E: Failed to fetch https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/u/unixodbc/odbcinst1debian2_2.3.7_amd64.deb 404 Not Found [IP: 40.114.136.21 443] E: Failed to fetch https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/u/unixodbc/libodbc1_2.3.7_amd64.deb 404 Not Found [IP: 40.114.136.21 443] E: Failed to fetch https://packages.microsoft.com/ubuntu/16.04/prod/pool/main/u/unixodbc/unixodbc_2.3.7_amd64.deb 404 Not Found [IP: 40.114.136.21 443] E: Failed to fetch https://packages.microsoft.com/debian/10/prod/pool/main/m/msodbcsql17/msodbcsql17_17.7.2.1-1_amd64.deb 404 Not Found [IP: 40.114.136.21 443] E: Aborting install.

  14. hussaynv commented on Jun 17, 2021

    @hussaynv
  15. sciyako commented on Jun 17, 2021

    @sciyako

    14 hours! this is blocking us in the production environment right now. as we can't build new machines/vms in Azure.

  16. 69 remaining items

  17. tksrc commented on Jun 20, 2021

    @tksrc

    My bad... I was using ubuntu 21.04 (hirsute). I noticed that version is not yet supported (doesn't exist) in the repo: https://packages.microsoft.com/repos/azure-cli/dists/

    Switched back to 20.04 (focal) and it worked.

    Thanks

  18. michaelgsharp commented on Jun 21, 2021

    @michaelgsharp
    Contributor

    Closing since the issue has been resolved.

  19. MinzigesTV commented on Jun 24, 2021

    @MinzigesTV
    pi@raspberrypi:~ $ sudo apt-get install -y dotnet-runtime-5.0
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package dotnet-runtime-5.0
    E: Couldn't find any package by glob 'dotnet-runtime-5.0'
    E: Couldn't find any package by regex 'dotnet-runtime-5.0'
    

    It somehow does not work...

  20. janekska commented on Jul 25, 2021

    @janekska
    pi@raspberrypi:~ $ sudo apt-get install -y dotnet-runtime-5.0
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package dotnet-runtime-5.0
    E: Couldn't find any package by glob 'dotnet-runtime-5.0'
    E: Couldn't find any package by regex 'dotnet-runtime-5.0'
    

    It somehow does not work...

    +1
    still the same problem for me too

    Used these receipes:
    https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#2004-
    and
    https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#apt-troubleshooting

  21. xTEddie commented on Aug 10, 2021

    @xTEddie

    I am having trouble install az package

    image

  22. ijnek commented on Aug 10, 2021

    @ijnek

    @xTEddie That issue is probably related to the packages.microsoft.com outage that has happened today. (Although when you posted, the issue was not up yet). See #6560.

  23. noxish commented on Aug 30, 2021

    @noxish

    cannot install dotnet5 on ubuntu, is this still a problem?

  24. janekska commented on Aug 30, 2021

    @janekska
  25. dralley commented on Sep 16, 2021

    @dralley

    @rbhanda @leecow What is the correct place to file issues with repositories located at https://packages.microsoft.com/?

    Specifically, I have noticed some issues with https://packages.microsoft.com/rhel/8/prod/, but I have not been able to find the correct venue to report them.

  26. rbhanda commented on Sep 16, 2021

    @rbhanda
    Contributor

    Hello @dralley as of now we do not have a repository for https://packages.microsoft.com/ on GitHub. Until we have one, if you are facing any issues, I recommend to create them on https://github.com/dotnet/core/issues

  27. hrai commented on Nov 10, 2021

    @hrai

    I'm on Ubuntu Impish 20.10.

    The command given at https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu#2110- refers to 20.10

    image

    But when I go to https://packages.microsoft.com/config/ubuntu/, there's no 20.10

    image

    I had to change the command to below:

    wget https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
    sudo dpkg -i packages-microsoft-prod.deb
    rm packages-microsoft-prod.deb
    

    Then it worked like a charm.

    Perhaps before pushing out documentation, it would be good to test and verify the commands in them.

  28. mairaw commented on Nov 10, 2021

    @mairaw
    Contributor

    @hrai it would be great if you open feedback for the doc in question. There's a feedback button on the bottom of the page. /cc @adegeo

  29. adegeo commented on Nov 16, 2021

    @adegeo
    Contributor

    To close the loop, this was updated in the doc: using the 21.04 repository is the current guidance.

  30. jnt2007 commented on Jun 24, 2026

    @jnt2007

    Reproduces for me on Ubuntu 24

    Ign:50 https://packages.microsoft.com/repos/azure-cli noble InRelease                                                                                                                                      
    Ign:51 https://packages.microsoft.com/repos/code stable InRelease
    Ign:50 https://packages.microsoft.com/repos/azure-cli noble InRelease
    Ign:51 https://packages.microsoft.com/repos/code stable InRelease
    Ign:50 https://packages.microsoft.com/repos/azure-cli noble InRelease
    Ign:51 https://packages.microsoft.com/repos/code stable InRelease
    Err:50 https://packages.microsoft.com/repos/azure-cli noble InRelease
      Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 13.107.213.45 443]
    Err:51 https://packages.microsoft.com/repos/code stable InRelease
      Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 13.107.213.45 443]
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions