Sphinx Installation on Ubuntu 18.04


#1

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?


#2

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


#3

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


#4

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


#5

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


#6

Hello,

Have you tried another server?

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

#7

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


#8

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


#9

Hi!
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.


#10

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