How do I fix the GPG error "NO_PUBKEY"?

*  W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8BAF9A6F

Execute the following commands in terminal:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY>
where <PUBKEY> is your missing public key for repository, e.g. 8BAF9A6F.
Then update
sudo apt-get update

posted on 2022-11-04 15:03  Sanny.Liu-CV&&ML  阅读(69)  评论(0)    收藏  举报

导航