use apt.conf.d for the retries config
This commit is contained in:
parent
b26b3d8bbf
commit
624c3bc72b
1 changed files with 1 additions and 3 deletions
|
@ -6,9 +6,7 @@ export DEBIAN_FRONTEND=noninteractive
|
||||||
export DONT_CHANGE_SHELL
|
export DONT_CHANGE_SHELL
|
||||||
export DONT_START_TOR
|
export DONT_START_TOR
|
||||||
|
|
||||||
cat /etc/apt/apt.conf
|
echo "APT::Acquire::Retries=16" >> /etc/apt/apt.conf.d/99_retries
|
||||||
echo "APT::Acquire::Retries=16" >> /etc/apt/apt.conf
|
|
||||||
cat /etc/apt/apt.conf
|
|
||||||
|
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install sudo
|
apt-get install sudo
|
||||||
|
|
Loading…
Reference in a new issue