Skip to content

GHA: drop Azure Ubuntu mirror, instead of deprioritizing - #2074

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:gha-azure-haunts-again
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:gha-azure-haunts-again

Conversation

@vszakats

@vszakats vszakats commented Jun 17, 2026 •

Copy link
Copy Markdown
Member

Drop the Azure Ubuntu mirror, instead of only deprioritizing it. Not
fixing much, but makes failures shorter and possibly easier to diagnose.

With this it also removes the only cleartext HTTP package source.


Example:

[...]
After this operation, 720 MB of additional disk space will be used.
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [144 B]
Get:2 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 libclang-cpp20 amd64 1:20.1.2-0ubuntu1~24.04.2 [14.3 MB]
Get:3 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 libclang-common-20-dev amd64 1:20.1.2-0ubuntu1~24.04.2 [782 kB]
Get:4 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-linker-tools amd64 1:20.1.2-0ubuntu1~24.04.2 [1340 kB]
Get:5 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 libclang1-20 amd64 1:20.1.2-0ubuntu1~24.04.2 [8318 kB]
Get:6 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 clang-20 amd64 1:20.1.2-0ubuntu1~24.04.2 [77.7 kB]
Ign:7 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 clang-tools-20 amd64 1:20.1.2-0ubuntu1~24.04.2
Get:8 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 clang-tidy-20 amd64 1:20.1.2-0ubuntu1~24.04.2 [2071 kB]
Get:9 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 libclang-rt-20-dev amd64 1:20.1.2-0ubuntu1~24.04.2 [4086 kB]
Get:10 https://archive.ubuntu.com/ubuntu noble/universe amd64 libwolfssl42t64 amd64 5.6.6-1.3build1 [912 kB]
Get:11 https://archive.ubuntu.com/ubuntu noble/universe amd64 libwolfssl-dev amd64 5.6.6-1.3build1 [1354 kB]
Ign:12 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-runtime amd64 1:20.1.2-0ubuntu1~24.04.2
Ign:7 https://security.ubuntu.com/ubuntu noble-updates/universe amd64 clang-tools-20 amd64 1:20.1.2-0ubuntu1~24.04.2
Err:7 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 clang-tools-20 amd64 1:20.1.2-0ubuntu1~24.04.2
  404  Not Found [IP: 172.66.152.176 443]
Ign:13 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20 amd64 1:20.1.2-0ubuntu1~24.04.2
Ign:12 https://security.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-runtime amd64 1:20.1.2-0ubuntu1~24.04.2
Err:12 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-runtime amd64 1:20.1.2-0ubuntu1~24.04.2
  404  Not Found [IP: 172.66.152.176 443]
Ign:14 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-tools amd64 1:20.1.2-0ubuntu1~24.04.2
Ign:13 https://security.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20 amd64 1:20.1.2-0ubuntu1~24.04.2
Err:13 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20 amd64 1:20.1.2-0ubuntu1~24.04.2
  404  Not Found [IP: 172.66.152.176 443]
Ign:15 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-dev amd64 1:20.1.2-0ubuntu1~24.04.2
Ign:14 https://security.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-tools amd64 1:20.1.2-0ubuntu1~24.04.2
Err:14 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-tools amd64 1:20.1.2-0ubuntu1~24.04.2
  404  Not Found [IP: 172.66.152.176 443]
Ign:15 https://security.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-dev amd64 1:20.1.2-0ubuntu1~24.04.2
Err:15 http://azure.archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-dev amd64 1:20.1.2-0ubuntu1~24.04.2
  404  Not Found [IP: 172.66.152.176 443]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/l/llvm-toolchain-20/clang-tools-20_20.1.2-0ubuntu1%7e24.04.2_amd64.deb  404  Not Found [IP: 172.66.152.176 443]
Fetched 33.2 MB in 2s (13.5 MB/s)
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/l/llvm-toolchain-20/llvm-20-runtime_20.1.2-0ubuntu1%7e24.04.2_amd64.deb  404  Not Found [IP: 172.66.152.176 443]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/l/llvm-toolchain-20/llvm-20_20.1.2-0ubuntu1%7e24.04.2_amd64.deb  404  Not Found [IP: 172.66.152.176 443]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/l/llvm-toolchain-20/llvm-20-tools_20.1.2-0ubuntu1%7e24.04.2_amd64.deb  404  Not Found [IP: 172.66.152.176 443]
E: Failed to fetch http://azure.archive.ubuntu.com/ubuntu/pool/universe/l/llvm-toolchain-20/llvm-20-dev_20.1.2-0ubuntu1%7e24.04.2_amd64.deb  404  Not Found [IP: 172.66.152.176 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

