You are not logged in.
Pages: 1
Topic closed
I tried installing spotify with yay, and it needed to import a couple of PGP keys, but it failed with the error message in title.
I tried reinstalling archlinux-keyring but since I have another problem I just posted with pacman installing outdated packages I don't really trust that reinstall.
Tried
pacman-key --refresh-keys
but it fails with error
A specified local key could not be updated from a keyserver.
Also tried switching keyservers, didn't help.
Offline
Offline
Did you kill dirmngr after changing servers? The hkps://hkps.pool.sks-keyservers.net pool seems to currently be down.
Offline
Did you kill dirmngr after changing servers? The hkps://hkps.pool.sks-keyservers.net pool seems to currently be down.
I tried switching keyservers. I put the keyserver in /etc/pacman.d/gnupg/gpg.conf and in ~/.gnupg/gpg.conf and now archlinux --refresh-keys says no keyserver is available.
I used hkp://pgp.mit.edu:11371
Offline
Update, while pacman-key --refresh-keys doesnt work, importing the spotify key manually with gpg --recv-keys does, even if it does get stuck for a while
Offline
pacman-key and its configuration in /etc/pacman.d/gnupg/gpg.conf are not used by makepkg or its wrappers.
Offline
Update, while pacman-key --refresh-keys doesnt work, importing the spotify key manually with gpg --recv-keys does, even if it does get stuck for a while
Did you bother to read the link I posted in #2 - that is exactly what the wiki stated.
Offline
I had the same error, first, I installed manually the two keys so: gpg --keyserver pool.sks-keyservers.net --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90, then I installed Spotify without problem. I hope i help you.
Offline
I had the same error, first, I installed manually the two keys so: gpg --keyserver pool.sks-keyservers.net --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90, then I installed Spotify without problem. I hope i help you.
This worked for me too, thank you!
Weird is I've been using Arch for two years now and never had this issue..
EDIT:
To make this work permanently I appended "keyserver pool.sks-keyservers.net" into ~/.gnupg/gpg.conf
The file wasn't there to begin with so I copied the one used by pacman in /etc/pacman.d/gnupg/gpg.conf and then added the line.
This will make it work with makepkg or an AUR helper like yay.
Last edited by else3dy (2020-07-24 14:33:23)
Offline
Douglas75 wrote:I had the same error, first, I installed manually the two keys so: gpg --keyserver pool.sks-keyservers.net --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90, then I installed Spotify without problem. I hope i help you.
This worked for me too, thank you!
Weird is I've been using Arch for two years now and never had this issue..EDIT:
To make this work permanently I appended "keyserver pool.sks-keyservers.net" into ~/.gnupg/gpg.conf
The file wasn't there to begin with so I copied the one used by pacman in /etc/pacman.d/gnupg/gpg.conf and then added the line.
This will make it work with makepkg or an AUR helper like yay.
Tnx. a lot. I had the same problem and this post solved it.
Offline
gpg --keyserver pool.sks-keyservers.net --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90
This worked with a different key as well. Thank you so much!
Offline
On a related note, where does one find a list of 'legit' keyservers? I keep seeing posts with different keyservers, but not from where it was found. I've wandered around the Arch Wiki and elsewhere and i haven't found that answer. Cheers.
EDIT: Sort of found it shortly after posting!
https://wiki.archlinux.org/index.php/Gn … _keyserver
(in the green box)
Which links to:
https://en.wikipedia.org/wiki/Key_serve … r_examples
Last edited by DifficultDerek (2020-08-15 05:31:55)
Offline
I tried the solution gpg --keyserver pool.sks-keyservers.net --recv-keys <key> but it doesn't work.
Offline
I tried the solution gpg --keyserver pool.sks-keyservers.net --recv-keys <key> but it doesn't work.
Hi, I just tried this recommendation and it worked for me.
I occasionally had problems installing Spotify with yay.
Usage example: (without sudo)
gpg --keyserver pool.sks-keyservers.net --recv-keys 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45
-> Repeat this with the keys you need to import
gpg: key 4773BD5E130D1D45: public key "Spotify Public Repository Signing Key <tux@spotify.com>" imported
gpg: Total number processed: 1
gpg: imported: 1
After this I was able to install the Spotify aur package without problems.
I hope to be helpful.
Regards
Offline
It worked for me too. When it works, it may be convenient to create `~/.gnupg/gpg.conf` with a line :
```
keyserver pool.sks-keyservers.net
```
in it (see man gpg). That way you don't have to add the server every time.
Offline
I am still having issues with these keys not getting imported. Tried creating and adding
keyserver pool.sks-keyservers.net
into
~/.gnupg/gpg.conf
Didn't work
Manually adding keys didn't work using gpg --keyserver pool.sks-keyservers.net --recv-keys 2EBF997C15BDA244B6EBF5D84773BD5E130D1D45
Some of the keys got imported but then when re-run the update was still being asked to import them and getting the error
gpg: keyserver receive failed: General error
problem importing keys
Martin
Offline
Some of the keys got imported but then when re-run the update was still being asked to import them and getting the error
If you mean a pacman update then that would be a different issue. Please start a new thread and post the command you used and its full output in code tags.
Offline
Douglas75 wrote:I had the same error, first, I installed manually the two keys so: gpg --keyserver pool.sks-keyservers.net --recv-keys 931FF8E79F0876134EDDBDCCA87FF9DF48BF1C90, then I installed Spotify without problem. I hope i help you.
This worked for me too, thank you!
Weird is I've been using Arch for two years now and never had this issue..EDIT:
To make this work permanently I appended "keyserver pool.sks-keyservers.net" into ~/.gnupg/gpg.conf
The file wasn't there to begin with so I copied the one used by pacman in /etc/pacman.d/gnupg/gpg.conf and then added the line.
This will make it work with makepkg or an AUR helper like yay.
It also helped me, thx! Here is the error I see in the output of journactl -fn when I tried to install a package by yay.
Oct 12 10:27:45 pc dirmngr[6655]: TLS connection authentication failed: General error
Oct 12 10:27:45 pc dirmngr[6655]: error connecting to 'https://hkps.pool.sks-keyservers.net:443': General error
Oct 12 10:27:45 pc dirmngr[6655]: command 'KS_GET' failed: General error <Unspecified source>
Obviously https://hkps.pool.sks-keyservers.net/ doesn't have a valid SSL certificate.
Offline
It also helped me, thx! Here is the error I see in the output of journactl -fn when I tried to install a package by yay.
Oct 12 10:27:45 pc dirmngr[6655]: TLS connection authentication failed: General error Oct 12 10:27:45 pc dirmngr[6655]: error connecting to 'https://hkps.pool.sks-keyservers.net:443': General error Oct 12 10:27:45 pc dirmngr[6655]: command 'KS_GET' failed: General error <Unspecified source>
Obviously https://hkps.pool.sks-keyservers.net/ doesn't have a valid SSL certificate.
https://hkps.pool.sks-keyservers.net:443 is the incorrect protocol it is hkps://hkps.pool.sks-keyservers.net but that still uses the overloaded pool.
Offline
Mod note: closing this old topic as it is predominantly 'me too' posts at this point.
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
Pages: 1
Topic closed