You are not logged in.
Hi, I was trying to install nfinality Bundle for Arch Linux (64 Bit) and trying to add key on pacman using this command
sudo pacman-key -r 962DDE58
I was getting this error
gpg: keyserver receive failed: No keyserver available
==> ERROR: Remote key not fetched correctly from keyserver.
I did some search and found this https://bbs.archlinux.org/viewtopic.php … 9#p1501589. After last step
sudo pacman-key --refresh-keys
I am getting this output
gpg: refreshing 85 keys from hkp://pool.sks-keyservers.net
gpg: keyserver refresh failed: No keyserver available
==> ERROR: A specified local key could not be updated from a keyserver.
How can I solve this ? Sorry for bad english/grammer mistakes.
Last edited by MLG_Sinon (2016-03-29 22:26:44)
Offline
sudo dirmngr < /dev/null
Might fix the issue, I know it was an issue a while ago but I don't know if it was officially fixed.
If it just sits there after you issue the command then Control + C to break out of it, that's fine to do.
Edit: and then refresh your keys again after that command.
Last edited by headkase (2016-03-29 22:31:44)
Offline
sudo dirmngr < /dev/null
Might fix the issue, I know it was an issue a while ago but I don't know if it was officially fixed.
If it just sits there after you issue the command then Control + C to break out of it, that's fine to do.
Edit: and then refresh your keys again after that command.
Thanks for quick reply but I already tried that and same results.
Last edited by MLG_Sinon (2016-03-29 22:36:13)
Offline
Try using another key server:
sudo pacman-key --keyserver pgp.mit.edu -r 962DDE58
Offline
Try using another key server:
sudo pacman-key --keyserver pgp.mit.edu -r 962DDE58
Thanks For replying, but same results. I did everything from wiki but no success.
Offline
I did all of the above and everything in the wiki also with no success until I added a keyserver to ~/.gnupg/gpg.conf and rebooted.
#
keyserver pgp.mit.edu
Last edited by TonyC (2016-05-16 00:38:23)
Offline
I have the exactly same problem.
Any ideas on how to fix this ?
thanks in advance
https://balaskas.gr
Linux System Engineer - Registered Linux User #420129
Offline
I'm getting the same error with "gpg: keyserver receive failed: No keyserver available". I tried with MIT and Ubuntu keyserver along with the default one and they all give me no keyserver found. This seems different to all the dirmngr errors others had as I tried all the recommended fixes that worked for others but it is not working in this case. Has any of you found a solution? Thank you.
Offline
I'm getting the same error with "gpg: keyserver receive failed: No keyserver available". I tried with MIT and Ubuntu keyserver along with the default one and they all give me no keyserver found. This seems different to all the dirmngr errors others had as I tried all the recommended fixes that worked for others but it is not working in this case. Has any of you found a solution? Thank you.
It is a totally different issue than what's in this thread. Known problem with 2.1.17-1, fixed in 2.1.17-2.
Offline
Sorry I must not have written my error clearly, but I am getting the exact same errors as the OP when I perform the same commands.
When I try to receive the infinality key.
sudo pacman-key -r 962DDE58
gpg: keyserver receive failed: No keyserver available
==> ERROR: Remote key not fetched correctly from keyserver
When I try to refresh the keys using pacman-key
sudo pacman-key --refresh-keys
gpg: refreshing 88 keys from hkp://pool.sks-keyservers.net
gpg: keyserver refresh failed: No keyserver available
==> ERROR: A specified local key could not be updated from a keyserver
So this is a known issue? Thank you
Offline
I have the same problem on a newly installed arch, none of the solutions mentioned here and on other threads worked.
It seems I get the same error for every keyserver.
Offline
if your using gnupg 2.1.16-2 not the 17(though it seems 17-2 will work as Scimmia says) ones does killall dirmngr work if you just downgraded without reboot etc. you need to downgrade to use the servers this includes pacman and aur.
Offline
Thanks so much everyone, Scimmia was right. I enabled the testing repository and upgraded to 17-2 and after reboot, pacman-key works fine.
Offline
I am now running gnupg version 2.1.17-3 and the issue occurs.
EDIT: fixed it by
sudo touch /root/.gnupg/dirmngr_ldapservers.conf
sudo killall dirmngr
I don't know if both these are necessary, but they are sufficient.
Last edited by rh995 (2017-01-05 16:24:42)
Offline
To fix this, only these steps worked for me:
1. Upgrade to gnupg 2.1.17-3 (from 2.1.17-1)
2. sudo killall dirmngr
Then refresh-keys worked.
Last edited by chappjc (2017-01-11 17:33:44)
Offline
To fix this, only these steps worked for me:
1. Upgrade to gnupg 2.1.17-3 (from 2.1.17-1)
2. sudo killall dirmngrThen refresh-keys worked.
I can confirm it worked for me.
Offline
I am stuck by this problem too, with latest gnupg (2.1.17-4)
I went through your solutions, but
- tried sudo touch /root/.gnupg/dirmngr_ldapservers.conf, sudo killall dirmngr
- tried to change keyserver "keyserver hkp://keyserver.kjsl.com:80" in /etc/pacman.d/gnupg/gpg.conf
- tried to run dirmng directly, launches ok
- tried deleting pacman cache: sudo pacman -Sc
- tried rebuilding everythin: pacman-key init, pacman-key populate archlinux
Interesting instructions are available here, but no soultion fixed my problem:
https://wiki.archlinux.org/index.php/Pa … mport_keys
Offline
today 2.1.18 came in, not better, also tried
rm -R /etc/pacman.d/gnupg/
rm -R /root/.gnupg/
gpg --refresh-keys
pacman-key --init && pacman-key --populate archlinux manjaro
pacman-key --refresh-keys
Offline
today 2.1.18 came in, not better, also tried
rm -R /etc/pacman.d/gnupg/
rm -R /root/.gnupg/
gpg --refresh-keys
pacman-key --init && pacman-key --populate archlinux manjaro
pacman-key --refresh-keys
If you're on manjaro, you're in the wrong place.
Offline
well spoted it's arch, no luck without the "manjaro" arg either
Offline
Stock nsswitch.conf?
Offline
yes
Offline
I'm seeing something that I think is pretty similar.:
➜ pacman -Qs gnupg
local/gnupg 2.1.18-1
Complete and free implementation of the OpenPGP standard
local/gpgme 1.7.1-2
A C wrapper library for GnuPG
local/lib32-libgcrypt 1.7.3-1
General purpose cryptographic library based on the code from GnuPG (32-bit)
local/libassuan 2.4.3-1
IPC library used by some GnuPG related software
local/libgcrypt 1.7.5-1
General purpose cryptographic library based on the code from GnuPG
local/qca-qt4 2.1.1-6
Qt Cryptographic Architecture
➜ gpg --refresh-keys --keyserver hkp://pgp.mit.edu
gpg: refreshing 16 keys from hkp://pgp.mit.edu
gpg: keyserver refresh failed: No keyserver available
➜
stock nsswitch.conf here, too. Thank for any help!
Offline
Every time I've come across this with 2.1.18, it's been an old nsswitch.conf. Post yours, let's make sure.
Offline
# Begin /etc/nsswitch.conf
passwd: files
group: files
shadow: files
publickey: files
hosts: files mdns_minimal [NOTFOUND=return] dns myhostname
# hosts: files dns myhostname
networks: files
protocols: files
services: files
ethers: files
rpc: files
netgroup: files
# End /etc/nsswitch.conf
not immediately obvious to me how I determine whether it's old or not. Date of creation is Oct. 30 2016, when i initially installed.
Offline