Sphinx Installation on Ubuntu 18.04


Ran into these errors while trying to install Sphinx on 18.04:
On running sudo apt-get update got the following error message

GPG error: http://plf.parrot.com/sphinx/binary bionic/ InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 47727EDC508B1AE5
E: The repository ‘http://plf.parrot.com/sphinx/binary bionic/ InRelease’ is not signed.
N: Updating from such a repository can’t be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

What should I do?


You should run this command line to add the key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 508B1AE5
sudo apt-get update
sudo apt-get install parrot-sphinx


I did. Got the following error:

Executing: /tmp/apt-key-gpghome.yKWSOOK0Nv/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 508B1AE5
gpg: keyserver receive failed: No keyserver available


There may be an issue with this server. You could try another one:
sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 508B1AE5


Hello! I had the same problem. How did you manage to solve it?



Have you tried another server?

sudo apt-key adv --keyserver keys.gnupg.net --recv-keys 508B1AE5


Yes, I did. But I am getting time outs connecting to the keyserver


Can you ping the server? If not, you probably have network issues. Are you trying to install Sphinx in a virtual machine?


I found out that the problem was with the version of gnupg installed on my system. That’s why I was not getting a response from the servers. I downgraded it to gnupg 2.1.17 and it worked.


Great! Can you tell me which version of gnupg you were using? I don’t have any issue with gnupg 2.2.4.