head-img Force's Blog

树莓派4B The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E

树莓派

报错

root@raspberrypi:/home/pi# apt update && apt upgrade
Get:1 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster InRelease [15.0 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi buster InRelease [32.6 kB]
Err:1 http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
Get:3 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi buster/main Sources [111 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi buster/main armhf Packages [393 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/raspberrypi buster/main arm64 Packages [304 kB]
Reading package lists... Done                             
W: GPG error: http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E
E: The repository 'http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian buster InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

解决方法(change 9165938D90FDDD2E your self)

root@raspberrypi:/home/pi# sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9165938D90FDDD2E

Done!!!!!

点我评论
打赏本文
二维码


125

文章

14

标签

 访客统计  Update-******