1.debian9更换debian10镜像源更新提示gpg证书错误
W: GPG error: http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 0E98404D386FA1D9 NO_PUBKEY 6ED0E7B82643E131
2.安装需要的依赖和软件
apt-get install software-properties-common dirmngr -y
弹窗回车即可
3.添加gpg证书验证
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <PUBKEY>
<PUBKEY2>
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9 6ED0E7B82643E131