Last active
January 21, 2024 10:09
-
-
Save kikislater/61e049798007d9ee8fe5992df80e5a7e to your computer and use it in GitHub Desktop.
Manjaro gpg error
This file contains 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 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