3 comments on “NO_PUBKEY error with apt-get

  1. Hello Carlos,

    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 ???


    • Hi Gerhard,

      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 …

      root@dataRock64:~# cat /etc/debian_version
      root@dataRock64:~# gpg –keyserver keys.gnupg.net –recv-key 82B129927FA3303E
      gpg: key 82B129927FA3303E: public key “Raspberry Pi Archive Signing Key” imported
      gpg: no ultimately trusted keys found
      gpg: Total number processed: 1
      gpg: imported: 1

      then you just need to run the export/import command in a row..

      root@dataRock64:/usr/local/bin# gpg -a –export 82B129927FA3303E| apt-key add –

Leave a Reply

Your email address will not be published. Required fields are marked *