Invalid or Corrupt Package - PGP Signature

I just tried to install dk and @natemaia’s key doesn’t work.

2 Likes

Try running the following (as root)

pacman-key --recv-keys 9E4F11C6A072942A7B3FD3B0B81EB14A09A25EB0
pacman-key --finger 9E4F11C6A072942A7B3FD3B0B81EB14A09A25EB0
pacman-key --lsign-key 9E4F11C6A072942A7B3FD3B0B81EB14A09A25EB0
pacman -S archlabs-keyring

Should fix it.

3 Likes

Does not work

Hmm can you use LANG=C for the pacman-key commands and post the output.

Perhaps manually install the keyring

curl -fSL https://bitbucket.org/archlabslinux/archlabs/raw/master/x86_64/archlabs-keyring-2021.07.11-1-x86_64.pkg.tar.zst -o archlabs-keyring-2021.07.11-1-x86_64.pkg.tar.zst

pacman -U archlabs-keyring-2021.07.11-1-x86_64.pkg.tar.zst
1 Like

1 Like

Did you update your system before attempting to install @natemaia s keyring @judd . It might help a bit, unless you did it & I haven t seen it.

1 Like

Yes, of course I took those precautions :slight_smile:

The date of when I installed it ↓

$ LANG=C stat /
  File: /
  Size: 4096      	Blocks: 8          IO Block: 4096   directory
Device: 8,18	Inode: 2           Links: 17
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2022-11-11 14:52:17.137272894 -0300
Modify: 2022-10-25 10:25:40.930647819 -0300
Change: 2022-10-25 10:25:40.930647819 -0300
 Birth: 2022-09-01 09:16:00.000000000 -0300
1 Like

1 Like

This is very strange but atleast I’m getting the same errors on my system, give me a bit to try and work it out.

If you’re just looking to get dk to test things out there is an AUR package that I maintain or you can build it from source (very easy).

Will post back once I’ve figured out wtf is going on, appreciate the heads up.

1 Like

It s weird, @judd , @natemaia will fix this, just wait a bit.

1 Like

I have no problem with time @natemaia.
Thank you for your attention and time!

3 Likes

@altman

No problem, said ALF :rofl:

1 Like

Try running

sudo pacman-key --refresh-keys

This will take a long time (at least it did on my system) but afterwards I was able to update, I pushed a new archlabs-keyring thinking that was the issue. Let me know if this fixes it for you.

Weird thing is I didn’t have any issues on my newer install so it might just be a problem for older installs given my old key expired last month.

3 Likes

Now it works!
Thank you!

I’ll leave a copy anyway,
Hastebin Plus

2 Likes

Glad that it worked out @judd . Props to @natemaia

3 Likes

Awesome glad that worked, sorry for the hassle.

I updated the title and tags to make searches more relevant because there’s likely some other people with the same issue.

3 Likes

No bother, it was a pleasure.

3 Likes

Fehler: archlabs-keyring: signature from “Nathaniel Maia natemaia10@gmail.com” is unknown trust
:: Datei /var/cache/pacman/pkg/archlabs-keyring-2022.11.11-1-x86_64.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).
Soll die Datei entfernt werden? [J/n]
Fehler: Der Vorgang konnte nicht durchgeführt werden (Ungültiges oder beschädigtes Paket)
Fehler sind aufgetreten, keine Pakete wurden aktualisiert.

1 Like

so I am also experiencing the same issue mentioned in OP. I did refresh pacman keys which took 10 minutes and 16 seconds as you can see in screenshot. I, then, tried running pacman updater again but it is giving the same warning/error about invalid or corrupt package

Now no updates come in on all my three PC/ Installations :frowning:

stephan@archlabs2600K ~ % LANG=C stat /
File: /
Size: 4096 Blocks: 8 IO Block: 4096 directory
Device: 8,2 Inode: 2 Links: 17
Access: (0755/drwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2022-11-10 05:52:36.743186613 +0100
Modify: 2022-10-20 05:20:39.139179967 +0200
Change: 2022-10-20 05:20:39.139179967 +0200
Birth: 2022-08-08 14:37:03.000000000 +0200

Fehler: archlabs-keyring: signature from “Nathaniel Maia natemaia10@gmail.com” is unknown trust
:: Datei /var/cache/pacman/pkg/archlabs-keyring-2022.11.11-1-x86_64.pkg.tar.zst ist beschädigt (Ungültiges oder beschädigtes Paket (PGP-Signatur)).

cu, stephan