GitHub Actions: "The ubuntu-latest label will migrate to Ubuntu 26"
GitHub is moving the ubuntu-latest label from Ubuntu 24.04 to Ubuntu 26.04. Every job that asks for ubuntu-latest carries this notice in its annotations:
The ubuntu-latest label will migrate to Ubuntu 26 beginning October 19, 2026. For more information, see https://github.com/actions/runner-images/issues/14748
The notice itself does nothing. What matters is that the move is already under way: it rolls out over several weeks from October 19 and is planned to be complete by November 19, 2026 (runner-images #14748). Until then, the same workflow can get 24.04 in one job and 26.04 in the next, and comments on that issue describe builds that started failing once a job landed on 26.04, with nothing changed in the repository. It concerns the x64 label; ubuntu-24.04-arm and ubuntu-slim are not in the list of affected images.
Which image did the job get
Open the job's "Set up job" step. The Runner Image group names it:
Runner Image Image: ubuntu-24.04 Version: 20261025.353.1
On the new image it says ubuntu-26.04, and the Operating System group above it shows 26.04. Compare a failed job with the last one that passed before looking for anything else. A re-run can land on the other image, so a re-run that passes proves nothing until November 19.
What breaks
Java: the default is 25, and JDK 8 is gone
The image's tool list sets the default JDK to 25 on 26.04 (17 on 24.04) and installs 11, 17, 21 and 25, without 8 (toolset-2604.json in actions/runner-images, November 3). The table in the announcement still says 17; the image's own documentation says 25. Gradle can run on Java 25 only from 9.1.0 (Gradle's compatibility table), so a job that runs Gradle 8 or older without choosing a JDK fails while compiling the build script, with an error such as:
Unsupported class file major version 69
That includes flutter build apk, which runs the project's Android Gradle wrapper. Choose the JDK yourself, or move the wrapper to Gradle 9.1 or later:
- uses: actions/setup-java@v6
with:
distribution: temurin
java-version: '17'
Since 17 is still installed on 26.04, one step also works: echo "JAVA_HOME=$JAVA_HOME_17_X64" >> "$GITHUB_ENV". JAVA_HOME_8_X64 is not set on 26.04.
Python: no 3.8 or 3.9, and only recent patch releases
actions/setup-python downloads a build made for the runner's exact Ubuntu version. On November 3 its list of builds had nothing for 26.04 in 3.8 or 3.9, and only the newest patch releases of the others: 3.10.20 to 3.10.22, 3.11.15 to 3.11.18, 3.12.13 to 3.12.16, 3.13.13 to 3.13.18 and 3.14.6 to 3.14.10 (actions/python-versions, versions-manifest.json). An older pin, such as 3.12.4 or a .python-version file with one, fails at setup with a message like this:
The version '3.9' with architecture 'x64' was not found for Ubuntu 26.04.
Ask for the minor version ("3.12"), or keep the old versions on 24.04 (more ways, and what macOS and Windows have, in setup-python's "was not found" error):
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
os: [ubuntu-latest]
include:
- python-version: "3.9"
os: ubuntu-24.04
runs-on: ${{ matrix.os }}
Other changes reported so far
sudo -E: one project's CI broke on asudo -Estep, and the report suggests--preserve-env=with the variables you need instead (a comment on runner-images #14748, November 2). On 26.04,sudois sudo-rs, which ignores-E: sudo -E on Ubuntu 26.04.- conda: the image has no Miniconda, and
CONDAis empty, so GitHub's "Python Package using Anaconda" starter workflow fails with "conda: command not found": install conda in the job, or stay on ubuntu-24.04. - Third-party apt repositories: apt.llvm.org's clang 17 to 20 and the ondrej/php PPA publish nothing for
resolute, so adding them makesapt-get updatefail with "does not have a Release file": where to get them instead. - free-disk-space: with
large-packages: true, its last apt command namespowershell, which the 26.04 image does not install as a package, so Azure CLI, Chrome and Firefox are not removed. The action also moved tolumbroso-commonson November 4, and the old name now fails on every image: what to change. - Docker: the tool list installs Docker 29.4.2 on 26.04 and 28.0.4 on 24.04. Docker 29 keeps images in the containerd image store, which takes more disk, under
/var/lib/containerd("No space left on device", runner-images #15233). The same store breakskind load docker-imagefor multi-platform images: kind load docker-image on Ubuntu 26.04. Docker 29 also refuses clients below API 1.40, which breaks older Testcontainers: "client version ... is too old" on Ubuntu 26.04. /tmp: the first 26.04 images mounted it as a RAM disk of about 7.8 GB with a per-user quota, and large builds failed with "Disk quota exceeded" (runner-images #14777). Images after a change merged on October 20 keep it on the root disk (#14814).- The kernel (7.0) and systemd (259) are new, as listed in the announcement.
- inotify limits: the image writes higher limits to
/etc/sysctl.conf, but systemd 259 on 26.04 does not read that file at boot, sofs.inotify.max_user_instancesstays at 128 instead of 1280 andmax_user_watchesat 64097 instead of 655360 (runner-images #15108, confirmed by the maintainers). A tool that watches many files can run out;sudo sysctl -w fs.inotify.max_user_instances=1280 fs.inotify.max_user_watches=655360in a step sets them back. The same file holdsvm.mmap_rnd_bits, which some ThreadSanitizer builds need at 28. The .NET, kind and TSan messages and their fixes: /etc/sysctl.conf on Ubuntu 26.04. test -w: Ubuntu 26.04 ships the Rust coreutils (uutils 0.10.0), whosetest -wlooks at the mode bits and not at ACLs, so it can call a file writable that an ACL denies. That broke a check in codex-action (runner-images #15004, confirmed by the maintainers). More uutils differences, with GNU's tools still installed asgnusleep,gnutimeoutand so on: "coreutils: unknown program" and the other uutils differences.- bubblewrap: AppArmor's
bwrap-userns-restrictprofile is loaded by default, so a sandbox insidebwrapfails with "No permissions to create a new namespace", and a 24.04 step that loaded the profile fromextra-profilesfinds no file: bubblewrap on Ubuntu 26.04. - Node.js compile cache: the image ships
/tmp/node-compile-cacheowned bypacker, the user that built it, and 26.04 does not empty/tmpat boot as 22.04 and 24.04 do. Node cannot create the runner user's cache there and runs without it, printing nothing, so Node processes start more slowly (runner-images #15177, confirmed by the maintainers). A first step ofsudo rm -rf /tmp/node-compile-cache, orecho "NODE_COMPILE_CACHE=$RUNNER_TEMP/node-compile-cache" >> "$GITHUB_ENV", brings the cache back. - Go: the image's default Go is 1.26 on 26.04 and 1.24 on 24.04. golangci-lint v1.64.8, built with Go 1.24, grows without limit under Go 1.26 until the runner stops with "The runner has received a shutdown signal" (runner-images #15179, confirmed by the maintainers): pin Go to 1.24 in the lint job, or move to golangci-lint v2. From November 18, 2026 the other images follow (Go 1.24 leaves the runner images).
- Rootless Podman: on 26.04, Podman's network helper
pastahas its own AppArmor profile, and it does not let Podman stop it.podman unshare --rootless-netns trueexits with 126,docker compose downover the Podman socket fails, andpodman run --rmon a bridge network logs the error but exits with 0 (runner-images #15182, confirmed by the maintainers on x64 and Arm64; a fix is proposed in #15184). The messages, a version of the step that also runs on 24.04, and slirp4netns as another way: rootless Podman on Ubuntu 26.04. Until a fixed image reaches your job, a step with these two lines allows it:sudo sed -i '$ i\ signal (receive) set=(term) peer=podman,' /etc/apparmor.d/usr.bin.pasta sudo apparmor_parser -r /etc/apparmor.d/usr.bin.pasta
- Gems that link OpenSSL statically, such as rugged: the build fails with
cannot find -l:libjitterentropy.a, because Ubuntu'slibssl-devnames that library without depending on its package (runner-images #15068, confirmed by the maintainers; Ubuntu bug 2158026). Image 20261101.186, released on November 2 and still rolling out, addslibjitterentropy3-dev. On an older image, runsudo apt-get update && sudo apt-get install -y libjitterentropy3-devbeforebundle install, which means beforeruby/setup-rubyif it hasbundler-cache: true. - ansible-test: on the 7.0 kernels, ansible-test 2.22 and devel often stopped before any test, when the helper that wakes their default test container exited 1; the stable-2.22 containers were updated on November 5 and the report was closed as fixed (ansible-test on the 7.0 kernel).
- MongoDB: mongo:8.0 and mongo:8.3 refuse to start on the 7.0 kernels of the 26.04 image (7.0.0-1019-azure since its November 1 image) and the 24.04 image (7.0.0-1017-azure), because mongod reads it as 7.0.0, not the upstream 7.0.14 it is built from: use mongo:9.0, or ubuntu-22.04 for those jobs.
- Kernel modules: there is no
linux-modules-extrapackage for the 7.0 kernels of the 26.04 image (7.0.0-1019-azure since its November 1 image) and the 24.04 image (7.0.0-1017-azure), so installing it before amodprobefails with "Unable to locate package"; the modules are inlinux-modules: skip the install on 7.0 kernels. - Kernel and BPF: the 26.04 image runs kernel 7.0.0-1019-azure (since its November 1 image) and the 24.04 image 7.0.0-1017-azure, and on both BPF programs on
syscalls:sys_enter_*tracepoints run on one CPU only there: move eBPF jobs to ubuntu-22.04. - Bandit:
PyCQA/bandit-action@v1asks setup-python for Python 3.8 (v1.0.1 for 3.9), and 26.04 has builds only from 3.10: run Bandit in your own steps. - WireGuard: new AppArmor profiles for
wg-quickandwgallow configuration files only under/etc/wireguard/, sosudo wg-quick up ./wg0.conffrom the workspace fails with Permission denied: write it to /etc/wireguard and use wg-quick up wg0. - Swift:
swift-actions/setup-swiftv2 does not accept 26.04, and swift.org builds for 26.04 start at Swift 6.4.0; the image already has Swift 6.4.1: use it, or run an older Swift in the swift container. - Legacy iptables: kernel 7.0 does not load the
ip_tablesandiptable_natmodules, so a dockerd inside a container that usesiptables-legacy(the dev container docker-in-docker feature:2or:3) never starts: move the feature to :4 or load the modules. - PostgreSQL: the image has 18.6 instead of 16.15, and
postgresql-clientfrom apt is 18, sopg_dumpwritesSET transaction_timeout = 0and the dump no longer loads into a PostgreSQL 16 service: dumping with the server's own pg_dump. - WebdriverIO v9: workers start through
xvfb-run, and the 26.04xvfb-rundoes not pass on the IPC channel, so every worker dies with "Error: write EINVAL" before a spec runs: update to 9.33.1 or set autoXvfb: false. - Self-hosted runners on Ubuntu 26.04: newer kernels such as 7.0.0-42 run container processes as
docker-default//&unconfined, so they cannot signal each other, and Postgres or MariaDB service containers hang with no log (no reports on GitHub-hosted runners as of November 4): the per-container and host fixes. - Binaries you ship: glibc goes from 2.39 to 2.43, so a binary built on 26.04 can need
GLIBC_2.42(the termios speed functions) orGLIBC_2.43(sqrtf,log10fand other float math functions) and fail on Ubuntu 24.04, Debian 13 and older with "version `GLIBC_2.43' not found": building for an older glibc and checking the floor. - RPM packaging: rpm goes from 4.18.2 to 6.0.1.
%installnow starts in a per-package build directory, so specs that copy by a relative path fail with "cp: cannot stat 'usr/*'" (Electron Forge's RPM maker, flutter_app_packager), andrpmbuildmakes v6 packages by default: the spec fix and _rpmformat 4. - Executable stacks: glibc is 2.43, and since 2.41
dlopenrefuses a library that asks for an executable stack, with "cannot enable executable stack as shared object requires: Invalid argument". Julia 1.9 and 1.10.0 to 1.10.8 do not start, and conda-forge TensorFlow 2.19 does not import: finding and clearing the flag. - PCRE1: Ubuntu 26.04 has only PCRE2, so
apt-get install libpcre3-devfails with "has no installation candidate", and what still uses PCRE1 fails with it (install-crystal before v1.9.3, Nim'sstd/re, Haskell'spcre-light, binaries built for 24.04): what still needs it and the fixes. /tmp: Ubuntu 26.04 mounts/tmpas a tmpfs, and the first runner images kept it (about 7.9G, with a per-user quota), so Go builds, pip and git clones in/tmpfailed with "disk quota exceeded". Images from late October keep/tmpon the disk again, andTMPDIR=$RUNNER_TEMPavoids it either way: which images and the fix.- Erlang/OTP and Elixir: setup-beam's build list for 26.04 starts at OTP 26.0, so OTP 24 and 25 stop with "Requested loose Erlang/OTP version (25) not found in version list", and setup-beam v1.24.0 or older fails for every version ("got ubuntu26"): what exists and the fixes.
- C and C++: the default gcc goes from GCC 13 to GCC 15, so C is compiled as C23 ("too many arguments to function ...; expected 0"), the six errors GCC 14 added arrive too, and C++ code that got
<cstdint>through other headers stops compiling.gcc-13andgcc-14are still on the image: the three groups and their fixes. - Ruby: setup-ruby has only some patch releases for 26.04 (3.4.9 to 3.4.12, 3.3.11 to 3.3.13, 3.2.11, 4.0.5 and later, and since October 31 the last patch of 2.4 to 3.1), so a pinned 3.4.2 stops with "Unavailable version 3.4.2 for ruby on ubuntu-26.04": the list and the fixes.
- Shared libraries: libxml2 is
libxml2.so.16and ICU is 78 on 26.04, where 24.04 hadlibxml2.so.2and ICU 74. A cache saved on 24.04 under a key without the image, or a binary built for 24.04, stops with "libxml2.so.2" or "libicudata.so.74: cannot open shared object file". One example is Playwright's WebKit from a cached~/.cache/ms-playwright: "cannot open shared object file" on Ubuntu 26.04. - Playwright: versions before 1.61.0 fail to install on 26.04, with "Playwright does not support chromium on ubuntu26.04-x64" (1.50 to 1.60) or apt errors for
libicu74and other 24.04 package names (1.49 and older): Playwright on Ubuntu 26.04. - apt: some 24.04 package names are renamed or gone, so
apt-get installstops with "has no installation candidate" or "Unable to locate package", for example forqemu-user-static,gcc-10orclang-format-14: the names that changed. - Docker 29.4.2 on the image: an i386 container has no network (getent hosts exits 2), and docker save or docker push fails after docker pull ("no suitable export target found").
- ABI checks: libabigail moves from 2.4 to 2.9, so abidiff stops with "ELF architecture changed" on .abi files made by the older abidw.
- Not only 26.04: "Temporary failure resolving 'azure.archive.ubuntu.com'" in apt-get, and systemctl --user as another user fails with "Failed to connect to user scope bus".
What to do
- To keep things as they were, name the old image. The notice goes away too:
runs-on: ubuntu-24.04
- To move on your own schedule, try
runs-on: ubuntu-26.04in a branch or as an extra matrix entry first, fix what fails, then go back toubuntu-latestor stay onubuntu-26.04. If actionlint then sayslabel "ubuntu-26.04" is unknown, the lint is out of date, not the workflow: actionlint and ubuntu-26.04. - If something on 26.04 is broken that you cannot fix in your workflow, the announcement asks for an issue in actions/runner-images.
Azure Pipelines
The announcement lists Azure DevOps as affected too, with vmImage: ubuntu-latest. A comment on October 26 pointed out that Microsoft's page of hosted agents still showed ubuntu-latest as 24.04, but on November 2 a pipeline that names no vmImage ran on 26.04 and failed with permission errors (a comment on runner-images #14748). On 26.04 the agent's user is runner instead of vsts, so paths under its home directory change (runner-images #15028). vmImage: ubuntu-24.04 keeps the old image. A Cache@2 path, a git init or a task input written as /home/vsts fails on 26.04 with "Access to the path '/home/vsts' is denied" or "Permission denied": the variables to use instead. A pipeline that follows Microsoft's Anaconda guide and adds $CONDA/bin to the path fails with "conda: command not found", because the 26.04 image has no Miniconda: install Miniforge in a step.
See which jobs failed from IntelliJ IDEA
Pipeline Inbox for GitHub Actions Workflows, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, lists the runs of all your repositories in an IDE tool window, with their jobs and steps, so a job that started failing during the move stands out next to the ones that passed, and your current branch's runs are in the status bar. Reading is free; re-running failed jobs, cancelling, running workflows and reviewing deployments are Pro (US$1.50 a month, with a 30-day trial).
Get it on JetBrains Marketplace
GitHub and GitHub Actions are trademarks of GitHub, Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o.; Ubuntu is a trademark of Canonical Ltd. This page is not affiliated with, sponsored or endorsed by GitHub, Inc., JetBrains or Canonical.
More: "No space left on device" on a hosted runner · The "Node.js 20 is deprecated" warning · The macOS 14 image retirement · Re-running jobs with debug logging · GitHub Actions plugins for IntelliJ IDEA compared · 日本語