Unable to install Discord/libc++ through AUR due to PGP? errors


I try to install something through Octopi, and it opens in the terminal. I always get this error:

=> Verifying source file signatures with gpg…
llvm-5.0.0.src.tar.xz … FAILED (unknown public key 0FC3042E345AD05D)
libcxx-5.0.0.src.tar.xz … FAILED (unknown public key 0FC3042E345AD05D)
libcxxabi-5.0.0.src.tar.xz … FAILED (unknown public key 0FC3042E345AD05D)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build libc++.

Anybody know how to fix this?

gpg --search-keys 0FC3042E345AD05D

gpg: data source:
(1)     Hans Wennborg <hans@chromium.org>
          4096 bit RSA key 0FC3042E345AD05D, created: 2015-01-20, expires: 2018-01-19

So, looks fine to me.
You can get it by using

gpg --recv-keys 0FC3042E345AD05D

Sadly, neither octopi nor pamac yet has a built in dialogue for when you attempt to install a package signed with a key you dont have [that I know of].


A search for the unknown key brought up this:

Read carefully the replie by @jonathon , he’s pretty sharp.
Is the archlinux-keyring 20171130-1 installed?
`$ pacman -Q archlinux-keyring
archlinux-keyring 20171130-1

If it ts not installed
sudo pacman -S archlinux-keyring
Should be first.

hth :slightly_smiling_face:

closed #5

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.