You are not logged in.

#1 2020-05-23 08:09:13

freshscaped
Member
From: West Yorkshire
Registered: 2015-08-29
Posts: 85

[SOLVED] Error receiving and searching for keys

Newly reinstalled Arch due to an error, the cause of which could not be found. But loading AUR packages using git clone was good.
Since the reinstall, with an ordinary user after reinstalling git and basic configuration,  running either

gpg --recv-keys

or

gpg --search-keys

fails:

~]$ gpg --search-keys 10F68CF73F8AA426F617752972A321BAC245F175
gpg: error searching keyserver: General error
gpg: keyserver search failed: General error

This was when trying to install php-pear. I posted on the comments section and received response:

Amish wrote:

Your system is not able to fetch (receive) the keys
Try this: gpg --search-keys 10F68CF73F8AA426F617752972A321BAC245F175
If all fails then please post on Archlinux forums.

which elicited the General error response, as reported above. So I'm posting here after first trying some web searches.

Last edited by freshscaped (2020-05-23 11:28:55)

Offline

#2 2020-05-23 08:22:39

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: [SOLVED] Error receiving and searching for keys

If you kill the dirmngr so a new connection to the pool is made hopefully to a different pool member is the result the same?

killall dirmngr

If the result is the same try using an alternative pool to the default SKS pool from the list of common keyservers.

Online

#3 2020-05-23 08:27:59

freshscaped
Member
From: West Yorkshire
Registered: 2015-08-29
Posts: 85

Re: [SOLVED] Error receiving and searching for keys

Bingo! Thanks loqs, I really appreciate that.

Offline

#4 2020-09-19 14:01:09

ibrudiiv
Member
Registered: 2014-11-18
Posts: 8

Re: [SOLVED] Error receiving and searching for keys

kilall dirmngr did not work for me

gpg --keyserver https://keys.openpgp.org/ --search-keys 10F68CF73F8AA426F617752972A321BAC245F175
returns a key:
gpg: data source: https://keys.openpgp.org:443
(1)       1024 bit DSA key 72A321BAC245F175, created: 2007-08-31
Keys 1-1 of 1 for "10F68CF73F8AA426F617752972A321BAC245F175".  Enter number(s), N)ext, or Q)uit >

but running the same command with --recv-keys instead outputs:
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

Offline

#5 2020-09-19 14:05:51

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: [SOLVED] Error receiving and searching for keys

Online

#6 2020-09-19 14:10:43

ibrudiiv
Member
Registered: 2014-11-18
Posts: 8

Re: [SOLVED] Error receiving and searching for keys

Thank you smile Using hkps worked

Welp, says imported but still can not actually install php-pear :-/

Last edited by ibrudiiv (2020-09-19 14:14:15)

Offline

#7 2020-09-19 14:19:26

loqs
Member
Registered: 2014-03-06
Posts: 17,195

Re: [SOLVED] Error receiving and searching for keys

Then there is a different issue.  Please open a new thread and include the full output from makepkg.

Online

#8 2020-09-19 23:40:58

ibrudiiv
Member
Registered: 2014-11-18
Posts: 8

Re: [SOLVED] Error receiving and searching for keys

So what ended up working for me is using the Ubuntu keyserver.

Offline

Board footer

Powered by FluxBB