From 69c46786deac6263a061d6ad5ef87dcc4235575c Mon Sep 17 00:00:00 2001 From: Alexey Rogachevskiy Date: Fri, 29 May 2020 21:25:58 +0300 Subject: [PATCH] builder: Set apt retries to 3 This should lower the number of builds that failed due to repositories being unstable --- builder/image-software.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builder/image-software.sh b/builder/image-software.sh index 330b8539..a012e037 100755 --- a/builder/image-software.sh +++ b/builder/image-software.sh @@ -57,6 +57,10 @@ my_travis_retry() { return $result } +echo_stamp "Increase apt retries" + +echo "APT::Acquire::Retries \"3\";" > /etc/apt/apt.conf.d/80-retries + echo_stamp "Install apt keys & repos" # TODO: This STDOUT consist 'OK'