On Fri, Aug 13, 2021 at 01:35:44PM +0200, Julian Andres Klode wrote: > Package: auto-apt-proxy > Version: 13.3 > Severity: important > Tags: patch > User: ubuntu-de...@lists.ubuntu.com > Usertags: origin-ubuntu impish ubuntu-patch > X-Debbugs-Cc: j...@debian.org > > In Ubuntu, the attached patch was applied to achieve the following: > > * Pass -o Acquire::Retries=0 to apt-helper, such that apt doesn't retry > the proxy probing, which now has exponential backoff in 2.3.7 > > This is needed for apt 2.3.7, otherwise the timeout test fails. > > Thanks for considering the patch. > > We detected this because the timeout test failed. It's worth pointing > out that the timeout test can still fail if `getent hosts apt-proxy` > takes longer than around 10s. On my laptop it takes 20s.
I wondered whether we should adapt the test instead, but this keeps with the original spirit of that code: either auto-apt-proxy finds a proxy that responds quickly, or it falls back to no proxy. I will just take your patch, thanks.
signature.asc
Description: PGP signature