You are not logged in.

#1 2022-09-07 06:18:00

Cloufish
Member
Registered: 2022-09-07
Posts: 2

Problems with Fixing Broken Keyring

Hi,

I'm having trouble during arch linux installation because of invalid PGP Signatures.
It may seem like a duplicate of this post -> https://bbs.archlinux32.org/viewtopic.php?id=3193
But:
1) I have newest ISO (2022.09.01)
2) And probably the newest keyring that is from 2022-06-12

But even so I tried to update with

pacman -S archlinux-keyring archlinux32-keyring

, but the

error signature from "Andreas Baumann [...] is unknown trust

Ignoring the error I tried another command -

pacman-key --populate archlinux archlinux32

and I got errors of

gpg: key [...] was created 5 days in the future (time warp or clock problem)

My hardware clock was indeed late for around 20 years so I fixed it with `hwclock`, but it did not help,
And thus

ERROR: 75BD80[...]` could not be locally signed 

Then  I tried

pacman-key --refresh

And lots of

gpg: keyserver refresh failed: General error

appeared one by one
FluxBB bbcode test

Please Help.

Last edited by Cloufish (2022-09-09 12:06:22)

Offline

#2 2022-09-07 08:55:15

levi
Moderator
From: Yorkshire, UK
Registered: 2018-06-16
Posts: 1,197

Re: Problems with Fixing Broken Keyring

I think I've seen the gpg date issue even though my clock is ntp synchronised.  I think someone who signed a key had their clock set a few years in the future when generating the key.  But luckily, it's only ever a warning or informational and not a hard error.


Architecture: pentium4, Testing repos: Yes, Hardware: EeePC 901+2GB RAM+OS half on the SD card.

Offline

#3 2022-09-09 13:51:34

Cloufish
Member
Registered: 2022-09-07
Posts: 2

Re: Problems with Fixing Broken Keyring

levi wrote:

But luckily, it's only ever a warning or informational and not a hard error.

Okay, so that isn't the problem, but I still can't:
1) Import PGP Keys when any pacman command is executed, like

 pacman -S archlinux-keyring archlinux32-keyring 

Even though I enter in the prompt 'Y' it still cannot be imported

:: Import PGP key [...], "Andreas Baumann [...]"? [Y/n] Y
error: key "Andreas Bauman [...]" could not be imported
error: required key missing from keyring
error: failed to commit transaction (unexpected error)
Errors occured, no packages were upgraded

2) pacman-key --refresh-keys also doesn't work, because of errors of:

 gpg:keyring_get_keyblock:read error: Invalid packet (ctb=00)
gpg: keyring_get_keyblock: failed: Invalid keyring 
failed to rebuild keyring cache: Invalid keyring
 

etc.

I found this post on the forum posted two years ago: https://bbs.archlinux32.org/viewtopic.php?id=2881
And he has similar issues to mine, but I don't know If the command

curl 'https://archlinux32.org/buildmaster/gpg-keys.php?fp=16194A82231E9EF823562181C8E8F5A0AF9BA7E7' | sudo pacman-key -a -
 

Is still valid - is the key not expired?

Edit: I tried to run the curl command, but the same errors of

gpg:keyring_get_keyblock:read error: Invalid packet (ctb=00) 

persists

Last edited by Cloufish (2022-09-09 14:12:37)

Offline

#4 2022-09-09 16:47:17

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,033
Website

Re: Problems with Fixing Broken Keyring

The signing key check on https://archlinux32.org/buildmaster/ says everything is ok, but who knows.. :-)

Offline

#5 2022-09-09 16:48:49

abaumann
Administrator
From: Zurich
Registered: 2019-11-14
Posts: 1,033
Website

Re: Problems with Fixing Broken Keyring

Maybe you can try different keyservers

keyserver keyserver.ubuntu.com

in ~/.gnupg/gpg.conf

Maybe your specific (or the the default) keyserver has a problem..

Offline

Board footer

Powered by FluxBB