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

解决:

apt-key adv --recv-keys --keyserver keyserver.ubuntu.com XXXXXX
apt-get update

原文地址:https://www.cnblogs.com/wangjq19920210/p/11611094.html