You are not logged in.

#1 2021-09-03 16:52:58

nixIT
Member
Registered: 2010-01-13
Posts: 457

[SOLVED] gcc8 and gcc9 pgp error

hello all,

trying to update the gcc8 and gcc9 packages from aur via yay, I also tried manually with the same results:

:: PGP keys need importing:
 -> D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62, required by: gcc8 (gcc8-libs gcc8)  gcc9 (gcc9-libs gcc9)
==> Import? [Y/n] y
:: Importing keys with gpg...
gpg: keyserver receive failed: No name
problem importing keys

I then searched the keyserver with the gpg --search-keys command, and the search failed, no name.

I reinstalled archlinux-keyring, no help
I did pacman-key --refresh-keys, no help

am I missing something?

~nixit

solution: found a keyserver that contained the proper key

Last edited by nixIT (2021-09-03 20:38:09)


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#2 2021-09-03 18:36:44

mpan
Member
Registered: 2012-08-01
Posts: 709
Website

Re: [SOLVED] gcc8 and gcc9 pgp error

I will skip the whole AUR helper thing. In fact, due to things you have tried to do to remedy the situation, I would urge you to stop using any AUR helpers and first understand how things work and what is what — as told by the red box on the Arch Wiki. You are mixing up makepkg and pacman and your own keyring with pacman’s keyring, which indicates you failed to understand that subject. So please remove yay now and do things the normal way.

To obtain keys one uses either --recv-keys, to download from a keyserver, or --import, to import a key from a file you obtained by other means. That will modify your own keyring and that’s what makepkg uses. While importing a key be sure to verify the key is in fact the one you want. Otherwise the whole sig checking is just a security theater. A quick search gives a confirmation from the GNU project, but you may consider other sources.

Last edited by mpan (2021-09-03 18:37:19)


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#3 2021-09-03 19:19:22

nixIT
Member
Registered: 2010-01-13
Posts: 457

Re: [SOLVED] gcc8 and gcc9 pgp error

@mpan,

thank you for replying...

:: PGP keys need importing:
 -> D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62, required by: gcc8 (gcc8-libs gcc8)  gcc9 (gcc9-libs gcc9)
==> Import? [Y/n] y
:: Importing keys with gpg...
gpg: keyserver receive failed: No name
problem importing keys

[nixit@base ~]$ gpg --recv-keys D3A93CAD751C2AF4F8C7AD516C35B99309B5FA62
gpg: keyserver receive failed: No name

so I would say it's not a problem with yay or any aur helper.

during my keyserver testing after I posted this, I was able to find 1 keyserver that had the key on it, all other ones kept failing with "no name".


ASRock 970 Extreme4  | AMD FX 8350 | 32GB G.SKILL Ripjaw X  | 180GB Corsair Force Series GS SSD | MSI GeForce GTX 960 GTX Gaming 4G 4GB

Offline

#4 2021-09-03 23:33:31

mpan
Member
Registered: 2012-08-01
Posts: 709
Website

Re: [SOLVED] gcc8 and gcc9 pgp error

I never said that was a problem with an AUR helper. I said that you using a helper, without knowing how to use AUR and what various things do in your system, is a problem.

keys.openpgp.org has that key.


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#5 2021-09-08 16:17:04

ElNinijo
Member
Registered: 2010-11-20
Posts: 50

Re: [SOLVED] gcc8 and gcc9 pgp error

can you write keyserver which had the proper key (address)?

Offline

#6 2021-09-08 17:01:51

mpan
Member
Registered: 2012-08-01
Posts: 709
Website

Re: [SOLVED] gcc8 and gcc9 pgp error

It’s in the post just above your question?


Sometimes I seem a bit harsh — don’t get offended too easily! PGP: 7C848198AE93D3BB

Offline

#7 2021-09-08 17:20:21

ElNinijo
Member
Registered: 2010-11-20
Posts: 50

Re: [SOLVED] gcc8 and gcc9 pgp error

you are right, sorry, my mistake

Offline

Board footer

Powered by FluxBB