UBUNTU

the public key is not available: NO_PUBKEY

NO_PUBKEY
public key is not available: NO_PUBKEY

The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY

NO_PUBKEY : You may receive the following error when running apt-get update in Ubuntu.

root@GrepitOut:~# apt update
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
.
.

Reading package lists... Done
W: GPG error: https://repo.skype.com/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 1F3045A5DF7587C3
E: The repository 'https://repo.skype.com/deb stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@GrepitOut:~#

Execute the following commands in terminal to correct this issue.

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY>

where <PUBKEY> is your missing public key for the repository, here is 1F3045A5DF7587C3

Then run:

sudo apt-get update

 That’s it!

If you like this post and wish to receive more articles from us, please like our FB page: Grepitout

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com