summaryrefslogtreecommitdiff
path: root/install-itzks-workstation
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-09 15:14:58 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2018-02-09 15:14:58 +0100
commitc25d4a1c43bc3938423d98436aa03396c2fed83c (patch)
tree136fa4a7ca55a0bea28f90eb787096bf1e87a4ff /install-itzks-workstation
parentc43c2a4435671870bc79817f4382af7eaeb426d5 (diff)
downloaditzks-install-script-c25d4a1c43bc3938423d98436aa03396c2fed83c.tar.gz
itzks-install-script-c25d4a1c43bc3938423d98436aa03396c2fed83c.tar.bz2
itzks-install-script-c25d4a1c43bc3938423d98436aa03396c2fed83c.zip
Enforce cleaning up of /var/lib/apt/lists/.
Diffstat (limited to 'install-itzks-workstation')
-rw-r--r--install-itzks-workstation3
1 files changed, 3 insertions, 0 deletions
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