How to fix GPG error NO_PUBKEY in Ubuntu

Sometimes, you can get an error like below when you use apt-get update command: W: GPG error: http://archive.canonical.com trusty Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY...