Article View: linux.debian.bugs.dist
Article #3299Bug#1153057: apt: HTTP redirector archive results in unpredictable URLs in apt-get install user output
From: Arnaud Rebillout
Date: Thu, 05 Nov 2026 04:40
Date: Thu, 05 Nov 2026 04:40
29 lines
3283 bytes
3283 bytes
On Wed, 4 Nov 2026 22:23:07 +0100 Julian Andres Klode <jak@debian.org> 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
Technical Details
Message-ID:
<NVXqx-9VtJ-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NVQyJ-9RQa-1@gated-at.bofh.it> <NVQIp-9RTf-3@gated-at.bofh.it> <NVQIp-9RTf-3@gated-at.bofh.it> <NVQyJ-9RQa-1@gated-at.bofh.it> <NVQIp-9RTf-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod From: Arnaud Rebillout <arnaudr@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1153057: apt: HTTP redirector archive results in unpredictable URLs in apt-get install user output Date: Thu, 05 Nov 2026 05:40:01 +0100 Message-ID: <NVXqx-9VtJ-1@gated-at.bofh.it> References: <NVQyJ-9RQa-1@gated-at.bofh.it> <NVQIp-9RTf-3@gated-at.bofh.it> <NVQIp-9RTf-3@gated-at.bofh.it> <NVQyJ-9RQa-1@gated-at.bofh.it> <NVQIp-9RTf-3@gated-at.bofh.it> X-Original-To: 1153057@bugs.debian.org, Simon Josefsson <simon@josefsson.org>, Julian Andres Klode <jak@debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Nov 5 04:35:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Arnaud Rebillout <arnaudr@debian.org>, 1153057@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: deity@lists.debian.org X-Debian-Pr-Message: followup 1153057 X-Debian-Pr-Package: apt X-Debian-Pr-Source: apt MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Content-Language: en-US Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Debian-User: arnaudr X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2000722 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 29 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 5 Nov 2026 11:32:45 +0700 X-Original-Message-ID: <770dcead-520d-4c5f-8a21-a172a95a087e@debian.org> X-Original-References: <8733tgxpqb.fsf@josefsson.org> <20261104222152.GA2740875@debian.org> <20261104222152.GA2740875@debian.org> <8733tgxpqb.fsf@josefsson.org> <20261104222152.GA2740875@debian.org>