I’ve ran into this strange issue with GPG: I can not receive keys nor can I use pacman-keys to refresh keys. I’m using Manjaro, kernel 4.14 fully updated.
sudo pacman-keys --refresh-keys
gpg: refreshing 119 keys from hkps://ipv4.pool.sks-keyservers.net:80 gpg: keyserver refresh failed: Permission denied ==> ERROR: A specified local key could not be updated from a keyserver.
The keyserver is changed because I’ve tried using some of the arch wiki solutions, but none solved the issue.
When I run:
gpg: refreshing 2 keys from hkps://hkps.pool.sks-keyservers.net gpg: keyserver refresh failed: Permission denied
dirmngr[18827.0]: permanently loaded certificates: 136 dirmngr[18827.0]: runtime cached certificates: 0 dirmngr[18827.0]: trusted certificates: 136 (135,0,0,1) # Home: /home/user/.gnupg # Config: [none] OK Dirmngr 2.2.5 at your service
Recieving keys does not work also, get the permission denied error. I still can update, and install packages with pacman just can’t get somethings from the aur because I cannot recieve the keys.
I just noticed that this was a system wide problem now, but I think it has been on my machine from the moment I installed Manjaro (I’ve formated this machine recently).
This are some things that I’ve tried too:
- Updating the keyring, both archlinux and manjaro, them populating with package-keys. These steps go fine, but pacman-key --refresh keys still gives me the output above.
- Changing key servers and their ports.
- Pacman -Sc and trying again, no avail.
Thanks in advance for any help.
Disclaimer: I’ve posted this on reddit too (/r/linuxquestions), just some time ago.