执行 sudo apt-get update时遇到问题
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
执行
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9165938D90FDDD2E
或者
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 9165938D90FDDD2E
若出现
gpg: keybox '/home/pi/.gnupg/pubring.kbx' created
gpg: keyserver receive failed: Server indicated a failure
执行
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 9165938D90FDDD2E
出现以下信息表示成功
gpg: /home/pi/.gnupg/trustdb.gpg: trustdb created
gpg: key 9165938D90FDDD2E: public key"Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>"imported
gpg: Total number processed: 1
gpg: imported: 1
然后执行下列命令
gpg --export --armor 9165938D90FDDD2E | sudo apt-key add -