Skip to contentSkip to conversation

install: fix debian jessie repositories

PATCH In review Fathi Boudra 2 participants 2 messages Apr 4, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 install: fix debian jessie repositories

jessie-updates no longer exists as this suite no longer receives updates since 2018-05-17. Get rid of jessie-updates and fix debian-security URL to unbreak the debian install and Dockerfile files.

---
 Dockerfile           | 3 +--
 Dockerfile.nojenkins | 3 +--
 install-debian.sh    | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
Dockerfile +1 -2
index a144bd6..8f43ab3 100644
@@ -23,8 +23,7 @@ ARG DEBIAN_FRONTEND=noninteractive
 
 WORKDIR /
 RUN echo deb http://httpredir.debian.org/debian jessie main non-free > /etc/apt/sources.list
-RUN echo deb http://httpredir.debian.org/debian jessie-updates main non-free >> /etc/apt/sources.list
-RUN echo deb http://security.debian.org/ jessie/updates main >> /etc/apt/sources.list
+RUN echo deb http://security.debian.org/debian-security jessie/updates main >> /etc/apt/sources.list
 RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
 
 # Fuego python dependencies
Dockerfile.nojenkins +1 -2
index 4519c4c..43e38b7 100644
@@ -34,8 +34,7 @@ ARG DEBIAN_FRONTEND=noninteractive
 
 WORKDIR /
 RUN echo deb http://httpredir.debian.org/debian jessie main non-free > /etc/apt/sources.list
-RUN echo deb http://httpredir.debian.org/debian jessie-updates main non-free >> /etc/apt/sources.list
-RUN echo deb http://security.debian.org/ jessie/updates main >> /etc/apt/sources.list
+RUN echo deb http://security.debian.org/debian-security jessie/updates main >> /etc/apt/sources.list
 RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy "'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi
 
 # Fuego python dependencies
install-debian.sh +1 -2
index ce6cec4..c059539 100755
@@ -38,8 +38,7 @@ fi
 
 # netperf is in non-free
 echo deb http://httpredir.debian.org/debian jessie main non-free > /etc/apt/sources.list
-echo deb http://httpredir.debian.org/debian jessie-updates main non-free >> /etc/apt/sources.list
-echo deb http://security.debian.org/ jessie/updates main >> /etc/apt/sources.list
+echo deb http://security.debian.org/debian-security jessie/updates main >> /etc/apt/sources.list
 
 apt-get update
 
Signature · 1 line
2.20.1
#1 lore raw
Quoted 66 lines

-----Original Message-----
From: Fathi Boudra

jessie-updates no longer exists as this suite no longer receives updates since 2018-05-17. Get rid of jessie-updates and fix debian-security URL to unbreak the debian install and Dockerfile files.

---
 Dockerfile           | 3 +--
 Dockerfile.nojenkins | 3 +--
 install-debian.sh    | 3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
Dockerfile +0 -0
index a144bd6..8f43ab3 100644
@@ -23,8 +23,7 @@ ARG DEBIAN_FRONTEND=noninteractive
 
 WORKDIR /
 RUN echo deb http://httpredir.debian.org/debian jessie main non-free >

/etc/apt/sources.list
-RUN echo deb http://httpredir.debian.org/debian jessie-updates main non- free >> /etc/apt/sources.list
-RUN echo deb http://security.debian.org/ jessie/updates main >> /etc/apt/sources.list
+RUN echo deb http://security.debian.org/debian-security jessie/updates main >> /etc/apt/sources.list
RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy
"'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi

# Fuego python dependencies

Dockerfile.nojenkins +0 -0
index 4519c4c..43e38b7 100644
@@ -34,8 +34,7 @@ ARG DEBIAN_FRONTEND=noninteractive
 
 WORKDIR /
 RUN echo deb http://httpredir.debian.org/debian jessie main non-free >

/etc/apt/sources.list
-RUN echo deb http://httpredir.debian.org/debian jessie-updates main non- free >> /etc/apt/sources.list
-RUN echo deb http://security.debian.org/ jessie/updates main >> /etc/apt/sources.list
+RUN echo deb http://security.debian.org/debian-security jessie/updates main >> /etc/apt/sources.list
RUN if [ -n "$HTTP_PROXY" ]; then echo 'Acquire::http::proxy
"'$HTTP_PROXY'";' > /etc/apt/apt.conf.d/80proxy; fi

# Fuego python dependencies

install-debian.sh +0 -0
index ce6cec4..c059539 100755
@@ -38,8 +38,7 @@ fi
 
 # netperf is in non-free
 echo deb http://httpredir.debian.org/debian jessie main non-free >

/etc/apt/sources.list
-echo deb http://httpredir.debian.org/debian jessie-updates main non-free

Quoted 1 line
Quoted 1 line

/etc/apt/sources.list

-echo deb http://security.debian.org/ jessie/updates main >> /etc/apt/sources.list
+echo deb http://security.debian.org/debian-security jessie/updates main

Quoted 6 lines
Quoted 1 line
Quoted 1 line

/etc/apt/sources.list

apt-get update

--
2.20.1

Thanks very much. I was going to look into this problem today, and was very grateful to see a patch addressing the issue. This saved me a lot of time!

This is applied and pushed to the fuegotest 'next' branch. I really appreciate the fix!

-- Tim