[Bug 1713962] Re: apt-add-repository times out behind proxy
Launchpad Bug Tracker
1713962 at bugs.launchpad.net
Tue Apr 3 12:47:06 UTC 2018
This bug was fixed in the package software-properties - 0.96.24.25
---------------
software-properties (0.96.24.25) bionic; urgency=medium
* ppa.py:
- rework key retrieval, instead of using hkp & gnupg/dirmngr, use https
& python's built in urllib.
- thus, add-apt-key for PPAs observes https_proxy for key retrieval
- simplify gnupg operations, depend on gpg package only, and use
import/public key operations only.
- fix unicode process output bugs, when operating in a non-UTF-8
locale, thus enabling to import keys for my ppas in C locale.
- avoid creating trustdb, or requiring any gpg-agent systemd socket to
be activated
- update tests to execute key addition fully with less things stubbed
out with mock
- stop using apt-key for installing keys
- dirmngr is a heavy dependency and not used, and it is hard to pass
proxy information to it when invoking gpg from a non-standard homedir
- deprecate --keyserver option, making HTTPS access to
keyserver.ubuntu.com required
- LP: #1755192, LP: #1713962, LP: #1699086, LP: #1510220, LP: #1433761,
LP: #1395321, LP: #1312267
-- Dimitri John Ledkov <xnox at ubuntu.com> Mon, 02 Apr 2018 10:19:34
+0100
** Changed in: software-properties (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1713962
Title:
apt-add-repository times out behind proxy
Status in software-properties package in Ubuntu:
Fix Released
Bug description:
1) Release
Ubuntu 17.04
2) Package
software-properties-common: 0.96.24.13
3) What you expected to happen
GPG key processed successfully
e.g.
$ sudo -E add-apt-repository ppa:whatever
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox '/tmp/tmpby0unfol/pubring.gpg' created
gpg: /tmp/tmpby0unfol/trustdb.gpg: trustdb created
gpg: key XXXXXXXXXX: public key "Launchpad VLC" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1
OK
4) What happened instead
Timeout on gpg command
e.g.
$ sudo -E add-apt-repository ppa:whatever
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keybox '/tmp/xxx/pubring.gpg' created
Error: retrieving gpg key timed out.
5) Additional info
- OK on Ubuntu 16.04.3 LTS, software-properties-common: 0.96.20.7
- Network Proxy is set via GUI, applied system wide
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1713962/+subscriptions
More information about the foundations-bugs
mailing list