Wednesday, March 25, 2020

Apt-get "NO_PUBKEY" issue

After enabling Windows Subsystem for Linux (WSL), I was trying Kali Linux on Windows after installing it from Microsoft Store. During the distro update, a public key error appeared:

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

According to this page: https://github.com/yarnpkg/yarn/issues/4453, you can solve the issue using 

"curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -"

No comments:

Post a Comment