给树莓派换了阿里云的镜像源后, 更新软件源,出现了
GPG error问题。
W: GPG error: http://mirrors.ustc.edu.cn/debian buster InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 04EE7237B7D453EC NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY DCC9EFBF77E11517 E: The repository 'http://mirrors.ustc.edu.cn/debian 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.
解决办法
gpg --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY> gpg --export --armor <PUBKEY> | sudo apt-key add - # gpg --keyserver keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC # gpg --export --armor 04EE7237B7D453EC | sudo apt-key add -
发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/210208.html原文链接:https://javaforall.net
