From 9c8b8c783e28bfa35c87a055ef2724600134dda3 Mon Sep 17 00:00:00 2001 From: jnasselle Date: Wed, 26 Apr 2023 15:35:54 -0300 Subject: [PATCH] Fix generation of ARM64/ARM32/PPC64LE deb packages --- debs/Debian/arm64/Dockerfile | 7 ++++--- debs/Debian/armhf/Dockerfile | 7 ++++--- debs/Debian/ppc64le/Dockerfile | 9 +++++---- 3 files changed, 13 insertions(+), 10 deletions(-) diff --git a/debs/Debian/arm64/Dockerfile b/debs/Debian/arm64/Dockerfile index 7c4737fbe0..9314291a7e 100644 --- a/debs/Debian/arm64/Dockerfile +++ b/debs/Debian/arm64/Dockerfile @@ -3,9 +3,10 @@ FROM arm64v8/debian:stretch ENV DEBIAN_FRONTEND noninteractive # Installing necessary packages -RUN echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt/sources.list && \ - echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \ - apt-get update && apt-get install -y apt apt-utils \ +RUN echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list && \ + echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list && \ + echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list && \ + apt-get update && apt-get install -y --allow-change-held-packages apt apt-utils \ curl gcc g++ make sudo expect gnupg \ perl-base perl wget libc-bin libc6 libc6-dev \ build-essential cdbs devscripts equivs automake \ diff --git a/debs/Debian/armhf/Dockerfile b/debs/Debian/armhf/Dockerfile index b9d5d8a015..a42ddd8ece 100644 --- a/debs/Debian/armhf/Dockerfile +++ b/debs/Debian/armhf/Dockerfile @@ -3,9 +3,10 @@ FROM arm32v7/debian:stretch ENV DEBIAN_FRONTEND noninteractive # Installing necessary packages -RUN echo "deb http://deb.debian.org/debian stretch contrib non-free" >> /etc/apt/sources.list && \ - echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \ - apt-get update && apt-get install -y apt-utils \ +RUN echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list && \ + echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list && \ + echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list && \ + apt-get update && apt-get install -y --allow-change-held-packages apt-utils \ curl gcc make wget sudo expect gnupg perl-base \ perl libc-bin libc6 libc6-dev \ build-essential cdbs devscripts equivs automake autoconf libtool \ diff --git a/debs/Debian/ppc64le/Dockerfile b/debs/Debian/ppc64le/Dockerfile index cbdf066de4..80c23af64a 100644 --- a/debs/Debian/ppc64le/Dockerfile +++ b/debs/Debian/ppc64le/Dockerfile @@ -3,10 +3,11 @@ FROM ppc64le/debian:stretch ENV DEBIAN_FRONTEND noninteractive # Installing necessary packages -RUN echo "deb http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \ - echo "deb-src http://deb.debian.org/debian stretch main contrib non-free" >> /etc/apt/sources.list && \ - apt-get update && apt-get install -y apt-utils && \ - apt-get install -y --force-yes \ +RUN echo "deb http://archive.debian.org/debian stretch contrib main non-free" > /etc/apt/sources.list && \ + echo "deb http://archive.debian.org/debian-security stretch/updates main" >> /etc/apt/sources.list && \ + echo "deb-src http://archive.debian.org/debian stretch main" >> /etc/apt/sources.list && \ + apt-get update && apt-get install -y --allow-change-held-packages apt-utils && \ + apt-get install -y --allow-change-held-packages \ curl gcc make sudo expect gnupg perl-base perl wget \ libc-bin libc6 libc6-dev build-essential \ cdbs devscripts equivs automake autoconf libtool libaudit-dev selinux-basics \