From c7d01d1cdad4bb48cb7a253fcbfed85f5b4717ea Mon Sep 17 00:00:00 2001 From: Sneha Wadhwa Date: Tue, 2 May 2023 10:27:46 -0700 Subject: [PATCH] Fix failing test: Update debian9 repo --- molecule/Dockerfile-debian-java11.j2 | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/molecule/Dockerfile-debian-java11.j2 b/molecule/Dockerfile-debian-java11.j2 index 960d775e1..d584ff1be 100644 --- a/molecule/Dockerfile-debian-java11.j2 +++ b/molecule/Dockerfile-debian-java11.j2 @@ -1,6 +1,12 @@ FROM {{ item.image }} -RUN echo 'deb [check-valid-until=no] http://ftp.debian.org/debian stretch-backports main' | sudo tee /etc/apt/sources.list.d/stretch-backports.list +RUN echo 'deb [check-valid-until=no] http://archive.debian.org/debian stretch-backports main' | sudo tee /etc/apt/sources.list.d/stretch-backports.list + +RUN sed -i s/ftp.debian.org/archive.debian.org/g /etc/apt/sources.list +RUN sed -i s/deb.debian.org/archive.debian.org/g /etc/apt/sources.list +RUN sed -i s/security.debian.org/archive.debian.org/g /etc/apt/sources.list +RUN sed -i '/stretch-updates/d' /etc/apt/sources.list +RUN sed -i s/ftp.debian.org/archive.debian.org/g /etc/apt/sources.list.d/stretch-backports.list RUN apt-get update && \ apt-get install --no-install-recommends --yes \