From 67fe3081fb8bb929ce5c9927286f23eb1fd0099e Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 26 Apr 2020 18:30:48 +0200 Subject: [PATCH] build-debian-toolbox: Avoid deb.debian.org It often gets the wrong mirror with my company VPN. --- build-debian-toolbox | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.5