From 98a306fdef95e682044c7dff42910649277ee3e2 Mon Sep 17 00:00:00 2001 From: Lorenzo Martini <33097135+Martini991@users.noreply.github.com> Date: Tue, 3 Nov 2026 11:20:36 +0100 Subject: [PATCH] ci: write the debian:11 archive.debian.org sources explicitly The debian:11 step rewrites the image's sources.list with sed, swapping deb.debian.org for archive.debian.org. That works only while the file names deb.debian.org: if a future debian:11 image lists another mirror host, the sed silently matches nothing and the jobs fail again with 404s from bullseye-security. Write the bullseye, bullseye-updates and bullseye-security entries instead, in the form documented in archive.debian.org/debian/README and used by the debian:10 step in deprecated.yaml, so the sources the jobs use are visible in the workflow. --- .github/workflows/ci.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index fb66b3de..8cbd719e 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -36,8 +36,12 @@ jobs: run: | # Debian 11 (bullseye) is EOL: deb.debian.org no longer serves # its security pool, so point apt at archive.debian.org. Mirrors - # the debian:10 handling in deprecated.yaml. - sed -i 's|deb.debian.org|archive.debian.org|g' /etc/apt/sources.list + # the debian:10 handling in deprecated.yaml. The entries are + # written out so the result doesn't depend on the image's + # sources.list. + echo "deb http://archive.debian.org/debian bullseye main" > /etc/apt/sources.list + echo "deb http://archive.debian.org/debian bullseye-updates main" >> /etc/apt/sources.list + echo "deb http://archive.debian.org/debian-security bullseye-security main" >> /etc/apt/sources.list apt-get update - name: Run Installation Script