From: Martin Pitt Date: Sun, 26 Apr 2020 16:30:48 +0000 (+0200) Subject: build-debian-toolbox: Avoid deb.debian.org X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=67fe3081fb8bb929ce5c9927286f23eb1fd0099e;p=bin.git build-debian-toolbox: Avoid deb.debian.org It often gets the wrong mirror with my company VPN. --- diff --git a/build-debian-toolbox b/build-debian-toolbox index 821b52b..ce03183 100755 --- a/build-debian-toolbox +++ b/build-debian-toolbox @@ -18,6 +18,9 @@ fi # go-faster apt/dpkg echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/unsafe-io +# location based redirector gets it wrong with company VPN +sed -i "s/deb.debian.org/ftp.de.debian.org/" /etc/apt/sources.list + apt-get update apt-get install -y libnss-myhostname sudo eatmydata libcap2-bin