On Wed, 4 Nov 2026 22:23:07 +0100 Julian Andres Klode <[email protected]> wrote:
> On Wed, Nov 04, 2026 at 10:15:40PM +0100, Simon Josefsson wrote:
> > If the apt archive server is using HTTP redirects to bounce clients to
> > other servers, then 'apt-get install' appears to randomly (but seamingly
> > deterministically) alternate between printing the original URL from the
> > apt sources configuration and the HTTP redirect URL received from the
> > server.
>
> Yeah that seems reasonable to me given the output is running on a fixed
> pulse it probably happens to print when some items are still
> pre-redirect whereas the others already got a redirect and were
> printed correctly.


It's also something I noticed on Kali Linux, since by default Kali APT sources point to http.kali.org, which redirects to a mirror close-by.

IMO apt should print the redirected URL, it makes it much easier when you look at logs where apt failed with a "hashsum mismatch" error. Sometimes in this case it only prints the URL of the redirector, so you don't know which mirror is actually at fault.

If I understand Julian's answer, it's not an easy thing to change though...

Cheers,

Arnaud

Reply via email to