Browse Source

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.
tags/debian/3.25
Joey Hess 6 years ago
parent
commit
6454550837
2 changed files with 3 additions and 1 deletions
  1. +2
    -0
      debian/changelog
  2. +1
    -1
      tasksel.pl

+ 2
- 0
debian/changelog View File

@@ -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



+ 1
- 1
tasksel.pl View File

@@ -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) {


Loading…
Cancel
Save