Every time I try to run apt-get update, I get the message below:

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

I'm quite new to Ubuntu, and Linux/Terminal in general, so despite as much as I've looked around and tried solutions, I can't seem to solve it.

I've tried sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 26EB39123AAAAA96 which results in:

Executing: /tmp/apt-key-gpghome.U6CXBaZaHQ/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 26EB39123AAAAA96 gpg: keyserver receive failed: No data 

I also tried sudo apt-key update, which resulted in this:

Warning: 'apt-key update' is deprecated and should not be used anymore! gpg: key 3B4FE6ACC0B21F32: 3 signatures not checked due to missing keys gpg: key 3B4FE6ACC0B21F32: "Ubuntu Archive Automatic Signing Key (2012) <>" not changed gpg: key D94AA3F0EFE21092: 3 signatures not checked due to missing keys gpg: key D94AA3F0EFE21092: "Ubuntu CD Image Automatic Signing Key (2012) <>" not changed gpg: key 871920D1991BC93C: 1 signature not checked due to a missing key gpg: key 871920D1991BC93C: "Ubuntu Archive Automatic Signing Key (2018) <>" not changed gpg: Total number processed: 3 gpg: unchanged: 3 

I'm at an absolute loss here. I use this machine regularly, and can't update some of my packages, which is causing a couple of programs to not work. Any help would be greatly appreciated. I can also provide any other necessary info.

10

2 Answers

found that this works

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5 sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32 

Thanks to https://

Looks like the keys are still valid, so you should be able to get them imported with the following: gpg --keyserver hkp://keys.gnupg.net --recv-keys {key}

Here is what I get for each of them:

$ gpg --keyserver hkp://keys.gnupg.net --recv-keys 3B4FE6ACC0B21F32 gpg: key 3B4FE6ACC0B21F32: public key "Ubuntu Archive Automatic Signing Key (2012) <>" imported gpg: Total number processed: 1 gpg: imported: 1 $ gpg --keyserver hkp://keys.gnupg.net --recv-keys D94AA3F0EFE21092 gpg: key D94AA3F0EFE21092: public key "Ubuntu CD Image Automatic Signing Key (2012) <>" imported gpg: Total number processed: 1 gpg: imported: 1 $ gpg --keyserver hkp://keys.gnupg.net --recv-keys 871920D1991BC93C gpg: key 871920D1991BC93C: public key "Ubuntu Archive Automatic Signing Key (2018) <>" imported gpg: Total number processed: 1 gpg: imported: 1 

From here, you can sudo apt-get update and everything should work.

Hope this helps 👍🏻

4