Ref: https://github.com/libssh2/libssh2/actions/runs/27656154846/job/81792643777?pr=2073

After this patch, still broken:

[...]
After this operation, 712 MB of additional disk space will be used.
Get:1 file:/etc/apt/apt-mirrors.txt Mirrorlist [93 B]
Get:2 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 libclang-cpp20 amd64 1:20.1.2-0ubuntu1~24.04.2 [14.3 MB]
Get:3 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 libclang-common-20-dev amd64 1:20.1.2-0ubuntu1~24.04.2 [782 kB]
Get:4 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-linker-tools amd64 1:20.1.2-0ubuntu1~24.04.2 [1340 kB]
Get:5 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 libclang1-20 amd64 1:20.1.2-0ubuntu1~24.04.2 [8318 kB]
Ign:6 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 clang-20 amd64 1:20.1.2-0ubuntu1~24.04.2
Get:7 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 clang-tools-20 amd64 1:20.1.2-0ubuntu1~24.04.2 [9587 kB]
Get:8 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 clang-tidy-20 amd64 1:20.1.2-0ubuntu1~24.04.2 [2071 kB]
Get:9 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 libclang-rt-20-dev amd64 1:20.1.2-0ubuntu1~24.04.2 [4086 kB]
Get:10 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-runtime amd64 1:20.1.2-0ubuntu1~24.04.2 [558 kB]
Get:11 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20 amd64 1:20.1.2-0ubuntu1~24.04.2 [19.8 MB]
Get:12 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-tools amd64 1:20.1.2-0ubuntu1~24.04.2 [515 kB]
Ign:13 https://archive.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-dev amd64 1:20.1.2-0ubuntu1~24.04.2
Err:6 https://security.ubuntu.com/ubuntu noble-updates/universe amd64 clang-20 amd64 1:20.1.2-0ubuntu1~24.04.2
  404  Not Found [IP: 104.20.28.246 443]
Err:13 https://security.ubuntu.com/ubuntu noble-updates/universe amd64 llvm-20-dev amd64 1:20.1.2-0ubuntu1~24.04.2
E: Failed to fetch https://security.ubuntu.com/ubuntu/pool/universe/l/llvm-toolchain-20/clang-20_20.1.2-0ubuntu1%7e24.04.2_amd64.deb  404  Not Found [IP: 104.20.28.246 443]
  404  Not Found [IP: 104.20.28.246 443]
Fetched 61.3 MB in 2s (30.9 MB/s)
E: Failed to fetch https://security.ubuntu.com/ubuntu/pool/universe/l/llvm-toolchain-20/llvm-20-dev_20.1.2-0ubuntu1%7e24.04.2_amd64.deb  404  Not Found [IP: 104.20.28.246 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Error: Process completed with exit code 100.

Ref: https://github.com/libssh2/libssh2/actions/runs/27657242752/job/81793936028?pr=2074

@vszakats
vszakats force-pushed the gha-azure-haunts-again branch from 5608669 to e139917 Compare June 17, 2026 00:24
@vszakats
vszakats marked this pull request as draft June 17, 2026 00:25
@vszakats vszakats changed the title GHA: try dealing with broken azure ubuntu servers GHA: try dealing with broken apt-get install Jun 17, 2026
@vszakats vszakats changed the title GHA: try dealing with broken apt-get install GHA: drop Azure Ubuntu mirror, instead of deprioritizing Jun 17, 2026
@vszakats
vszakats marked this pull request as ready for review June 17, 2026 10:26
@vszakats vszakats closed this in 74da590 Jun 17, 2026
@vszakats
vszakats deleted the gha-azure-haunts-again branch June 17, 2026 10:31
vszakats added a commit that referenced this pull request Jun 17, 2026
To avoid sometimes the preinstalled database going out-of-sync with
files stored on the distro servers, and failing install with `404`.

Follow-up to 74da590 #2074
Follow-up to 00a3b88 #1187

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant