[Bug 1623087] Re: GnuPG can't find /usr/bin/dirmngr
Alan Franzoni
1623087 at bugs.launchpad.net
Wed Oct 19 08:04:18 UTC 2016
This is related to
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1634464 as well,
where the maintainer says the "apt-key adv" is deprecated ("like
everything else"). Not easy to understand what's deprecated.
By the way, "gpg --keyserver YYY --recv-key XXX" works 100% in Ubuntu
Xenial, with no deprecation or warning whatsoever. It should not break
in such unexpected way on Yakkety. It seems a gnupg->gnupg2 migration
issue to me; I think that at least for Yakkety dirmngr should be
included as a required dependency from gnupg2, a warning on the
deprecation of such feature could be issues, then the dirmngr package
could be switched to an optional dep LATER.
Even though IMHO such behaviour is still bad. If I do "gpg --help" in
ubuntu yakkety, I clearly see the "--recv-keys" option. Then it breaks
when using it if dirmngr is not installed. I would not list such option
and let the user employ a different command altogether for fetching
remote keys, instead: that would be WAY easier.
By the way, PLEASE consider that
"apt-key adv --keyserver ..."
is a VERY widely used and recommended command for installing keys. And
some keyservers may not even expose a decent way of fetching public keys
without the HKP protocol, making gpg --keyserver "the right choice".
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gnupg2 in Ubuntu.
https://bugs.launchpad.net/bugs/1623087
Title:
GnuPG can't find /usr/bin/dirmngr
Status in One Hundred Papercuts:
Confirmed
Status in enigmail package in Ubuntu:
Confirmed
Status in gnupg2 package in Ubuntu:
Confirmed
Bug description:
1. Enigmail -> Key Management.
2. Key server -> Refresh all public keys.
3. One of the following messages is displayed:
Downloading of keys failed
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/home/colan/.gnupg/S.dirmngr' failed: No such file or directory
Key(s) updated successfully
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/home/colan/.gnupg/S.dirmngr' failed: No such file or directory
So it either succeeds or fails, but the GPG error is the same.
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: enigmail 2:1.9.1-1
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CurrentDesktop: Unity
Date: Tue Sep 13 11:03:53 2016
EcryptfsInUse: Yes
PackageArchitecture: all
SourcePackage: enigmail
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/hundredpapercuts/+bug/1623087/+subscriptions
More information about the foundations-bugs
mailing list