Tell APT to retry downloads a few times before giving up
We want to be resilient to small network hiccups and when you download a large number of packages, the probability of a network hiccup are increasing... as are the chances of hitting one of the apt bugs (cf "Undetermined error"...).
This commit is contained in:
parent
990dcf2eed
commit
b14a9e5c79
|
@ -105,8 +105,8 @@ Prepare_config ()
|
|||
LB_APT_SOURCE_ARCHIVES="${LB_APT_SOURCE_ARCHIVES:-true}"
|
||||
LB_APT_INDICES="${LB_APT_INDICES:-true}"
|
||||
|
||||
APT_OPTIONS="${APT_OPTIONS:---yes}"
|
||||
APTITUDE_OPTIONS="${APTITUDE_OPTIONS:---assume-yes}"
|
||||
APT_OPTIONS="${APT_OPTIONS:---yes -o Acquire::Retries=5}"
|
||||
APTITUDE_OPTIONS="${APTITUDE_OPTIONS:---assume-yes -o Acquire::Retries=5}"
|
||||
|
||||
BZIP2_OPTIONS="${BZIP2_OPTIONS:--6}"
|
||||
GZIP_OPTIONS="${GZIP_OPTIONS:--6}"
|
||||
|
|
Loading…
Reference in New Issue