You might see a missing public GPG key error ("NO_PUBKEY") on Debian, Ubuntu or Linux Mint when running
apt update
/ apt-get update
. This can happen when you add a repository, and you forget to add its public key, or maybe there was a temporary key server error when trying to import the GPG key.