Approaching GPG Key Signing Issues in Arch Linux and Derivatives Especially Without IPv6

article #1348, updated 1555 days ago

Code needs to be signed when possible, for safety these days. In Linux, this is done by a very carefully set up public keyserver system. If, in Arch or Manjaro or other Arch derivatives, you see issues happening, try these steps:

  1. In /etc/pacman.d/gnupg/gpg.conf, add this line:
keyserver hkp://ipv4.pool.sks-keyservers.net:11371

If you don’t do IPv6 on the Internet, the above is essential as is. The default appears to now require IPv6.

Once you have the above set, run the following:

  1. sudo touch /root/.gnupg/dirmngr_ldapservers.conf
  2. sudo pacman-key --init
  3. sudo pacman-key --populate archlinux manjaro
  4. sudo pacman-key --refresh-keys

Categories: