UAX-Technologies / DeckRC

R/C controller made from a Steam Deck
GNU General Public License v3.0
19 stars 4 forks source link

Getting keyring errors on install #9

Open ConorMcCaffrey opened 1 year ago

ConorMcCaffrey commented 1 year ago

These are somewhat dirty notes taken on a different PC.

signature is corrupted unknown trust when installing packages

Maybe need to install this: sudo pacman -Sy archlinux-keyring

or run this: sudo pacman-key --refresh-keys

Had to run sudo rm -r /etc/pacman.d/gnupg to fix wrong time errors on another try

ConorMcCaffrey commented 1 year ago

The "Second Issue" in this post explains the problem and a simple mitigation: https://www.reddit.com/r/SteamDeck/comments/12zpggz/rwfus_tipsfixes_for_tailscale_tmux_etc/

Reddit user Reyemxela: "Unknown trust when trying to install tmux

Even after updating pacman, making sure the archlinux-keyring package was up to date, etc., I was getting a an error when trying to install tmux, complaining that the signature was an unknown trust. This is mainly just due to the fact that the SteamOS arch mirror isn't super up-to-date, so the archlinux-keyring package is from 2022-09-27, and the author's key for the tmux package expired early 2023.

The various suggestions I've found (mostly for a regular arch install) include updating the archlinux-keyring, clearing keys and re-populating, etc., or even disabling key checking in your pacman.conf.

But the fix for this one was frustratingly simple: sudo pacman-key --refresh-keys "Full name of key author"

Running pacman-key --refresh-keys can take forever (like hours+ I guess), but come to find out you can just specify which key to update. Done."