dist-upgrader does not honor all proxy settings

Bug #2127868 reported by Hadmut Danisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

Hi,

just a detail I noticed during an upgrade of Kubuntu 25.04 to 25.10 with do-release-update -d :

The updater failed here, because it tried to fetch

https://changelogs.ubuntu.com/meta-release-development

and used the proxy given in /etc/apt/apt.conf

Acquire::http::Proxy "http://install:8000/";
Acquire::https::Proxy "http://install:8000/";

but ignored

Acquire::ForceIPv4 true;

Therefore, it used an official IPv6 address instead of the RFC1918 ipv4 address or a site-local ipv6, and the proxy denied, since its use is restricted to local addresses.

If the upgrader takes the proxy settings from apt.conf, it should honor all settings.

Easy to fix, but it easily could keep users from updating if they don't understand this cause.

regards

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/2127868/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.