[Bug 1992844] Re: apt download retries do not start at the 'root' but the redirect
Nick Rosbrook
1992844 at bugs.launchpad.net
Fri Oct 14 21:00:25 UTC 2022
It looks like you're running Raspbian, not Ubuntu. Please open a bug
with Raspbian instead.
** Changed in: apt (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
Invalid
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
More information about the foundations-bugs
mailing list