Hosted image inventory

GitHub Actions runner images Ubuntu 24.04 package availability apt unable to locate package Ubuntu 22.04 migration image README

An apt install line that worked on 22.04 returns unable-to-locate-package.

GitHub hosted Ubuntu imageCI/CDHosted image inventorygh_ubuntu24

Agent Quick Fix

Repair against the current GitHub hosted Ubuntu image contract, then keep the change narrow and source-backed.

Product: GitHub hosted Ubuntu image
Current-contract area: Package name/repository availability differs on Ubuntu 24
Likely root cause: An apt install line that worked on 22.04 returns unable-to-locate-package.
Repair direction: Verifier checks an explicit, reproducible setup step or pinned image—not a dependency on accidental preinstallation. Require explicit setup/pinning that works on a fresh image.

Symptom

An apt install line that worked on 22.04 returns unable-to-locate-package.

Why This Happens

Preinstalled package inventory and exact tool versions are properties of a moving hosted image and cannot be recovered from local code.

Common Wrong Fixes

  • Changing local code without checking the current external contract.
  • Retrying the same install, build, or API call with no version/source change.
  • Applying a broad unsafe bypass when a narrow compatibility fix is available.

Codex Search Keywords

These are the search terms observed in a neutral Codex validation run for this failure shape.

GitHub Actions runner images Ubuntu 24.04 package availability apt unable to locate package Ubuntu 22.04 migration image README
site:github.com/actions/runner-images Ubuntu 24.04 package removed apt unable to locate package runner images
GitHub Actions runner-images Ubuntu 24.04 installed software apt packages
https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
site:github.com/actions/runner-images/issues Ubuntu latest migration 24.04 runner image
https://github.com/actions/runner-images/issues/10636

Source Trail

GitHub source file/reference: