From f8df3b7eea45a110b8ff4b42ff52e00f172f5d4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Schl=C3=BCter?= Date: Wed, 21 Feb 2018 10:59:03 +0100 Subject: Add sed command to cut repository without release file. --- install-itzks-workstation | 3 +++ 1 file changed, 3 insertions(+) (limited to 'install-itzks-workstation') diff --git a/install-itzks-workstation b/install-itzks-workstation index 4e58c21..b9f59ee 100755 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -50,6 +50,9 @@ export ftp_proxy=http://webcache:3128 # We don't want to use Debian's old redirector service, but the new one... sed -r -i /etc/apt/sources.list -e "s@http.debian.net@httpredir.debian.org@g" +# We don't want to use the old repository without a release file +sed -i 's/.*deb.debian.org.*//' /etc/apt/sources.list + # take out the hammer and drop all previous package lists. find /var/lib/apt/lists/ -type f -delete -- cgit v1.2.3