@miskokot Probably best to open this up in a new bug report if you think there is an error. However, I can at least confirm that having http_proxy and https_proxy set does yield connections to my proxy with apt-add- repository
root@bionic:~# http_proxy=http://10.5.0.5:8000 https_proxy=http://10.5.0.5:8000 apt-add-repository ppa:canonical- kernel-team/ppa Notice, that your example has you doing an 'echo $http...' to prove that things are set, however that doesn't show if the variable is exported (available to suprocesses). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1433761 Title: apt-key and add-apt-repository don't honor Acquire::http::Proxy To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1433761/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs