[Bug 1755192] Re: Running add-apt-repository inside docker bionic container gives No such file or directory: 'S.gpg-agent.browser'
Launchpad Bug Tracker
1755192 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 Bionic)
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/1755192
Title:
Running add-apt-repository inside docker bionic container gives No
such file or directory: 'S.gpg-agent.browser'
Status in software-properties package in Ubuntu:
Fix Released
Status in software-properties source package in Bionic:
Fix Released
Bug description:
This used to work for Ubuntu 14.04 and 16.04.
```
Step 5/7 : RUN add-apt-repository -y ppa:kernsuite/kern-dev
---> Running in 4d6412c3d237
gpg: keybox '/tmp/tmpol6z8f79/pubring.gpg' created
gpg: /tmp/tmpol6z8f79/trustdb.gpg: trustdb created
gpg: key 813B0DC8B7D042E7: public key "Launchpad PPA for KERN suite" imported
gpg: Total number processed: 1
gpg: imported: 1
Warning: apt-key output should not be parsed (stdout is not a terminal)
OK
[Errno 2] No such file or directory: 'S.gpg-agent.browser'
```
Dockerfile:
```
FROM ubuntu:18.04
MAINTAINER gijsmolenaar at gmail.com
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository -y ppa:kernsuite/kern-dev
```
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1755192/+subscriptions
More information about the foundations-bugs
mailing list