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

when I update using ‘apt-get update’, I got the following error,

W: GPG error: http://repos.rcn-ee.net 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

the output is as follows

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

the output is
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 still I get the GPG error same as above, can anyone suggest me a solution?

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

Regards,

thanks Robert, that worked like charm.

I try to run “sudo apt-get install rcn-ee-archive-keyring” and I get a 404 not found error pointing at the following url:
http://repos.rcn-ee.net/ubuntu/pool/main/r/rcn-ee-archive-keyring/rcn-ee-archive-keyring_2015.01.28~20150213+1_all.deb

Run:

sudo apt-get update first...

I just updated the keyring for Debian Stretch & Ubuntu Wily this week..

Regards,

I did a sudo apt-get update first and it told me it couldn’t get you your repos which is why I googled the error and found the “sudo apt-get install rcn-ee-archieve-keyring”.
It is a catch 22 for me =(

http://rcn-ee.com/repos/ubuntu/pool/main/r/rcn-ee-archive-keyring/

Regards,

hah, sorry Robert if I wasnt entrenched in my own little world right now, I would have picked picked this up for you.

When it rains . . .

I hate to sound stupid, but I am pretty new to this this and I don’t know what to do with all of the files on the webpage let alone which one to choose.

Just can't wait for July when that old 1 year gpg key expires.. :wink:

The final pieces for the merge over are in the repo. (i've been
shipping both keys since February in that package)

So we will see in the next month or two, how many people don't run
'apt-get update ; apt-get upgrade'...

The good news, the replacement key doesn't expire...

Regards,

debian@beaglebone:~$ wget http://rcn-ee.com/repos/debian/pool/main/r/rcn-ee-archive-keyring/rcn-ee-archive-keyring_2015.05.06~bpo70+20150506+1_all.deb

debian@beaglebone:~$ sudo dpkg -i rcn*.deb

debian@beaglebone:~$ sudo apt-get update && upgrade

Those 3 commands should fix you up.

Also, since you mentioned you’re new you should change your root and debian passwords. To do this . . .

debian@beaglebone:~$ sudo passwd
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

debian@beaglebone:~$ sudo passwd debian
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully

First is for root, second is for the debian user.

Sorry this is slightly wrong:

debian@beaglebone:~$ sudo apt-get update && upgrade

should be . . .

debian@beaglebone:~$ sudo apt-get update && apt-get upgrade

Doing like 500 different things all at once here. . .

pffft . . . I normally do each command on a separate line . . .

debian@beaglebone:~$ sudo apt-get update

debian@beaglebone:~$ sudo apt-get upgrade

But can be done all on one line as such.

debian@beaglebone:~$ sudo apt-get update && sudo apt-get upgrade

Downloading the rcn-ee-archive-keyring package over http and blindly installing the key is a bad idea. Someone could include an extra key that he controls and then have the ability to mount a successful MiTM attack to any package installation.

I just uploaded the key to the ubuntu keyserver, and it will soon propagate to all the other major ones. http://keyserver.ubuntu.com/pks/lookup?op=vindex&search=0xD284E608A4C46402&fingerprint=on

The original command works fine now apt-key adv --keyserver [keyserver.ubuntu.com](http://keyserver.ubuntu.com/) --recv-key D284E608A4C46402

Τη Σάββατο, 9 Μαΐου 2015 - 12:49:15 π.μ. UTC+1, ο χρήστης William Hermans έγραψε: