You are not logged in.

#1 2021-05-21 16:39:43

fobekyo
Member
Registered: 2021-05-21
Posts: 4

pacman-key cannot fetch any keys

I cannot receive or refresh any keys using pacman-key or gpg .

# pacman-key --refresh-keys

gpg: refreshing 1 key from hkps://hkps.pool.sks-keyservers.net
gpg: keyserver refresh failed: Server indicated a failure
==> ERROR: A specified local key could not be updated from a keyserver.
# gpg --recv-key 86CFFCA918CF3AF47147588051E8B148A9999C34
gpg: keyserver receive failed: Server indicated a failure

I already tried all solutions listed on https://wiki.archlinux.org/title/Pacman … leshooting

Offline

#2 2021-05-21 16:51:01

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

Re: pacman-key cannot fetch any keys

Did you try using a working keyserver?

Offline

#3 2021-05-21 16:56:18

fobekyo
Member
Registered: 2021-05-21
Posts: 4

Re: pacman-key cannot fetch any keys

I tried using https://keyserver.ubuntu.com/ , http://pool.sks-keyservers.net/ and https://keys.openpgp.org/ but got the same results. All of them are working fine on a different machine.

Last edited by fobekyo (2021-05-21 17:00:13)

Offline

#4 2021-05-21 18:45:30

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

Re: pacman-key cannot fetch any keys

You specified the http / https protocol instead of hkps://keyserver.ubuntu.com hkp://pool.sks-keyservers.net

Offline

#5 2021-05-21 19:40:31

fobekyo
Member
Registered: 2021-05-21
Posts: 4

Re: pacman-key cannot fetch any keys

loqs wrote:

You specified the http / https protocol instead of hkps://keyserver.ubuntu.com hkp://pool.sks-keyservers.net

I used https in my reply but I used the correct protocols with gpg.

Offline

#6 2021-05-21 19:57:56

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

Re: pacman-key cannot fetch any keys

gpg --recv-key 86CFFCA918CF3AF47147588051E8B148A9999C34
gpg: key 51E8B148A9999C34: public key "Evangelos Foutras <evangelos@foutrelis.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1

.gnupg/dirmngr.conf

keyserver hkps://keyserver.ubuntu.com

Did you do `killall dirmngr` after changing the keyserver?

Offline

#7 2021-05-21 20:57:20

fobekyo
Member
Registered: 2021-05-21
Posts: 4

Re: pacman-key cannot fetch any keys

`killall dirmngr` after changing the keyserver didn't help. I also tried deleting the .gnupg folder but that didn't help either.

Edit: If I use Googles DNS everything works just fine, but I would still like to be able to use my ISPs DNS

Last edited by fobekyo (2021-05-22 06:37:42)

Offline

Board footer

Powered by FluxBB