Public bug reported: I am running apt with exactly one source and with the retries=3 option that became standard.
~ $ cat /etc/apt/sources.list.d/raspi.list deb http://raspbian.raspberrypi.org/raspbian bullseye main ~ $ apt --version apt 2.2.4 (arm64) $ sudo apt-get -oAcquire::ForceIPv6=true -oAcquire::Retries=3 install --reinstall adduser 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://ftp.agdsn.de/pub/mirrors/raspbian/raspbian bullseye/main armhf adduser all 3.118 Ign:1 http://ftp.agdsn.de/pub/mirrors/raspbian/raspbian bullseye/main armhf adduser all 3.118 Ign:1 http://ftp.agdsn.de/pub/mirrors/raspbian/raspbian bullseye/main armhf adduser all 3.118 Fehl:1 http://ftp.agdsn.de/pub/mirrors/raspbian/raspbian bullseye/main armhf adduser all 3.118 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://ftp.agdsn.de/pub/mirrors/raspbian/raspbian/pool/main/a/adduser/adduser_3.118_all.deb Beim Auflösen von »ftp.agdsn.de:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse). [ something wicked happened, no address for this hostname ] E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren? ** Affects: apt (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to apt in Ubuntu. https://bugs.launchpad.net/bugs/1992844 Title: apt download retries do not start at the 'root' but the redirect Status in apt package in Ubuntu: New Bug description: I am running apt with exactly one source and with the retries=3 option that became standard. ~ $ cat /etc/apt/sources.list.d/raspi.list deb http://raspbian.raspberrypi.org/raspbian bullseye main ~ $ apt --version apt 2.2.4 (arm64) $ sudo apt-get -oAcquire::ForceIPv6=true -oAcquire::Retries=3 install --reinstall adduser 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://ftp.agdsn.de/pub/mirrors/raspbian/raspbian bullseye/main armhf adduser all 3.118 Ign:1 http://ftp.agdsn.de/pub/mirrors/raspbian/raspbian bullseye/main armhf adduser all 3.118 Ign:1 http://ftp.agdsn.de/pub/mirrors/raspbian/raspbian bullseye/main armhf adduser all 3.118 Fehl:1 http://ftp.agdsn.de/pub/mirrors/raspbian/raspbian bullseye/main armhf adduser all 3.118 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://ftp.agdsn.de/pub/mirrors/raspbian/raspbian/pool/main/a/adduser/adduser_3.118_all.deb Beim Auflösen von »ftp.agdsn.de:http« ist etwas Schlimmes passiert (-5 - Zu diesem Hostnamen gehört keine Adresse). [ something wicked happened, no address for this hostname ] E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren? To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1992844/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp