Skip to content

Instantly share code, notes, and snippets.

@kikislater
Last active January 21, 2024 10:09
Show Gist options
  • Save kikislater/61e049798007d9ee8fe5992df80e5a7e to your computer and use it in GitHub Desktop.
Save kikislater/61e049798007d9ee8fe5992df80e5a7e to your computer and use it in GitHub Desktop.
Manjaro gpg error
sudo rm -R /etc/pacman.d/gnupg/
sudo rm -R /root/.gnupg/ # only if the directory exists
sudo gpg --refresh-keys
sudo pacman-key --init
sudo pacman-key --populate
# add keyserver to gpg.conf
echo 'keyserver hkp://keys.openpgp.org' | sudo tee -a /etc/pacman.d/gnupg/gpg.conf
sudo pacman-key --refresh-keys
sudo pacman -S archlinux-keyring manjaro-keyring
sudo rm /var/cache/pacman/pkg/*.sig
sudo pacman -Syyu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment