From e21413cdceacb143214adfba61626d656df96712 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers <359867+desrosj@users.noreply.github.com> Date: Fri, 11 Sep 2026 16:48:54 -0400 Subject: [PATCH 1/2] Fix wp-env Docker builds broken by archived Debian Bullseye repositories --- packages/env/lib/runtime/docker/init-config.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/packages/env/lib/runtime/docker/init-config.js b/packages/env/lib/runtime/docker/init-config.js index 29ed4781995ea0..40a966720bd557 100644 --- a/packages/env/lib/runtime/docker/init-config.js +++ b/packages/env/lib/runtime/docker/init-config.js @@ -149,6 +149,13 @@ RUN sed -i 's|deb.debian.org/debian buster|archive.debian.org/debian buster|g' / RUN sed -i 's|security.debian.org/debian-security buster/updates|archive.debian.org/debian-security buster/updates|g' /etc/apt/sources.list RUN sed -i '/buster-updates/d' /etc/apt/sources.list +# bullseye (https://www.debian.org/News/2026/20260831) +# The security suite is not on archive.debian.org yet, so it is dropped rather +# than rewritten. +RUN sed -i 's|deb.debian.org/debian bullseye|archive.debian.org/debian bullseye|g' /etc/apt/sources.list +RUN sed -i '/bullseye-security/d' /etc/apt/sources.list +RUN sed -i '/bullseye-updates/d' /etc/apt/sources.list + # Create the host's user so that we can match ownership in the container. ARG HOST_USERNAME ARG HOST_UID From 0a1110b2f966181c45fb902b28b2a2b772de66e1 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers <359867+desrosj@users.noreply.github.com> Date: Mon, 14 Sep 2026 13:12:44 -0400 Subject: [PATCH 2/2] Add packages/env/CHANGELOG.md entry for the Debian Bullseye archive fix. packages/README.md requires a changelog entry under "Unreleased" for every package PR. Text matches upstream trunk's own entry for this fix (commit 1a1a07abb23000fd22cf6c8532a7b93c9919317a). --- packages/env/CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/env/CHANGELOG.md b/packages/env/CHANGELOG.md index 2cb42e8713e05b..49199153eee7d8 100644 --- a/packages/env/CHANGELOG.md +++ b/packages/env/CHANGELOG.md @@ -2,6 +2,10 @@ ## Unreleased +### Bug Fixes + +- Point the apt sources of the bullseye-based WordPress images (PHP 7.4 and 8.0) at `archive.debian.org`, so building them no longer fails now that Debian 11 has reached end-of-life and left the regular mirrors. + ## 11.0.0 (2026-02-18) ### Bug Fixes