GnuPG can't find /usr/bin/dirmngr
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
One Hundred Papercuts |
Confirmed
|
Medium
|
Unassigned | ||
enigmail (Ubuntu) |
Confirmed
|
Medium
|
Unassigned | ||
gnupg2 (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
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/
Key(s) updated successfully
gpg: failed to start the dirmngr '/usr/bin/dirmngr': No such file or directory
gpg: connecting dirmngr at '/home/
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
ProcVersionSign
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
PackageArchitec
SourcePackage: enigmail
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in enigmail (Ubuntu): | |
importance: | Undecided → Medium |
Changed in gnupg2 (Ubuntu): | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in hundredpapercuts: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
I was able to fix with the following commands:
1. sudo apt remove gnupg
2. sudo apt install --reinstall gnupg2 (possibly not necessary, but doesn't hurt)
3. sudo apt install dirmngr