8 February 2021

If the error occurs due to keyserver being unable, you can fix it by adding these. When pgp keyservers are missing there are many different errors that might occur. In ArchLinux some of those are listed below:

:: Importing keys with gpg...
gpg: keyserver receive failed: General error
problem importing keys

:: Importing keys with gpg...
gpg: keyserver receive failed: No keyserver available
problem importing keys

gpg: keyserver receive failed: General error

Source code viewer
  1. # Add these keyservers to "~/.gnupg/gpg.conf".
  2. keyserver hkp://pool.sks-keyservers.net
  3. keyserver hkps://keyserver.ubuntu.com
Programming Language: INI