Skip to content

invalid or corrupted package (PGP signature)

I suppose this is more a a question than anything.

I haven't updated my system in about 5 days, due to no time. Today I went to updated and a package, spdlog, updated on 2021-07-28 has an error:

error: spdlog: signature from "Brett Cornwall <brett@i--b.com>" is unknown trust
:: File /var/cache/pacman/pkg/spdlog-1.9.1-1-x86\_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)).

One of the many other package I have in my update queue happened to be archlinux-keyring so naturally I just installed that package the went back to the normal update. The keychain package was just updated today, so how/why would a package have been pushed before the maintainers key was updated in the keychain? Shouldn't something like this have made "Latest News"? I sure some users are stuck not knowing how to work around this.

Finally, is it me or does that error message have a "bug" in the fact it has a second set of closing parens?

7 points17 comments
Open on Reddit
About this post
Posted
Archived
Score
7 · 82% up
Kind
Text
ID
owmytp

Author

9
posts
391
comments
0
media
View profile

20 comments

Running sudo pacman -S archlinux-keyring and then sudo pacman -Syu fixed it for me.

9 points

It didn't fix it for me... I'm *today* new with Arch. Is there something else I can try?

1 points

Can try this sudo pacman-key —refresh-keys. One of u/TTimo comment links to a bug report for this. Appears the key expired and needs to be updated.

1 points
unknown author

Deleted before we saved it.

1 points

It's not bug. But still after updating key-rings. Still Bret Cornwall is unknown trust...

2 points

Shouldn't something like this have made "Latest News"?

no, you can always manually update the keys regardles of (keyring-) package updates (pacman-key).

​

Finally, is it me or does that error message have a "bug" in the fact it has a second set of closing parens?

(invalid or corrupted package (PGP signature)   )
1st                           2nd           2nd 1st

no, you miscounted

2 points
unknown author

Deleted before we saved it.

1 points
unknown author

Deleted before we saved it.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.