You are not logged in.

#26 2018-01-14 14:57:41

pgoetz
Member
From: Austin, Texas
Registered: 2014-02-21
Posts: 341

Re: gpg: keyserver receive failed: No name

This post hasn't been marked as SOLVED, so wanted to report that I was having exactly the same error and this suggested update to /etc/pacman.d/gnupg/gpg.conf

keyserver hkp://pgp.mit.edu:11371

resolved the issue for me.  I didn't try the other suggested update,

hkps://hkps.pool.sks-keyservers.net:443

Offline

#27 2018-01-14 23:41:34

Seville
Member
Registered: 2018-01-14
Posts: 1

Re: gpg: keyserver receive failed: No name

372046933 wrote:

Same issue here.

~~~~
downloading required keys...
error: key "CEB167EFB5722BD6" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
~~~~


I had this error too. I resolved it by running:

sudo pacman -S archlinux-keyring

Offline

#28 2018-01-14 23:43:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: gpg: keyserver receive failed: No name

Seville wrote:
372046933 wrote:

Same issue here.

~~~~
downloading required keys...
error: key "CEB167EFB5722BD6" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
~~~~


I had this error too. I resolved it by running:

sudo pacman -S archlinux-keyring

And if you'd read the thread, you'd know this is just a workaround and it will break again next time. Figure out why gpg isn't working and fix it.

Offline

#29 2018-01-29 15:59:14

Samvel
Member
Registered: 2018-01-29
Posts: 2

Re: gpg: keyserver receive failed: No name

I think the server is unreachable form where I am.
I get similar error white updating. Running cmd above reveals that GPG server connection is timing out:

gpg --debug-level guru --keyserver hkp://keys.gnupg.net --search-keys CEB167EFB5722BD6                                 !2129
gpg: enabled debug flags: packet mpi crypto filter iobuf memory cache memstat trust hashing ipc clock lookup extprog
gpg: DBG: [not enabled in the source] start
gpg: DBG: chan_3 <- # Home: /home/savanesov/.gnupg
gpg: DBG: chan_3 <- # Config: [none]
gpg: DBG: chan_3 <- OK Dirmngr 2.2.4 at your service
gpg: DBG: connection to the dirmngr established
gpg: DBG: chan_3 -> GETINFO version
gpg: DBG: chan_3 <- D 2.2.4
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KEYSERVER --clear hkp://keys.gnupg.net
gpg: DBG: chan_3 <- OK
gpg: DBG: chan_3 -> KS_SEARCH -- CEB167EFB5722BD6
gpg: DBG: chan_3 <- ERR 167805060 Connection timed out <Dirmngr>
gpg: error searching keyserver: Connection timed out
gpg: keyserver search failed: Connection timed out
gpg: DBG: chan_3 -> BYE
gpg: DBG: [not enabled in the source] stop
gpg: keydb: handles=0 locks=0 parse=0 get=0
gpg:        build=0 update=0 insert=0 delete=0
gpg:        reset=0 found=0 not=0 cache=0 not=0
gpg: kid_not_found_cache: count=0 peak=0 flushes=0
gpg: sig_cache: total=0 cached=0 good=0 bad=0
gpg: random usage: poolsize=600 mixed=0 polls=0/0 added=0/0
              outmix=0 getlvl1=0/0 getlvl2=0/0
gpg: rndjent stat: collector=0x0000000000000000 calls=0 bytes=0
gpg: secmem usage: 0/32768 bytes in 0 blocks

Offline

#30 2018-01-29 16:15:16

Samvel
Member
Registered: 2018-01-29
Posts: 2

Re: gpg: keyserver receive failed: No name

Every method suggested above (for the exception of updating gpg) fails!

error: key "CEB167EFB5722BD6" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)

it seems the pacman -Syu last keyring check hangs for about 30 sec and the fails:

(122/122) checking keys in keyring                                                          [#####################################################] 100%
downloading required keys...
error: key "CEB167EFB5722BD6" could not be looked up remotely
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occurred, no packages were upgraded.

I'll try and update the package next...

Offline

#31 2018-01-29 16:17:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,540

Re: gpg: keyserver receive failed: No name

Try getting rid of the keyserver line in /etc/pacman.d/gnupg/gpg.conf. Let it use the default.

Offline

Board footer

Powered by FluxBB