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

Status: search-observed
Product: GitHub hosted Ubuntu image
Last verified: 2026-06-25
Canonical HTML: https://gitdocs.org/fix/github-actions-runner-images-ubuntu-24-04-package-availability-apt-unable-to-locate-package-ubun
Machine JSON: https://gitdocs.org/api/fixes/github-actions-runner-images-ubuntu-24-04-package-availability-apt-unable-to-locate-package-ubun.json

## Exact Symptom

See the observed Codex queries below.

## Diagnosis

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

## Fix

```
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.
```

## Avoid

- 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.

## Observed Codex Queries

- 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

## Sources

- ubuntu-latest migration to Ubuntu 24.04: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/
- GitHub source file or repository reference: https://github.com/actions/runner-images/blob/main/images/ubuntu/Ubuntu2404-Readme.md
- GitHub source file or repository reference: https://github.com/actions/runner-images/issues/10636
