Skip to content

GHA linux: restore apt-get update - #15082

Closed
vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:try-linux-apt-update
Closed

vszakats wants to merge 1 commit into
curl:masterfrom
vszakats:try-linux-apt-update

Conversation

@vszakats

@vszakats vszakats commented Sep 28, 2024 •

Copy link
Copy Markdown
Member

It seems like the Ubuntu apt mirror list or other preloaded data on the
Linux runner can go stale (?) throughout a single week causing failures
like this, in some of the jobs:

Ign:16 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libapr1-dev amd64 1.7.0-8ubuntu0.22.04.1
Err:16 mirror+file:/etc/apt/apt-mirrors.txt jammy-updates/main amd64 libapr1-dev amd64 1.7.0-8ubuntu0.22.04.1
  404  Not Found [IP: 40.81.13.82 80]
Get:24 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnghttp2-dev amd64 1.43.0-1ubuntu0.2 [117 kB]
Get:25 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 vsftpd amd64 3.0.5-0ubuntu1.1 [123 kB]
Fetched 4029 kB in 2s (1682 kB/s)
E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/a/apr/libapr1-dev_1.7.0-8ubuntu0.22.04.1_amd64.deb  404  Not Found [IP: 40.81.13.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

https://github.com/curl/curl/actions/runs/11074211380/job/30772496037#step:32:63

Restore apt update to fix it.

Follow-up to 1b84496 #14992

@vszakats vszakats added the CI Continuous Integration label Sep 28, 2024
@vszakats
vszakats marked this pull request as draft September 28, 2024 18:43
@vszakats
vszakats marked this pull request as ready for review September 28, 2024 18:45
@vszakats vszakats changed the title restore apt-get update, test 1 GHA linux: restore apt-get update Sep 28, 2024
@vszakats vszakats closed this in 842f884 Sep 28, 2024
@vszakats
vszakats deleted the try-linux-apt-update branch September 28, 2024 19:00
@vszakats

Copy link
Copy Markdown
Member Author

This issue surfaced again: https://github.com/curl/curl/actions/runs/11370682016/job/31631045772?pr=15312

E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libp/libpsl/libpsl-dev_0.21.2-1.1build1_amd64.deb  Connection failed [IP: 52.147.219.192 80]
Err:3 http://azure.archive.ubuntu.com/ubuntu noble-updates/main amd64 libnghttp2-dev amd64 1.59.0-1ubuntu0.1
  503  Service Unavailable [IP: 52.252.75.106 80]
Err:4 http://azure.archive.ubuntu.com/ubuntu noble/main amd64 libpsl-dev amd64 0.21.2-1.1build1
  503  Service Unavailable [IP: 52.252.75.106 80]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/n/nghttp2/libnghttp2-dev_1.59.0-1ubuntu0.1_amd64.deb  503  Service Unavailable [IP: 52.252.75.106 80]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/main/libp/libpsl/libpsl-dev_0.21.2-1.1build1_amd64.deb  503  Service Unavailable [IP: 52.252.75.106 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Perhaps this a standard outage, and unrelated to apt update?

pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
It seems like the Ubuntu apt mirror list or other preloaded data on the
Linux runner can go stale (?) throughout a single week causing failures
like this, in some of the jobs:
```
Ign:16 http://security.ubuntu.com/ubuntu jammy-updates/main amd64 libapr1-dev amd64 1.7.0-8ubuntu0.22.04.1
Err:16 mirror+file:/etc/apt/apt-mirrors.txt jammy-updates/main amd64 libapr1-dev amd64 1.7.0-8ubuntu0.22.04.1
  404  Not Found [IP: 40.81.13.82 80]
Get:24 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libnghttp2-dev amd64 1.43.0-1ubuntu0.2 [117 kB]
Get:25 http://azure.archive.ubuntu.com/ubuntu jammy-updates/main amd64 vsftpd amd64 3.0.5-0ubuntu1.1 [123 kB]
Fetched 4029 kB in 2s (1682 kB/s)
E: Failed to fetch mirror+file:/etc/apt/apt-mirrors.txt/pool/main/a/apr/libapr1-dev_1.7.0-8ubuntu0.22.04.1_amd64.deb  404  Not Found [IP: 40.81.13.82 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.
```
https://github.com/curl/curl/actions/runs/11074211380/job/30772496037#step:32:63

Restore `apt update` to fix it.

Follow-up to 1b84496 curl#14992

Closes curl#15082
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI Continuous Integration

Development

Successfully merging this pull request may close these issues.

1 participant