From c25d4a1c43bc3938423d98436aa03396c2fed83c Mon Sep 17 00:00:00 2001 From: Mike Gabriel Date: Fri, 9 Feb 2018 15:14:58 +0100 Subject: Enforce cleaning up of /var/lib/apt/lists/. --- install-itzks-workstation | 3 +++ 1 file changed, 3 insertions(+) diff --git a/install-itzks-workstation b/install-itzks-workstation index 574add6..63ff7df 100644 --- a/install-itzks-workstation +++ b/install-itzks-workstation @@ -37,6 +37,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" +# take out the hammer and drop all previous package lists. +find /var/lib/apt/lists/ -type f -delete + # Get update and add itzks-keyring and itzks-systems-common package apt-get update apt-get install -y --force-yes itzks-keyring && apt-get update && apt-get install -y itzks-systems-common && apt-get update -- cgit v1.2.3