You are not logged in.
Hi there,
I just upgraded my system and since gnupg replaced dirmngr, everytime i try to add a new key or even refresh the keys i get this error:
gpg: refreshing 77 keys from hkp://pool.sks-keyservers.net
gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: IPC connect call failed
gpg: keyserver refresh failed: No dirmngr
I tried to delete the /etc/pacman.d/gnupg directory and then run "pacman-key --init" again, but i don't think that could help.
# pacman-key --init
# pacman-key --refresh-keys
gpg: refreshing 77 keys from hkp://pool.sks-keyservers.net
gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: IPC connect call failed
gpg: keyserver refresh failed: No dirmngr
==> ERROR: A specified local key could not be updated from a keyserver.
# pacman-key -r <KEY>
gpg: connecting dirmngr at '/root/.gnupg/S.dirmngr' failed: IPC connect call failed
gpg: keyserver receive failed: No dirmngr
In this topic [0], the OP solved the problem by rebooting, but i did it just after upgrade (i always do that), but it didn't solve the problem.
[0] - https://bbs.archlinux.org/viewtopic.php?id=190324
How can i solve this?
Last edited by AbaddonOrmuz (2014-11-27 17:06:39)
Offline
Did you try renaming the .gnupg folder?
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Mine no problem.
$ pacman-key -V
pacman-key (pacman) 4.1.2
What's the version out there?
I suppose some problem with the connection.
do it good first, it will be faster than do it twice the saint
Offline
Mine no problem.
$ pacman-key -V pacman-key (pacman) 4.1.2
What's the version out there?
I suppose some problem with the connection.
The error message makes it pretty clear this is related to the gnupg upgrade. Please focus more on the content of the OPs posts than your own post count...
Offline
I am facing the same issue as the OP's one
Offline
Did you follow loafer's suggestion?
Offline
Did you follow loafer's suggestion?
No, but I just fixed by running the following command as root
# dirmngr </dev/null
Offline
Which is done in the gnupg update script... Is your system fully up to date?
Offline
I thing it's solved now:
I deleted my $HOME/.gnupg and /root/.gnupg directory and then:
# dirmngr --debug-level guru
dirmngr[20243.0]: error opening '/root/.gnupg/dirmngr_ldapservers.conf': No such file or directory
dirmngr[20243.0]: permanently loaded certificates: 0
dirmngr[20243.0]: runtime cached certificates: 0
dirmngr[20243.0]: failed to open cache dir file '/root/.gnupg/dirmngr-cache.d/DIR.txt': No such file or directory
dirmngr[20243.0]: creating directory '/root/.gnupg'
dirmngr[20243.0]: creating directory '/root/.gnupg/dirmngr-cache.d'
dirmngr[20243.0]: new cache dir file '/root/.gnupg/dirmngr-cache.d/DIR.txt' created
dirmngr[20243.0]: DBG: chan_3 -> # Home: ~/.gnupg
# Home: ~/.gnupg
dirmngr[20243.0]: DBG: chan_3 -> # Config: [none]
# Config: [none]
dirmngr[20243.0]: DBG: chan_3 -> OK Dirmngr 2.1.0 at your service
OK Dirmngr 2.1.0 at your service
I created an empty dirmngr_ldapservers.conf file and now i can refresh and add new keys
Thank you all
Last edited by AbaddonOrmuz (2014-12-05 21:19:41)
Offline
Thanks for sharing your solution. I had a similar problem when I tried to
# pacman-key -r 962DDE58
just adding an empty /root/.gnupg/dirmngr_ldapservers.conf solved that problem.
Offline
Thanks AbaddonOrmuz, your solution worked for me!
Offline
I just encountered the same issue, and this solution of creating an empty dirmngr_ldapservers.conf file fixed it.
Offline
Thanks @cowsquad.
I had the same problem. Running "dirmngr </dev/null" fixed the problem for me.
Offline
No, none work for me, but I read that this could be a bug in gnupg 1 so I will wait until or Allan come to a solution for pacman 4.2 or gnupg fix it.
PD: gnupg 2.1.1-beta17 supposedly fix the issue
Last edited by Jristz (2014-12-08 05:16:12)
Well, I suppose that this is somekind of signature, no?
Offline
I am having what I think is the same issue with gnupg 2.1.0-6, but the Bug # 42798 says that the issue has been fixed in gnupg-2.1.0-4. Has the bug resurfaced?
Offline
Thanks @loafer and @cowsquad.
Had a different error and your inputs (posts #2 and #9) helped solve it.
Note: Error happened on a laptop where gnupg upgrade had been done, following the official note. 'pacman-key -r <unofficial-repo-key>' couldn't import the key. Output was something like 'gpg: <SNIP> unsupported server family'.
Seeded last month: Arch 50 gig, derivatives 1 gig
Desktop @3.3GHz 8 gig RAM, linux-ck
laptop #1 Atom 2 gig RAM, Arch linux stock i686 (6H w/ 6yrs old battery ) #2: ARM Tegra K1, 4 gig RAM, ChrOS
Atom Z520 2 gig RAM, OMV (Debian 7) kernel 3.16 bpo on SDHC | PGP Key: 0xFF0157D9
Offline
Thanks for the solution AbaddonOrmuz. I had the same issue as Carl Karl.
I added the empty dirmngr_ldapservers.conf to ~/.gnupg/ though, and it worked fine.
Offline
btw. this one still exists on a freshly installed arch box. There is some issue there with the packaging and/or gnupg.
Ability is nothing without opportunity.
Offline
Hi STiAT,
take a look to this thread https://bbs.archlinux.org/viewtopic.php … 9#p1501589.
Also note that the Bug # 42798 has been reopened.
However, I could be wrong but if you have problems I think you should open a new thread since this has been already marked as [SOLVED].
Last edited by mauritiusdadd (2015-02-19 19:33:01)
Offline
Thanks @dharmaslacker for the solution
Offline
Thanks for the solution AbaddonOrmuz. I also added the empty dirmngr_ldapservers.conf to /root/.gnupg/, and it worked fine.That worked me too! THX!
Last edited by belissner (2015-03-06 10:48:21)
Offline
# dirmngr </dev/null
It worked as well for me as I tried to add the repo-ck.
Offline
Why does this also resolve the issue?
# touch /root/.gnupg/dirmngr_ldapservers.conf
Something shouldn't be depending on that file to exist.
makepkg-optimize · indicator-powersave · pantheon-{3d,lite} · {pantheon,higan}-qq
Offline
SOLVED
moved to https://bbs.archlinux.org/viewtopic.php?id=203944
Last edited by Klagor (2015-10-18 11:15:28)
Offline
Why does this also resolve the issue?
# touch /root/.gnupg/dirmngr_ldapservers.conf
Something shouldn't be depending on that file to exist.
Been there! thanks for the tip... solved here too
I arch, you arch, he arch, she arch, we arch, they arch...
Offline