System76-driver update fails

Hello Manjaro team -
I’m trying to update the system76-driver and receiver this error:

==> ERROR: One or more PGP signatures could not be verified!

Looking for similar forum posts I found a likely candidate saying it’s best to clear the pamac-build folder, and followed that instruction, shown below, together with the follow-on pamac install attempt.
I also looked at the AUR entry. If there were special install notes I couldn’t follow it. Sorry if I missed it.

thx

galago% sudo rm -rf /var/tmp/pamac-build-rsv2/system76-driver/
galago%
galago%
galago% pamac install system76-driver
Warning: system76-driver is only available from AUR
Preparing…
Checking system76-driver dependencies…
Resolving dependencies…
Checking inter-conflicts…

To build (1):
system76-driver 20.04.47-1 (20.04.46-1) AUR

Edit build files : [e]
Apply transaction ? [e/y/N] y

Cloning system76-driver build files…
Generating system76-driver information…

Building system76-driver…
==> Making package: system76-driver 20.04.47-1 (Mon 10 Jan 2022 03:55:42 PM EST)
==> Checking runtime dependencies…
==> Checking buildtime dependencies…
==> Retrieving sources…
→ Cloning system76-driver git repo…
Cloning into bare repository ‘/var/tmp/pamac-build-rsv2/system76-driver/system76-driver’…
remote: Enumerating objects: 10501, done.
remote: Counting objects: 100% (481/481), done.
remote: Compressing objects: 100% (299/299), done.
remote: Total 10501 (delta 330), reused 288 (delta 181), pack-reused 10020
Receiving objects: 100% (10501/10501), 9.73 MiB | 1.86 MiB/s, done.
Resolving deltas: 100% (7695/7695), done.
→ Found cli.patch
→ Found wayland.patch
→ Found actions.patch
==> Validating source files with sha256sums…
system76-driver … Skipped
cli.patch … Passed
wayland.patch … Passed
actions.patch … Passed
==> Verifying source file signatures with gpg…
system76-driver git repo … FAILED (unknown public key 87F211AF2BE4C2FE)
==> ERROR: One or more PGP signatures could not be verified!
Error: Failed to build system76-driver
galago%

I guess pamac doesnt prompt you to import the key?
Just do it yourself then if you trust it.

See https://wiki.archlinux.org/title/Arch_User_Repository#ERROR:_One_or_more_PGP_signatures_could_not_be_verified!;_what_should_I_do?


Tip: When pasting terminal output on Discourse forums, one can either…

  • Use the Preformatted text </> toolbar button.

  • Add three backticks ` above and below the text (Markdown):

    ```
    type or paste code here
    ```

  • Use HTML:

    <pre><code>
    type or paste code here
    </pre></code>

Please edit your post accordingly.

1 Like

Sorry I skipped the formatting requirement. Will try harder to comply. It’s simple.

As for importing the key, the instruction from the wiki says this:

gpg --import public.key

As I interpreted the command (which I obviously did not do correctly) it seems like I need to point the gpg statement at a server, right ), it generated this:

galago% gpg --import 87F211AF2BE4C2FE
gpg: WARNING: unsafe permissions on homedir '/home/rsv2/.gnupg'
gpg: can't open '87F211AF2BE4C2FE': No such file or directory
gpg: Total number processed: 0
galago% 

Thinking I had a permissions issue I also added the ‘sudo’:

galago% sudo gpg --import 87F211AF2BE4C2FE
[sudo] password for rsv2: 
gpg: can't open '87F211AF2BE4C2FE': No such file or directory
gpg: Total number processed: 0
galago% 

So… I’m missing a step, or a command parameter
thx

changed the command and have imported the key:

galago% sudo gpg --recv-keys 87F211AF2BE4C2FE
[sudo] password for rsv2: 
Sorry, try again.
[sudo] password for rsv2: 
gpg: key 87F211AF2BE4C2FE: public key "Jeremy Soller (https://soller.dev) <jackpot51@gmail.com>" imported
gpg: Total number processed: 1
gpg:               imported: 1

Can’t get a port on AUR but that’s next:

galago% pamac install system76-driver
Failed to query https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=system76-driver from AUR: Socket I/O timed out
Error: target not found: system76-driver
galago% 

Don’t use sudo, you’re only importing the key to your personal keyring.

except that I get this error:

galago% gpg --recv-keys 87F211AF2BE4C2FE 
gpg: WARNING: unsafe permissions on homedir '/home/rsv2/.gnupg'
gpg: keyserver receive failed: No data
galago% 

That’s why you should never use sudo in your home directory. That’s a completely different issue, please open a new #support topic.

1 Like