GPG error : http://repos.rcn-ee.net

when I update using apt-get update on Beaglebone black, I got the following error,

W: GPG error: trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D284E608A4C46402

I've tried following command given in some forum

$ apt-key adv --keyserver keyserver.ubuntu.com --recv-key D284E608A4C46402
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.YlaPkjE1g4 --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --recv-key D284E608A4C46402
gpg: requesting key A4C46402 from hkp server keyserver.ubuntu.com
gpgkeys: key D284E608A4C46402 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

and I've tried

$ gpg --keyserver keyserver.ubuntu.com --recv-key D284E608A4C46402'
gpg: requesting key A4C46402 from hkp server keyserver.ubuntu.com
gpgkeys: key D284E608A4C46402 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
$ gpg -a --export D284E608A4C46402 | sudo apt-key add -
gpg: WARNING: nothing exported
gpg: no valid OpenPGP data found

I'm behind proxy, and configured /etc/apt/apt.conf and /etc/environment files and aswell exported the proxy setting in terminal, pinging any site from terminal is working.

and still I get the GPG error same as above, can anyone suggest me a solution?

3

3 Answers

save the whole content of this link in ~/key . Then in terminal, type

sudo apt-key add ~/key

and you should get an OK message.


Further reading: How to remove keys

Open a terminal and use this command:

sudo apt-get install rcn-ee-archive-keyring 

solution courtesy: RobertCNelson

1

Note that you might have a link to an out-of-date keyring, so you might need to look at to see what the latest version is. For example, I needed to do:

wget
sudo dpkg -i rcn-ee-archive-keyring_2015.10.22~bpo70+20151022+1_all.deb

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like