树莓派 GPG error[通俗易懂]

树莓派 GPG error[通俗易懂]给树莓派换了阿里云的镜像源后,更新软件源,出现了`GPGerror`问题。

给树莓派换了阿里云的镜像源后, 更新软件源,出现了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.
只听到从架构师办公室传来架构君的声音:
一阵落花风。有谁来对上联或下联?

解决办法

此代码由Java架构师必看网-架构君整理
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://javajgs.com/archives/222140
0
 

发表评论