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