Commit 64545508 authored by Joey Hess's avatar Joey Hess

Set APT::Acquire::Retries=3 to deal with minor network glitches. Thanks, Petter…

Set APT::Acquire::Retries=3 to deal with minor network glitches. Thanks, Petter Reinholdtsen. Closes: #761970

Perhaps this would be a good default for apt in general? In any case, it
seems fine to do it in the installer.

Note that this could override an existing user configuration for this
value. If that turns out to be a problem, it could be done only when
in new install mode.
parent ee0386a2
......@@ -3,6 +3,8 @@ tasksel (3.25) UNRELEASED; urgency=medium
* Remove recommends on libreoffice-gcj which has not existed for years.
Thanks, Michael Biebl. Closes: 678793
* Add lightdm to mate task. Closes: #761598
* Set APT::Acquire::Retries=3 to deal with minor network glitches.
Thanks, Petter Reinholdtsen. Closes: #761970
-- Joey Hess <joeyh@debian.org> Sat, 13 Sep 2014 19:36:42 -0400
......
......@@ -637,7 +637,7 @@ sub main {
if exists $options{'debconf-apt-progress'};
push @cmd, "--";
}
push @cmd, qw{apt-get -q -y -o APT::Install-Recommends=true -o APT::Get::AutomaticRemove=true install};
push @cmd, qw{apt-get -q -y -o APT::Install-Recommends=true -o APT::Get::AutomaticRemove=true APT::Acquire::Retries=3 install};
# And finally, act on selected tasks.
if (@tasks_install || @tasks_remove) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment