debian所有源都错误修复

debian所有源都错误

错误如下:

W: GPG error: http://mirrors.163.com/debian sid InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 648ACFD622F3D138 NO_PUBKEY 0E98404D386FA1D9
W: The repository ‘http://mirrors.163.com/debian sid InRelease’ is not signed.
N: Data from such a repository can’t be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

修复:

如果出现public key的问题,通过以下指令解决。

apt-get install debian-keyring debian-archive-keyring
apt-key update  (不一定成功,可以忽略)
apt-get upgrade

你可能感兴趣的:(debian,服务器,运维)