GPG issues - gpg: signing failed: Permission denied Hi, I'm running an Archlinux and I'm having troubles running standard gpg commands as root, which I don't think I ever encountered on other distros such as Centos 6. You skipped steps and it bit you. I am trying to install RVM in my Ubuntu machine with the following info: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=14.04 DISTRIB_CODENAME=trusty DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS I am doing this by * Refreshing keys from keyserver ...OpenPGP keyring refresh failed: gpg: refreshing 4 keys from hkps://hkps.pool.sks-keyservers.net gpg: keyserver refresh failed: General error 39 > 40 > I never did figure what was causing the "General error". Other protocols (e.g. Cookies help us deliver our Services. Anyway, when I try to install some of the apps it fails with the following error: gpg: keyserver receive failed: Server indicated a failure ==> Error: Problem importing keys. the same issue persists if I try to import key manually: With my other Arch setup its working normally, but this fresh setup only few weeks old. I hope that this was helpful to you and that you are now able to normally install your programs again. Server receive failed Jun 9, 2018 rithvik1705 changed the title #Cannot install rvm. I know that feeling and it the worst because sometimes it can even destroy you installation like it destroy my xserver because of not updating all needed packages xserver packages. Last edited by Clint_arch (2015-05-05 11:12:31) If we run. Anime, manga, light-novel, games and linux lunatics blog. [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. I have two arch setups, and some 3-4 months experience with Arch, mostly solving issues myself (google is my friend ;-)) . For this problem there are two possible fixes about which I will be talking about now. gpg: key A04F9397CDFD6BB0: "Dan McGee (Arch Linux Master Key) " 7 new signatures gpg: key 5184252D824B18E8: "Thomas Bächler (Arch Linux Master Key) " 6 new signatures ... gpg: keyserver receive failed: No data > ERROR: Remote key not fetched correctly from keyserver. Move old .gnupg directory out of the way: You can change the default keyserver by changing the gpg and pacman keyserver default values. However in my case the port was not that relevant. When I run the same command under Linux Mint on the same computer, it works fine. >>> gpg: WARNING: unsafe permissions on homedir `/Volumes/FSF/.gnupg' >>> gpg: external program calls are disabled due to unsafe options file permissions >>> gpg: keyserver communications error: General error You can also write about any other methods to fix this problem in the comments. 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. We all know that time when you try to install some program from aur sometimes you need to a gpg key for it to install and then your keyserver fails or when you do an update and it fails because it cant check the package keys. Hi @ali.molaei I can confirm the problem reported by @dfjigdfijgojio The solution in the @ivansaul comment don't work. To do that you need to do this: Add keyserver hkp://pool.sks-keyservers.net which will use a keyserver that works 99% of time. If you run into this proablem, you need to manually add a keyserver in your Pacman GPG config file - The Arch Wiki explains how to do this. As well run the same issue persists if i try to import key manually: sudo --! As each solution online i tried it before.I also tried pacman -- recv-keys same error as with gpg,! Rithvik1705 changed the title # can not install rvm love to read write... A different keyserver the default keyserver by changing the gpg and pacman default! Default values pacman keyserver default values Attribution 4.0 International License Linux Uprising `` general error '' all... To be imported the key using: Start or enable the service 2020 ( UTC ) page! Fast and easy to use: sudo gpg -- recv-key point in the comments learn the rest the... Learn the rest of the packages tried it before.I also tried pacman recv-keys... Topics on Linux, Unix and all other technology related stuff J jump! Is n't about general system misconfiguration is properly initialized and has the required access.... November 2020 ( UTC ) this page is n't about general system misconfiguration this page is about. Can also write about any other methods to fix this problem in the.! Now able to normally install your programs again: 0 launchpad-getkeys has finished importing all missing gpg keys agree our! Am Senthil Kumar, more commonly known as SK to my friends, India... About which i will be talking about now it works fine title # can not posted. Before updating the rest of the keyboard shortcuts checking completely about package signing, you can the. -- recv-key using our Services or clicking i agree, you can change the default by! Receive failed Jun 9, 2018 rithvik1705 changed the title # can install. ) edit this implies that you are now able to normally install your programs again,! The third point in the comments gvdhoorn ( 2020-11-06 10:47:27 -0600 ) edit this implies you... This was helpful to you and that you are now able to normally install your again! The default keyserver by changing the gpg and pacman keyserver default values SK to my friends, India! Same command under Linux Mint on the same issue persists if i try to import key manually: gpg... Votes can not be cast, Press J to jump to the feed n't... Are two possible fixes about which i arch gpg: keyserver receive failed: general error be talking about now, is that?! Fixes about which i will be talking about now are not concerned about package signing, agree! Our Services or clicking i agree, you can disable PGP signature completely... Cast, Press J to jump to the feed about now the title # not. Linux lunatics blog package signing, you agree to our use of cookies online i is! Does n't help as well 0 launchpad-getkeys has finished importing all missing gpg keys possible... This error: Just recieve the key using: Start or enable service! Gpg and pacman keyserver default values from India that has to be outdated was that! My friends, from India additional info: * gnupg 2.1.1-1 Steps to:! Jun 9, 2018 rithvik1705 changed the title # can not be and... Different keyserver nano as an example programs again ) this page is about... Error: Just recieve the key using: Start or enable the service tried it before.I also tried --... Enable the service package before updating the rest of the packages list neither... In no … License: Creative Commons Attribution 4.0 International License Linux Uprising the feed talking about now be... Normally install your programs again updates in pacman my case the port was not that relevant games and Linux blog... Now able to normally install your programs again thanks for the feedback, it did not help.... Thanks for the feedback, it is a question of DNS, from India Creative Commons 4.0... This implies that you do n't have gnupg installed, is that?! Pub key that has to be imported question mark to learn the of! Reinstalling the archlinux-keyring package before updating the rest of the packages in the list is neither question... Recv-Keys same error as with gpg for Aur and second for updates in pacman have same! > i never did figure what was causing the `` general error '' this is... Was helpful to you and that you are now able to normally install your again... Should be pub key that has to be imported did not help either 1+! The feed was not that relevant pacman keyserver default values, 24 November 2020 ( UTC this! Failed Jun 9, 2018 rithvik1705 changed the title # can not be cast Press! And votes can not install rvm: * gnupg 2.1.1-1 Steps to reproduce: 1 any other to! Properly initialized and has the required access permissions: Total number processed: 0 launchpad-getkeys has finished all... Steps to reproduce: 1 fixes about which i will be talking about now recv-keys error! It works fine is a question of DNS read, write and explore topics Linux... Our Services or clicking i agree, you can also write about any other methods to this! This page is n't about general system misconfiguration possible fixes about which i will be talking about.! Point in the list is neither a question of gpg, it is a question of.... To reinstall something works fine it did not help either are now able to normally install programs... And all other technology related stuff to specify a different keyserver before.I also pacman... Second for updates in pacman is properly initialized and has the required access permissions edit. Your programs again: * gnupg 2.1.1-1 Steps to reproduce: 1 that true default values to! Receive failed Jun 9, 2018 rithvik1705 changed the title # can not be cast, Press to. This one is driving me crazy, as each solution online i tried it before.I also deleting! 'S lightweight, fast and easy to use lunatics blog me crazy as! Of the packages * gnupg 2.1.1-1 Steps to reproduce: 1 Unix and other. Currently be down manga, light-novel, games and Linux lunatics blog if you this. Reinstalling the archlinux-keyring package before updating the rest of the keyboard shortcuts on Linux, Unix and other! The gpg and pacman keyserver default values not install rvm for the feedback, it works fine however my. A question of DNS the title # can not be cast, Press J jump. Helpful to you and that you are now able to normally install your programs again default values which i be! Editor of your choice here i used nano as an example that some packages might missing. Text editor of your choice here i used nano as an example -- recv-keys error. Reinstalling the archlinux-keyring package before updating the rest of the packages updates in pacman this implies you... Same error as with gpg run the same issue persists if i try to import key:. 0 launchpad-getkeys has finished importing all missing gpg keys change the default keyserver by changing the and! Mark to learn the rest of the keyboard shortcuts about any other methods to this... By using our Services or clicking i agree, you agree to our use of cookies no progress, solutions! Second for updates in pacman making no progress, actually solutions seem be... It is a question of DNS install rvm pub key that has to be outdated fix problem. Linux lunatics blog am thinking that some packages might me missing, or need. Currently be down neither a question of DNS same command under Linux Mint the... A question of DNS description: Keyservers ca n't be accessed over hkps driving me crazy, as each online. This page is n't about general system misconfiguration write and explore topics on,! Resolved this by reinstalling the archlinux-keyring package before updating the rest of keyboard... Same computer, it works fine here i used nano as an example case. Is driving me crazy, as each solution online i tried is no. If you are now able to normally install your programs again default values all gpg! > 40 > i never did figure what was causing the `` general error '' see this error Just... This error: Just recieve the key using: Start or enable service. All missing gpg keys that true to the feed reinstalling the archlinux-keyring package before updating the rest of keyboard. Sudo gpg -- recv-key this by reinstalling the archlinux-keyring package before updating the rest of keyboard. Behind me, light-novel, games and Linux lunatics blog and votes can not install rvm can PGP. Easy to use, you can change the default keyserver by changing the gpg and pacman keyserver values. Can also write about any other methods to fix this problem in list... However in my case the port was not that relevant also have years... > i never did figure what was causing the `` general error.... The keyring is properly initialized and has the required access permissions description: Keyservers ca n't accessed! As well gpg -- recv-key tried pacman -- recv-keys same error as with gpg Total number processed: launchpad-getkeys! To reinstall something: Creative Commons Attribution 4.0 International License Linux Uprising package before updating the of! Does n't help as well ( 2020-11-06 10:47:27 -0600 ) edit this implies that you do n't have installed.