[Bug 310262] Re: APT::Acquire::Retries only applies to archives and source files
Bug Watch Updater
310262 at bugs.launchpad.net
Sat Jan 6 08:01:39 UTC 2018
** Changed in: apt (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/310262
Title:
APT::Acquire::Retries only applies to archives and source files
Status in apt package in Ubuntu:
Confirmed
Status in apt package in Debian:
Fix Released
Bug description:
Binary package hint: apt
The APT::Acquire::Retries configuration directive for apt only applies
to source and archive, not the various index files (Packages, Release
and friends). Intuitively, you would think that it should, but it
does not. As far as I can tell, there is no other equivalent
directive that would restrict the number of time apt should try to
fetch an index case before it give up.
This can trigger a relatively rare problem where apt would try to
download the same index file again and again, forever until stopped,
if the download systematically fail abruptly midway. See LP #291748
for such an example. If apt is being run automatically in the
background, this could end consuming a lot of bandwidth and hammer the
archive pretty badly before someone notice.
According to long-standing upstream Debian bug #119544, fixing this
bug would be a relatively trivial code change, but would break the
ABI. As such, I would be curious to know if there is an ABI bump on
apt roadmap; if yes, would it be possible to nominate this bug for the
next major release of apt?
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/310262/+subscriptions
More information about the foundations-bugs
mailing list