Skip to content

CI: Pin libtinfo5 to a permanent archive URL#3389

Merged
emilio merged 1 commit into
rust-lang:mainfrom
armoha:fix_libtinfo5
Jul 6, 2026
Merged

CI: Pin libtinfo5 to a permanent archive URL#3389
emilio merged 1 commit into
rust-lang:mainfrom
armoha:fix_libtinfo5

Conversation

@armoha

@armoha armoha commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Background

sudo apt-get update && sudo apt-get install libtinfo5 had been used since #2368 but it broke when ubuntu-latest was upgraded to Ubuntu 24.04 (noble) where libtinfo5 is not available. #2952 fixed that by switching to wget + dpkg -i, but used a hardcoded URL pointing to the live pool mirror. The CI now fails because libtinfo5_6.3-2ubuntu0.1_arm64.deb no longer exists in https://ports.ubuntu.com/ubuntu-ports/pool/universe/n/ncurses/ and instead it was replaced with 6.3-2ubuntu0.2 on July 2.

Alternatives

Simply bumping the version to 0.2 would fix the CI for now, but it will break again and require someone to bump the version each time. Adding a temporary jammy apt source would work until Jammy's EOL in April 2027, after which we would still need to migrate to Ubuntu snapshots or old‑releases anyway.

Use old-releases.ubuntu.com to install libtinfo5 instead of live pool mirror, to avoid breakage when jammy hits EOL or the version of libtinfo5 that CI depends disappears from the live mirror.

@emilio emilio left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@emilio emilio added this pull request to the merge queue Jul 6, 2026
Merged via the queue into rust-lang:main with commit 9098393 Jul 6, 2026
51 checks passed
@armoha armoha deleted the fix_libtinfo5 branch July 6, 2026 13:01
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.

2 participants