The difference for Xenial / Bionic In Xenial apt-key spawns a process named gpg that honors the env. for http_proxy. In Bionic the command “apt-key” spawns a process “dirmngr –daemon –homedir /tmp/apt-key-gpghome.[RANDOM STRING]” which do not honor the env. for http_proxy / https_proxy.
Because of the above (homedir set to /tmp/….) the configuration that could be added to the ~/.gnupg/dirmngr.conf is not read by dirmngr. When running just dirmngr in the terminal the config from ~/.gnupg/dirmngr.conf is read. We’ve also tried setting “GNUPGHOME=/home/ubuntu/.gnupg” in /etc/environment. -- 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