root@datadroid:/root# apt-get update W: GPG error: http://archive.raspberrypi.org jessie InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
To solve it:
root@datadroid:/root# gpg --keyserver keys.gnupg.net --recv-key 82B129927FA3303E gpg: directory `/root/.gnupg' created gpg: new configuration file `/root/.gnupg/gpg.conf' created gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run gpg: keyring `/root/.gnupg/secring.gpg' created gpg: keyring `/root/.gnupg/pubring.gpg' created gpg: requesting key 7FA3303E from hkp server keys.gnupg.net gpg: /root/.gnupg/trustdb.gpg: trustdb created gpg: key 7FA3303E: public key "Raspberry Pi Archive Signing Key" imported gpg: Total number processed: 1 gpg: imported: 1 (RSA: 1)
Then import it:
root@datadroid:/root# gpg -a --export 82B129927FA3303E| apt-key add - OK
Other possible solution:
wget http://archive.raspbian.org/raspbian.public.key -O - | sudo apt-key add -
Nice tip. Thanks!
I’ facing the same problem with my Raspberry. There’s one difference … My system runs stretch instead of wheely:
W: GPG error: https://archive.raspberrypi.org stretch InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 82B129927FA3303E
Any suggestions ???
this is another example with Jessie (9.4). As you see, there is no difference on OS version as you are only importing the generic Key …
then you just need to run the export/import command in a row..