apt download retries do not start at the 'root' but the redirect
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| apt (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
I am running apt with exactly one source and with the retries=3 option that became standard.
~ $ cat /etc/apt/
deb http://
~ $ apt --version
apt 2.2.4 (arm64)
$ sudo apt-get -oAcquire:
Now the host of the repo will reply with a mirror selection (i.e. http 302 redirect). It so happens that the mirror selected is a ipv4 mirror and my machine is a ipv6 only machine, so there is no possible dns resolution. (force ipv6 was a trial, has no effect on my machine which is ipv6 only)
Apt tries again 3 times, but only at the location of the redirect.
For my understanding it should start at the original source, so it has a chance of getting a _different_ 302 redirect.
Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
Ign:1 http://
Ign:1 http://
Ign:1 http://
Fehl:1 http://
Beim Auflösen von »ftp.agdsn.de:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse).
E: Fehlschlag beim Holen von http://
E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?

It looks like you're running Raspbian, not Ubuntu. Please open a bug with Raspbian instead.