Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- #
- # Run this script as root to fix errors related to pacman-key
- rm -rf /etc/pacman.d/gnupg/
- rm -rf /root/.gnupg/ # only if the directory exists
- gpg --refresh-keys
- pacman-key --init && pacman-key --populate
- pacman-key --refresh-keys
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement