On 28 Feb 2016 22:21, "Petter Reinholdtsen" <p...@hungry.com> wrote:
>
> [Reiner]
> > It would be nice when the dowload retry once again before the
> > installation stops.
>
> This would be great.  Every time I upgrade more than a handfull packages,
one
> of the downloads fail and I have to restart the upgrade.

Hi Petter,

Do you think part of this might need to be fixed at the apt level?
Downloads could fail with plain HTTP too. How much is within scope for the
transport to retry automatically?

The most common failures I've seen are where Tor has a "hiccup" of some
sort, but the fix there required restarting tor iirc, which I'd rather apt
was not able to do. In fact, since people are requesting to run Tor on
other machines, that would not be possible.

Maybe there are particular temporary failures that are tor-specific
(censorship?) and could be retried - and do what, retry three times?
Exponential backoff? :) If these cases could be detected, possibly the code
could try creating a new circuit?

But I suspect these ideas might not solve your general problem with large
updates failing.

Tim

Reply via email to