Advertisement
Guest User

Untitled

a guest
Nov 28th, 2015
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.24 KB | None | 0 0
  1. #!/bin/bash
  2. #
  3. # Run this script as root to fix errors related to pacman-key
  4. rm -rf /etc/pacman.d/gnupg/
  5. rm -rf /root/.gnupg/ # only if the directory exists
  6. gpg --refresh-keys
  7. pacman-key --init && pacman-key --populate
  8. pacman-key --refresh-keys
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement