Comment 2 for bug 1876035

Revision history for this message
Julian Andres Klode (juliank) wrote : Re: Consider making '-o Acquire::Retries=3' the default for 'apt-get update/install/dist-upgrade'

A few points to think about:

1. I am not aware of anyone using that option, we don't know if it works and how it behaves

2. Given 1, what kind of testing can we do? This needs to be thoroughly tested, given that it's not been tested at all.

3. Switching IPs might be useful, but it's not clear to me yet how that would work in practice. We can basically blacklist certain IPs so it jumps to the next one, but we need to make sure we don't run out of IPs I guess. Also we use one connection per hostname, so each failure would switch the connection to a different IP address for all following requests.

4. Does it have any kind of delay right now? I don't think it does, and it sounds hard, and also pointless if we switch IPs.

5. I'd like to retry across different host names too.