Created
September 23, 2023 10:55
-
-
Save mpolinowski/f8c98c3cf98dbe1b0ab2f0c6c379da28 to your computer and use it in GitHub Desktop.
ArchLinux Pacman: signature is unknown trust
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo pacman -S yay | |
error: yay: signature from "TNE <[email protected]>" is unknown trust | |
:: File /var/cache/pacman/pkg/yay-12.1.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature)). | |
Do you want to delete it? [Y/n] | |
# get key ID D6C9442437365605 | |
sudo pacman-key --list-sigs TNE | |
# manually sign key | |
sudo pacman-key --recv-key D6C9442437365605 --keyserver keyserver.ubuntu.com | |
sudo pacman-key --lsign-key D6C9442437365605 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
$ sudo rm -r /etc/pacman.d/gnupg
$ sudo pacman-key --init
$ sudo pacman-key --populate archlinux
$ sudo pacman -S archlinux-keyring