You are not logged in.

#1 2020-11-14 18:49:39

McDragon
Member
From: Wales
Registered: 2009-05-02
Posts: 14
Website

Persistent problem importing keys

Upgrading system through terminal using yay.
Packages upgrade normally but when it comes to importing keys I get a persistent error:

==> PGP keys need importing:
 -> 8FD3D9A8D3800305A9FFF259D1742AD60D811D58, required by: spotify
 -> 1C61A2656FB57B7E4DE0F4C1FC918B335044912E, required by: dropbox
 -> EC3CBE7F607D11E663149E811D1F0DC78F173680, required by: powerpill
==> Import? [Y/n] 
:: Importing keys with gpg...
gpg: keyserver receive failed: General error
problem importing keys

Unsuccessful with the solution here: https://bbs.archlinux.org/viewtopic.php?id=257441


Martin

Offline

#2 2020-11-14 18:52:48

GaKu999
Member
From: US/Eastern
Registered: 2020-06-21
Posts: 522

Re: Persistent problem importing keys

McDragon wrote:

Upgrading system through terminal using yay.
Packages upgrade normally but when it comes to importing keys I get a persistent error:

==> PGP keys need importing:
 -> 8FD3D9A8D3800305A9FFF259D1742AD60D811D58, required by: spotify
 -> 1C61A2656FB57B7E4DE0F4C1FC918B335044912E, required by: dropbox
 -> EC3CBE7F607D11E663149E811D1F0DC78F173680, required by: powerpill
==> Import? [Y/n] 
:: Importing keys with gpg...
gpg: keyserver receive failed: General error
problem importing keys

Unsuccessful with the solution here: https://bbs.archlinux.org/viewtopic.php?id=257441

What have you done thus far? You have told nothing, and this has nothing to do with pacman.
Request move to AUR issues.


My reposSome snippets

Heisenberg might have been here.

Offline

#3 2020-11-15 13:11:38

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,587

Re: Persistent problem importing keys

Unsuccessful with the solution here: https://bbs.archlinux.org/viewtopic.php?id=257441

That's not an error message .

you will have to add those keys to the keyring for your user.
post the content of ~/.gnupg/gpg.conf and output of

$ gpg --search-keys 8FD3D9A8D3800305A9FFF259D1742AD60D811D58

The value is copied from https://aur.archlinux.org/cgit/aur.git/ … ?h=spotify and ids the key used by tux@spotify.com .

Last edited by Lone_Wolf (2020-11-15 13:11:54)


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#4 2020-11-15 13:48:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 11,168

Re: Persistent problem importing keys

Moving to AUR issues.

Offline

#5 2020-11-22 11:02:36

McDragon
Member
From: Wales
Registered: 2009-05-02
Posts: 14
Website

Re: Persistent problem importing keys

Lone_Wolf wrote:

Unsuccessful with the solution here: https://bbs.archlinux.org/viewtopic.php?id=257441

That's not an error message .

you will have to add those keys to the keyring for your user.
post the content of ~/.gnupg/gpg.conf and output of

$ gpg --search-keys 8FD3D9A8D3800305A9FFF259D1742AD60D811D58

The value is copied from https://aur.archlinux.org/cgit/aur.git/ … ?h=spotify and ids the key used by tux@spotify.com .

The output of ~/.gnupg/gpg.conf

no-greeting
no-permission-warning
lock-never
keyserver-options timeout=10
keyserver-options import-clean
keyserver-options no-self-sigs-only
keyserver pool.sks-keyservers.net

$ gpg --search-keys 8FD3D9A8D3800305A9FFF259D1742AD60D811D58
produces...

[mcdragon@arch ~]$ gpg --search-keys 8FD3D9A8D3800305A9FFF259D1742AD60D811D58
gpg: data source: http://185.56.33.53:11371
(1)	Spotify Public Repository Signing Key <tux@spotify.com>
	  4096 bit RSA key D1742AD60D811D58, created: 2020-09-08, expires: 2021-12-02
Keys 1-1 of 1 for "8FD3D9A8D3800305A9FFF259D1742AD60D811D58".  Enter number(s), N)ext, or Q)uit > 1
gpg: key D1742AD60D811D58: "Spotify Public Repository Signing Key <tux@spotify.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

It looks like the keys are imported.
The search for the other two keys ...

Dropbox

[mcdragon@arch ~]$ gpg --search-keys 1C61A2656FB57B7E4DE0F4C1FC918B335044912E
gpg: data source: http://185.56.33.53:11371
(1)	Dropbox Automatic Signing Key <linux@dropbox.com>
	  2048 bit RSA key FC918B335044912E, created: 2010-02-11
Keys 1-1 of 1 for "1C61A2656FB57B7E4DE0F4C1FC918B335044912E".  Enter number(s), N)ext, or Q)uit > 1
gpg: key FC918B335044912E: "Dropbox Automatic Signing Key <linux@dropbox.com>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

and for Powerpill

[mcdragon@arch ~]$ gpg --search-keys EC3CBE7F607D11E663149E811D1F0DC78F173680
gpg: data source: http://185.56.33.53:11371
(1)	Xyne. (key #3) <xyne@archlinux.ca>
	  4096 bit RSA key 1D1F0DC78F173680, created: 2013-09-15
Keys 1-1 of 1 for "EC3CBE7F607D11E663149E811D1F0DC78F173680".  Enter number(s), N)ext, or Q)uit > 1
gpg: key 1D1F0DC78F173680: "Xyne. (key #3) <xyne@archlinux.ca>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1

Martin

Offline

#6 2020-11-22 12:45:57

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,587

Re: Persistent problem importing keys

So those keys are included in the user keyring.

Now re-run the command that gave that error, post the exact command AND full terminal output

check the green tipbox at https://wiki.archlinux.org/index.php/Li … in_clients for an easy way to upload the whole output.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#7 2020-11-22 14:10:39

McDragon
Member
From: Wales
Registered: 2009-05-02
Posts: 14
Website

Re: Persistent problem importing keys

Thank you @Lone_Wolf

Output is here: https://pastebin.com/jRVbUjVJ


Martin

Offline

#8 2020-11-22 14:21:05

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,587

Re: Persistent problem importing keys

aur/yay                                 10.0.2-1             -> 10.1.1-1

Looks like you're not using the latest version of yay.
Update yay to 10.1.1-1 first, then try again.


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

#9 2020-11-22 21:09:19

McDragon
Member
From: Wales
Registered: 2009-05-02
Posts: 14
Website

Re: Persistent problem importing keys

Thank you.
Wasn't sure why yay wasn't being updated by itself of through pacman.
Used manual install via git and now version verified t be up to date:

[mcdragon@arch yay]$ yay --version
yay v10.1.1 - libalpm v12.0.2

However still getting the same issue


Martin

Offline

#10 2020-11-23 10:52:00

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 8,587

Re: Persistent problem importing keys

Let's verify if your sytem is setup correctly to build packages with keys.

git clone latest version of one of the packages (like spotify) and build it with makepkg .


Multi-init booting with apg Openrc and systemd coexisting
Automounting : not needed, i prefer pmount
Aur helpers : makepkg + my own local repo === rarely need them

Offline

Board footer

Powered by FluxBB