[Touch-packages] [Bug 2055717] Re: Acquire::http::proxy ignored / used inconsistently?

2024-03-05 Thread Benjamin Portner
Okay, I agree that this is not an apt bug. However, the fact that you and me got this part wrong shows that the documentation can be improved. I propose updating the apt-transport-http manpage "Proxy Configuration" section as follows: - From the current description, it does not become clear that h

[Touch-packages] [Bug 2055717] Re: Acquire::http::proxy ignored / used inconsistently?

2024-03-05 Thread Benjamin Portner
Okay, I realized that `no_proxy="" sudo ...` does not overwrite no_proxy because it gets loaded again from /etc/environment when switching to the su context. If I do `sudo su` and then call `no_proxy="" apt update` then indeed the proxy is no longer by-passed. > 3) configure Acquire::http::proxy (

[Touch-packages] [Bug 2055717] Re: Acquire::http::proxy ignored / used inconsistently?

2024-03-04 Thread Benjamin Portner
@juliank Respectfully disagree. Calling `no_proxy="" sudo apt update` still by- passes the proxy. This is not the cause of the problem. > Please note that while http_proxy does not override Acquire::http::proxy, no_proxy does. This too, seems rather inconsistent to me. Is this behavior documente

[Touch-packages] [Bug 2055711] Re: Cannot set APT::Periodic::Update-Package-Lists

2024-03-04 Thread Benjamin Portner
Bingo! 20auto-upgrades was the cause. Thanks for the fast support! -- 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/2055711 Title: Cannot set APT::Periodic::Update-Package-Lists

[Touch-packages] [Bug 2055717] Re: Acquire::http::proxy ignored / used inconsistently?

2024-03-01 Thread Benjamin Portner
** Description changed: Problem description I have a client (A) and a freight server (B) serving apt packages on the same network. I also have a proxy server (C), which the client uses to talk to "the internet". When I run `sudo apt update`, my client talks to the freight server direc

[Touch-packages] [Bug 2055717] [NEW] Acquire::http::proxy ignored / used inconsistently?

2024-03-01 Thread Benjamin Portner
Public bug reported: Problem description I have a client (A) and a freight server (B) serving apt packages on the same network. I also have a proxy server (C), which the client uses to talk to "the internet". When I run `sudo apt update`, my client talks to the freight server directly, without co

[Touch-packages] [Bug 2055711] [NEW] Cannot set APT::Periodic::Update-Package-Lists

2024-03-01 Thread Benjamin Portner
Public bug reported: On Ubuntu 22.04.4 running apt 2.4.11 (amd64), I cannot set APT::Periodic::Update-Package-Lists. No matter which value I enter, it is always interpreted as '1'. Steps to reproduce: 1. Open /etc/apt/apt.conf.d/10periodic 2. Enter APT::Periodic::Update-Package-Lists "2" (or any