Skip to content

Instantly share code, notes, and snippets.

@h4n2k
Last active December 10, 2023 11:57
Show Gist options
  • Save h4n2k/a08b3380a0baedb6ac4debacc07237f8 to your computer and use it in GitHub Desktop.
Save h4n2k/a08b3380a0baedb6ac4debacc07237f8 to your computer and use it in GitHub Desktop.
Arch Linux File /var/cache/pacman/pkg/syncthing-1.27.0-1-x86_64.pkg.tar.zst is corrupted (invalid or corrupted package (PGP signature))
sudo pacman-key --list-sigs [email protected]
sudo pacman-key --delete CCB34EBBB9541EF3F7B366C1D4A753468A5A5B67
sudo pacman-key --lsign-key CCB34EBBB9541EF3F7B366C1D4A753468A5A5B67
# if error could not be locally signed
# try run
sudo pacman-key --populate archlinux
# check again
sudo pacman-key --list-sigs [email protected]
# then pacman-key --lsign-key again
sudo pacman-key --lsign-key CCB34EBBB9541EF3F7B366C1D4A753468A5A5B67
@h4n2k
Copy link
Author

h4n2k commented Dec 10, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment