Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
22
rated 0 times [  22] [ 0]  / answers: 1 / hits: 49573  / 2 Years ago, wed, november 24, 2021, 3:53:57

I'm trying to install bitcoind by simply doing sudo apt-get install bitcoind, but I get this error saying that the following packages could not be authenticated:



libdb5.1++ libcrypto++9 bitcoind


I can simply install them without authenticating them, but since this program may handle money, I would like them to be the correct ones. So I found this solution here on AskUbuntu, which suggests to do the following:



$ sudo apt-key update
$ sudo apt-get update


After the first command, it lists four keys of which it says that all remain unchanged. The second command simply does the usual, but it ends with a message saying that there was a GPG-error. After some blabla, it then says that the following signatures are invalid (freely translated from Dutch):



BADSIG 16126D3A3E5C1192 Ubuntu Extras Archive Automatic Signing Key <[email protected]>
BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <[email protected]>


And the following signatures could not be verified because the public key is not available:



NO_PUBKEY 1F968B3903D886E7


And the following sugnatures were invalid:



BADSIG E585066A30C18A2B Opera Software Archive Automatic Signing Key 2013 <[email protected]>


And that getting stuff from the following address has failed:



 http://extras.ubuntu.com/ubuntu/dists/precise/Release


Does anybody know what I can do to solve this?


More From » apt

 Answers
1

You have to add the pub key manually.



The command is



sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com «key number»


where «key number» you must replace it with the missing key.



For example in this error you received



NO_PUBKEY 1F968B3903D886E7


you can do



sudo apt-key adv --recv-key --keyserver keyserver.ubuntu.com 1F968B3903D886E7
sudo apt-get update


That way you will download this key in your keyring from the keyserver (keyserver.ubuntu.com)



About the BADSIG error, check this answer here


[#27679] Wednesday, November 24, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
luringdge

Total Points: 3
Total Questions: 126
Total Answers: 109

Location: India
Member since Sun, Feb 6, 2022
2 Years ago
;