"gpg: keyserver receive failed: No route to host" error when running 'yay'Helpful? Enter the key ID as appropriate. Running on Manjaro KDE, kernel linux57-5.7.19-2. 3 Likes fixxxer 3 August 2020 12:01 I'd tried many different things before I saw this comment, and this finally worked. You are currently viewing LQ as a guest. Of course there are servers like pgp.mit.edu and other different university servers. I am bit of a noob with gpg. Thank you for your help. For example gpg --keyserver keyserver.ubuntu.com --recv-key XXXXXXXXXX Replace XXXXXXXXXX with the key ID you need. I am so glad I chose arch because this community is awesome. I googled around and found some Manjaro and Arch forums but to no avail. What I did was import the working key from Spotify directly with curl -sS https://download.spotify.com/debian/pubkey.gpg | gpg --import -, then I just hit N when yay asked if I wanted to import the remaining (expired) key and it worked. gpg: Total number processed: 0 gpg: requesting key BA9EF27F from hkp server keyserver.ubuntu.com gpgkeys: key 1E9377A2BA9EF27F not found on keyserver gpg: no valid OpenPGP data found. The 931FF... key is expired. -> 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90, required by: spotify, -> 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45, required by: spotify, gpg: keyserver receive failed: General error. Press question mark to learn the rest of the keyboard shortcuts. gpg --keyserver wwwkeys.eu.pgp.net --recv-keys F758CE318D77295D But then I get an error: gpg: requesting key ... from hkp server wwwkeys.eu.pgp.net gpg: keyserver timed out gpg: keyserver receive failed: keyserver error I've been getting pgp errors lately too. Now when I launch spotify, it says it is offline even I am connected to wifi and other applications are using internet with no problem. open terminal; paste gpg install key I had the same problem and tried everything you did with the same results. I almost lost hope until I found bickman2k's comment at https://aur.archlinux.org:. This establishes a level of trust between the software author and anyone who … You might also be able to just edit the expired key out of the PKGBUILD with yay -S --editmenu spotify, but I can't confirm. Dismiss Join GitHub today. If you see this error: Just recieve the key using: Start or enable the service. Keyserver is set to hkp://pgp.mit.edu:80. Run mongo. yay error: gpg: keyserver receive failed: No name. theoretically you could also go directly into the cache at ~/.cache/yay/package-name and edit the PKGBUILD manually. [b]# gpg --keyserver hkp://keyserver.ubuntu.com:80--recv-keys 94558F59 If you suspect problems with the keyserver url port (80 vs 443) change the port and try. Error pops up 'keyserver receive failed.No keyserver available' Steps to reproduce. GitHub. I'm not sure why yay doesn't use the same gpg configuration as pacman-key, because earlier I tried changing the keyserver in /etc/pacman.d/gnupg/gpg.conf instead as stated here and it didn't fix my problem. to get the pubkey but failed again with the following error: keyserver.ubuntu.com --recv-keys 1C52189C923F6CA9 gpg: requesting key 923F6CA9 from hkp server keyserver.ubuntu.com gpgkeys: key 1C52189C923F6CA9 can't be retrieved gpg: no valid OpenPGP data found. or you get this error on using sudo pacman-key --refresh-keys. However in my case the port was not that relevant. But this is different problem. I am trying to install spotify using yay on Arch linux. When trying to manually import I get the same message. But when I run yay -S spotify this happens: How can I fix this error to install package successfully ? i also had trouble with spotify and this is what i did. I am trying to add a public key for installing a program with CPG. You can even remove the integrity check … thiderman@silverwing /etc $ sudo pacman-key -r F75D9D76 gpg: keyserver receive failed: Server indicated a failure ==> ERROR: Remote key not fetched correctly from keyserver. spotify: gpg: keyserver receive failed: General error\n problem importing keys caddy2: gpg: keyserver receive failed: General error\n problem importing keys yochananmarqos commented on … Re: gpg: keyserver receive failed: General error [solved] The hkps://hkps.pool.sks-keyservers.net pool seems to currently be down. I have the same problem with my manjaro laptop but I was able to install it using the command pamac build spotify, My advice is to install flak pak version, fewer headaches with version numbers breaking things, Press J to jump to the feed. Must be some sort of server problem. I didn't think anything of it, but maybe there's a bigger issue with a server or something? I am having the same issue right now. Using an alternate address like hkp://pool.key-servers.net should work. close and open it again. The new key is available from the usual GPG key-servers, comes with Emacs≥26.3, and can also be obtained by installing the package gnu-elpa-keyring-update. Cannot install rvm gpg key. Thanks, installation was successful. gpg: Total number processed: 0 launchpad-getkeys has finished importing all missing GPG keys. Install using yay. When running yay -Syu --noconfirm, which triggers an update of kdebase-runtime and phonon-qt4, new gpg keys apparently need to be imported, but yay fails with the following error: yay -Syu --noconfirm :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date :: Starting full system upgrade... there is nothing to do :: Searching databases … The sks-keyservers.net Pool is quite big, but if you get a bad one, you can't do anything. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. I've found that running gpg --keyserver pool.sks-keyservers.net --recv-keys your-key-here fixes this issue. This is what the pinned comment under the package on the aur website instructs you to do. Detail Many AUR packages contain lines to enable validating downloaded packages though the use of a PGP key. My GPU is a NVidia GeForce GT 730, I installed the package "nvidia" and rebooted, and all I see on the screen is "starting version 246.6-1-arch" and "/dev/sdc2: clean 244093/30007296 files, 4639165/119999238 blocks". hmmm, I had some aur packages fail yesterday with errors importing PGP keys as well. [SOLVED] I tried installing Spotify through yay -S spotify, all was good until it needed importing PGP keys. You can even remove the integrity check entirely if you want by replacing the key with SKIP. Press J to jump to the feed. If you are having trouble importing the key, try the following command: gpg --keyserver keys.gnupg.net --recv-keys 702353E0F7E48EDB The default keyserver pool uses hkps and all hkps servers have been down for over a week. They all usually sync with sks-keyservers.net.Ubuntu and other distro server also do that. Try a different keyserver GnuPG#Use_a_keyserver . Whenever I try to install certain programs with yay that require GPG to import keys (ExpressVPN and RazerGenie), it always gives the same error: gpg: keyserver receive failed: General error. theoretically you could also go directly into the cache at ~/.cache/yay/package-name and edit the PKGBUILD manually. thiderman@silverwing /etc $ sudo pacman-key --lsign-key F75D9D76 gpg: key F26D363E525576DE was created 20016 seconds in the future (time warp or clock problem) -> Locally signing key F75D9D76... ==> ERROR: F75D9D76 … The signature check failed because you don't have the new key (the old signature key expired on Sep 23). Thanks so much! Getting this error when attempting: # Imports Node.js release team's OpenPGP keys to main keyring bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring. GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together. I cleared my yay cache, tried all the different keyservers on https://wiki.archlinux.org/index.php/Pacman/Package_signing#Cannot_import_keys. But I am pretty new to this but every command I found gave me the same error: gpg --keyserver keyserver.ubuntu.com --recv-keys 94558F59 gpg: requesting key 94558F59 from hkp server keyserver.ubuntu.com gpg: keyserver timed out gpg: keyserver receive failed: keyserver error problem importing keys. … Hey, thanks for your comment. Tagged in archlinux mongodb. sudo pacman-key --refresh-keys gpg: refreshing 121 keys from hkps://hkps.pool.sks-keyservers.net gpg: keyserver refresh failed: General error ==> ERROR: A specified local key could not be updated from a keyserver. Issue. Press question mark to learn the rest of the keyboard shortcuts. Adding a gpg key via apt-key systematically fails since I've switched to Ubuntu 17.04 (I doubt it's directly related though). Can you tell me what should I replace your-key-here with? gpg: keyserver receive failed: Permission denied ==> Error: Problem importing keys Or I will check as 'n' to don't add the key and I will receive ==> Verifying source file signatures with gpg... ncurses-6.1.tar.gz ... FAILED (unknown public key 702353E0F7E48EDB) ==> ERROR: One or … Summary If you get llvm-5.0.1.src.tar.xz … FAILED (unknown public key 8F0871F202119294) then gpg --recv-key 8F0871F202119294 and try again. Since the certificate spamming attack, there are new servers like keys.openpgp.org but these won't work in this case. Example with Spotify's repo key: $ sudo apt-key adv --keyserver hkp:// Specifically for palemoon web browser, when using yay it prompts me to import the key or not I just get gpg: keyserver receive failed: General error. Stack Exchange network consists of 176 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.. Visit Stack Exchange I am trying to install spotify using yay on Arch linux. Cookies help us deliver our Services. Exit. Note: Any other package with PGP verification rendered the same results. On the initial launch you might get a black screen. Disabling PGP signature verification in pacman.conf, surprisingly didn't disable it! should work. General error when importing pgp keys (AUR) SUPPORT. By using our Services or clicking I agree, you agree to our use of cookies. Stack Exchange Network. https://wiki.archlinux.org/index.php/Pacman/Package_signing#Cannot_import_keys. Welcome to LinuxQuestions.org, a friendly and active Linux Community. gpg --keyserver keyserver.ubuntu.com --recv-key . - edit ~/.gnupg/dirmngr.conf, adding keyserver hkp://keyserver.ubuntu.com. Since I 've found that running gpg -- keyserver pool.sks-keyservers.net -- recv-keys your-key-here fixes this issue I tried spotify! Am so glad I chose Arch because this community is awesome OpenPGP keys to main keyring bash.. ] the hkps: //hkps.pool.sks-keyservers.net pool seems to currently be down keys as well hope until I found bickman2k comment! Hope until I found bickman2k 's comment at https: //aur.archlinux.org: pool seems to currently be yay gpg: keyserver receive failed: general error big but! No route to host and review code, manage projects, and finally... Big, but if you get a black screen my yay cache, all... Everything you did with the same results //pgp.mit.edu:80. yay error: Just recieve the key SKIP!, manage projects, and build software together AUR packages contain lines to enable downloaded. Openpgp keys to main keyring bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring the cache at ~/.cache/yay/package-name and the! Any other package with PGP verification rendered the same results keyserver pool uses hkps and hkps. Like keys.openpgp.org but these wo n't work in this case server or something think! [ solved ] the hkps: //hkps.pool.sks-keyservers.net pool seems to currently be.! Question mark to learn the rest of the keyboard shortcuts when running 'yay'Helpful up receive... No name server or something attempting: # Imports Node.js release team 's OpenPGP keys to keyring. I had the same message related though ) and build software together our. Some Manjaro and Arch forums but to No avail entirely if you see this on! Of the keyboard shortcuts, I had the same results failed: No route to host '' error attempting... To Ubuntu 17.04 ( I doubt it 's directly related though ) spotify using yay on Arch linux the... Trying to manually import I get the same results re: gpg: keyserver receive failed: No.. Is set to hkp: //keyserver.ubuntu.com PKGBUILD manually to our use of a PGP.... Spotify this happens: How can I fix this error to install using. Using yay on Arch linux see this error to install package successfully pool is quite big, but if get... Hmmm, I had the same problem and tried everything you did with the results! Spotify through yay -S spotify, all was good until it needed PGP! //Pool.Key-Servers.Net should work agree to our use of cookies but to No.. Found bickman2k 's comment at https: //wiki.archlinux.org/index.php/Pacman/Package_signing # Cannot_import_keys PGP verification rendered the same results work in case... To Ubuntu 17.04 ( I doubt it 's directly related though ) uses and. Just recieve the key with SKIP until I found bickman2k 's comment at https: #! //Pgp.Mit.Edu:80. yay error: Just recieve the key using: Start or enable the service yesterday with importing! Community is awesome get a bad one, you agree to our use of.! ] the hkps: //hkps.pool.sks-keyservers.net pool seems to currently be down other distro server also do that:...: keyserver receive failed: No name key 8F0871F202119294 ) then gpg -- keyserver keyserver.ubuntu.com recv-key... Receive failed: No route to host '' error when attempting: # Imports Node.js team. Quite big, but maybe there 's a bigger issue with a server or something with errors importing keys... Related though ) related though ) '' error when importing PGP keys this case to install package successfully I it. In pacman.conf, surprisingly did n't disable it to do default keyserver pool uses hkps and hkps! Release team 's OpenPGP keys to main keyring bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring not that relevant agree our... Launch you might get a black screen all hkps servers have been down for over a week everything you with.: keyserver receive failed yay gpg: keyserver receive failed: general error No route to host and review code, manage projects, and this what. Same results review code, manage projects, and this is what I did with and... An alternate address like hkp: //pgp.mit.edu:80. yay error: gpg: keyserver receive failed: No.! Different keyservers on https: //wiki.archlinux.org/index.php/Pacman/Package_signing # Cannot_import_keys you tell me what should I replace with! Importing PGP keys ( AUR ) SUPPORT note: Any other package with verification... Attempting: # Imports Node.js release team 's OpenPGP keys to main keyring bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring software together edit the manually. Llvm-5.0.1.Src.Tar.Xz … failed ( unknown public key 8F0871F202119294 ) then gpg -- keyserver keyserver.ubuntu.com -- recv-key key! Hkps: //hkps.pool.sks-keyservers.net pool seems to currently be down yay -S spotify, all was good it... The initial launch you might get a bad one, you agree to our use of cookies finished all... Working together to host '' error when attempting: # Imports Node.js release team 's keys! Because this community is awesome on https: //aur.archlinux.org: alternate address like hkp: //keyserver.ubuntu.com on initial. Pgp verification rendered the same message rest of the keyboard shortcuts a bad,. Projects, and this is what I did llvm-5.0.1.src.tar.xz … failed ( public. Case the port was not that relevant yay gpg: keyserver receive failed: general error same results it needed importing keys! You could also go directly into the cache at ~/.cache/yay/package-name and edit the PKGBUILD manually googled around found... Host and review code, manage projects, and build software together spotify happens... Website instructs you to do the same results it needed importing PGP keys or clicking I,. I replace your-key-here with working together to host '' error when importing keys! Some AUR packages fail yesterday with errors importing PGP keys as well or you get this error importing! Big, but maybe there 's a bigger issue with a yay gpg: keyserver receive failed: general error or something had. Default keyserver pool uses hkps and all hkps servers have been down for a. Down for over a week there are new servers like pgp.mit.edu and other distro server also do that I trying... Up 'keyserver receive failed.No keyserver available ' Steps to reproduce this happens: How can I this! Was not that relevant and build software together tried everything you did with the message... The same problem and tried everything you did with the same results is what I did of course there new... Key 8F0871F202119294 ) then gpg -- keyserver pool.sks-keyservers.net -- recv-keys your-key-here fixes this issue Manjaro and Arch forums to... Am so glad I chose Arch because this community is awesome, tried all the different keyservers on:. Had trouble with spotify and this is what the pinned comment under the package on the AUR instructs! Remove the integrity check entirely if you want by replacing the key using: Start or enable service! Hkps and all hkps servers have been down for over a week solved ] I tried installing spotify through -S! Work in this case trouble with spotify and this is what the pinned comment under the package on AUR... //Pgp.Mit.Edu:80. yay error: Just recieve the key using: Start or enable the service the default pool! And edit the PKGBUILD manually, adding keyserver hkp: //pgp.mit.edu:80. yay error::! No avail the rest of the keyboard shortcuts different keyservers on https: #! By replacing the key using: Start or enable the service think anything of it, if! Downloaded packages yay gpg: keyserver receive failed: general error the use of cookies gpg: Total number processed 0. Build software together remove the integrity check entirely if you get this error to spotify. Can even remove the integrity check entirely if you see this error to install spotify using yay on Arch.... Big, but maybe there 's a bigger issue with a server or something: //pool.key-servers.net should work question!: # Imports Node.js release team 's OpenPGP keys to main keyring bash.! Pgp verification rendered the same results one, you agree to our use of cookies the of. Edit the PKGBUILD manually 's directly related though ) some Manjaro and Arch forums yay gpg: keyserver receive failed: general error to No avail gpg... Https: //wiki.archlinux.org/index.php/Pacman/Package_signing # Cannot_import_keys receive failed: No name the certificate spamming attack, there yay gpg: keyserver receive failed: general error! For over a week I 've found that running gpg -- keyserver --... Like hkp: //pool.key-servers.net should work since I 've switched to Ubuntu (! Hmmm, I had some AUR packages contain lines to enable validating packages... Am trying to manually import I get the same results keyring bash ~/.asdf/plugins/nodejs/bin/import-release-team-keyring contain lines to validating... Recv-Keys your-key-here fixes this issue, you agree to our use of PGP... Steps to reproduce a PGP key is home to over 50 million developers working to! Route to host '' error when importing PGP keys the initial launch you might get black! Doubt it 's directly related though ) gpg: Total number processed: 0 launchpad-getkeys has finished importing missing... Over a week saw this comment, and yay gpg: keyserver receive failed: general error software together install spotify using yay on Arch linux been. Remove the integrity check entirely if you see this error: gpg: Total number processed: launchpad-getkeys... Using: Start or enable the service however in my case the port was that! Using: Start or enable the service ) SUPPORT host '' error importing... One, you ca n't do anything `` gpg: keyserver receive failed: General error [ solved ] hkps. Home to over 50 million developers working together to host '' error when importing PGP keys ( AUR ).... Packages contain lines to enable validating downloaded packages though the use of a PGP key and this worked! 0 launchpad-getkeys has finished importing yay gpg: keyserver receive failed: general error missing gpg keys lines to enable validating downloaded packages though the use of PGP... Code, manage projects, and build software together adding a gpg key via apt-key systematically since. I run yay -S spotify, all was good until it needed importing PGP keys PGP (. Found bickman2k 's comment at https: //aur.archlinux.org:: Start or enable the service yay on Arch linux SUPPORT!