dotnet / core

.NET news, announcements, release notes, and more!
https://dot.net
MIT License
20.97k stars 4.91k forks source link

Failed to fetch https://packages.microsoft.com/ubuntu/21.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.24-x64.deb 404 Not Found #7369

Closed GoranHalvarsson closed 2 years ago

GoranHalvarsson commented 2 years ago

Description

Running on Linux, trying to install Asp.Net Core 3.1.

Failed to fetch https://packages.microsoft.com/ubuntu/21.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.24-x64.deb 404 Not Found

Configuration

Linux

Running the following bash script:

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

sudo apt-get update; \
sudo apt-get install -y apt-transport-https && \
sudo apt-get update && \
sudo apt-get install -y dotnet-sdk-3.1

It fails when trying to download: https://packages.microsoft.com/ubuntu/21.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.24-x64.deb

Regression?

It has worked, but today I get an error...

Other information

See log 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

  sudo apt-get update; \
  sudo apt-get install -y apt-transport-https && \
  sudo apt-get update && \
  sudo apt-get install -y dotnet-sdk-[3](https://github.com/xx/xx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:3).1
  shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
--2022-0[4](https://github.com/xx/xx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:4)-12 17:11:43--  https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.deb
Resolving packages.microsoft.com (packages.microsoft.com)... 13.81.21[5](https://github.com/xx/xx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:5).193
Connecting to packages.microsoft.com (packages.microsoft.com)|13.81.215.193|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3[6](https://github.com/xx/xx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:6)96 (3.6K) [application/octet-stream]
Saving to: 'packages-microsoft-prod.deb'

     0K ...                                                   100%  [7](https://github.com/xxx/xxx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:7)19M=0s

2022-04-12 17:11:43 (719 MB/s) - 'packages-microsoft-prod.deb' saved [3696/3696]

Selecting previously unselected package packages-microsoft-prod.
(Reading database ... 19207 files and directories currently installed.)
Preparing to unpack packages-microsoft-prod.deb ...
Unpacking packages-microsoft-prod (1.0-ubuntu21.04.1) ...
Setting up packages-microsoft-prod (1.0-ubuntu21.04.1) ...
Get:1 https://packages.microsoft.com/ubuntu/21.04/prod hirsute InRelease [10.5 kB]
Get:2 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease [23.[8](https://github.com/xxx/xxx.xxx.Test/runs/5994517263?check_suite_focus=true#step:3:8) kB]
Get:3 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 Packages [60.6 kB]
Get:4 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main arm64 Packages [513 B]
Get:5 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main armhf Packages [513 B]
Get:6 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:[9](https://github.com/xx/xxx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:9) http://archive.ubuntu.com/ubuntu focal-backports InRelease [[10](https://github.com/xx/xx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:10)8 kB]
Get:10 http://ppa.launchpad.net/git-core/ppa/ubuntu focal/main amd64 Packages [3169 B]
Get:11 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
Get:[12](https://github.com/xx/xx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:12) http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
Get:[13](https://github.com/xxx/xxx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:13) http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
Get:[14](https://github.com/xxx/xxx.xx.Test/runs/5994517263?check_suite_focus=true#step:3:14) http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
Get:[15](https://github.com/xx/xx.xx.xx/runs/5994517263?check_suite_focus=true#step:3:15) http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [30.3 kB]
Get:[16](https://github.com/xxx/xx.xx.xx/runs/5994517263?check_suite_focus=true#step:3:16) http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2145 kB]
Get:[17](https://github.com/xx/xx.xx.xx/runs/5994517263?check_suite_focus=true#step:3:17) http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1178 kB]
Get:[18](https://github.com/xx/xx.GitOps.Test/runs/5994517263?check_suite_focus=true#step:3:18) http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1150 kB]
Get:[19](https://github.com/xxxx/xx.xx.xx/runs/5994517263?check_suite_focus=true#step:3:19) http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [26.0 kB]
Get:20 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [51.2 kB]
Get:21 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [25.8 kB]
Get:22 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [864 kB]
Get:[23](https://github.com/xx/xx.xx.xx/runs/5994517263?check_suite_focus=true#step:3:23) http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1104 kB]
Get:[24](https://github.com/xx/xx.xx.xx/runs/5994517263?check_suite_focus=true#step:3:24) http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1729 kB]
Fetched 21.8 MB in 2s (11.1 MB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 4680 B of archives.
After this operation, 162 kB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 apt-transport-https all 2.0.6 [4680 B]
debconf: delaying package configuration, since apt-utils is not installed
Fetched 4680 B in 0s (17.1 kB/s)
Selecting previously unselected package apt-transport-https.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... [25](https://github.com/xx/xx.xx.xx/runs/5994517263?check_suite_focus=true#step:3:25)%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 19215 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_2.0.6_all.deb ...
Unpacking apt-transport-https (2.0.6) ...
Setting up apt-transport-https (2.0.6) ...
Hit:1 http://ppa.launchpad.net/git-core/ppa/ubuntu focal InRelease
Hit:2 https://packages.microsoft.com/ubuntu/21.04/prod hirsute InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  aspnetcore-runtime-3.1 aspnetcore-targeting-pack-3.1 dotnet-apphost-pack-3.1
  dotnet-host dotnet-hostfxr-3.1 dotnet-runtime-3.1 dotnet-runtime-deps-3.1
  dotnet-targeting-pack-3.1 netstandard-targeting-pack-2.1
The following NEW packages will be installed:
  aspnetcore-runtime-3.1 aspnetcore-targeting-pack-3.1 dotnet-apphost-pack-3.1
  dotnet-host dotnet-hostfxr-3.1 dotnet-runtime-3.1 dotnet-runtime-deps-3.1
  dotnet-sdk-3.1 dotnet-targeting-pack-3.1 netstandard-targeting-pack-2.1
0 upgraded, 10 newly installed, 0 to remove and 1 not upgraded.
Need to get 81.2 MB of archives.
After this operation, 342 MB of additional disk space will be used.
Get:1 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 dotnet-host amd64 6.0.4-1 [55.8 kB]
Get:2 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 dotnet-hostfxr-3.1 amd64 3.1.24-1 [121 kB]
Get:3 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 dotnet-runtime-deps-3.1 amd64 3.1.24-1 [[26](https://github.com/xxx/xxx.xxx.xxx/runs/5994517263?check_suite_focus=true#step:3:26)84 B]
Err:4 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 dotnet-runtime-3.1 amd64 3.1.24-1
  404  Not Found [IP: 13.81.215.193 443]
Get:5 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 aspnetcore-runtime-3.1 amd64 3.1.23-1 [5771 kB]
Get:6 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 dotnet-targeting-pack-3.1 amd64 3.1.0-1 [1988 kB]
Get:7 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 aspnetcore-targeting-pack-3.1 amd64 3.1.10-1 [1063 kB]
Get:8 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 dotnet-apphost-pack-3.1 amd64 3.1.24-1 [42.3 kB]
Get:9 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 netstandard-targeting-pack-2.1 amd64 2.1.0-1 [1476 kB]
Get:10 https://packages.microsoft.com/ubuntu/21.04/prod hirsute/main amd64 dotnet-sdk-3.1 amd64 3.1.417-1 [48.8 MB]
Fetched 59.3 MB in 3s (19.9 MB/s)
E: Failed to fetch https://packages.microsoft.com/ubuntu/21.04/prod/pool/main/d/dotnet-runtime-3.1/dotnet-runtime-3.1.24-x64.deb  [40](https://github.com/xx/xxx.xxx.xxxx/runs/5994517263?check_suite_focus=true#step:3:40)4  Not Found [IP: 13.81.215.193 4[43](https://github.com/xxxx/xxx.xx.xxx/runs/5994517263?check_suite_focus=true#step:3:43)]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
GoranHalvarsson commented 2 years ago

Seem to work now, closing this :-)