osmith has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ci/+/43531?usp=email )
Change subject: scripts/repo-install-test: fix debian11 (EOL) ......................................................................
scripts/repo-install-test: fix debian11 (EOL)
Fix that the repos-install-test jobs for debian11 fail at downloading packages from security.debian.org:
Err:1 http://security.debian.org/debian-security bullseye-security/main amd64 gpgv amd64 2.2.27-2+deb11u3 404 Not Found [IP: 146.75.122.132 80]
Change-Id: I3ef0930eecf95298dd7e809e204a0083745f1823 --- M scripts/repo-install-test.sh 1 file changed, 12 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/31/43531/1
diff --git a/scripts/repo-install-test.sh b/scripts/repo-install-test.sh index 8289ecf..a378502 100755 --- a/scripts/repo-install-test.sh +++ b/scripts/repo-install-test.sh @@ -154,6 +154,18 @@ -e s/security.debian.org/archive.debian.org/g \ /etc/apt/sources.list ;; + debian11) + # As of writing, the debian 11 security repository is not + # available on archive.debian.org while at the same time the + # non-archived version is broken. Run the test without the + # security repository. This is fine here, debian 11 is EOL + # anyway. + qemu_ssh sed \ + -i \ + -e s/deb.debian.org/archive.debian.org/g \ + -e '/.*security.debian.org.*/d' \ + /etc/apt/sources.list + ;; esac }