vps交流

GPG签名验证错误如何解决


本帖最后由 qwer121 于 2022-4-5 15:39 编辑

online的3o机器,不管是原有的debian10,还是DD了debian10或者ubuntu18.04。都会在apt update的时候出现错误,导致好多东西安装都会出问题。

Ign:1 http://deb.debian.org/debian wheezy InRelease
Ign:2 http://deb.debian.org/debian jessie InRelease
Ign:3 http://deb.debian.org/debian stretch InRelease
Err:4 http://deb.debian.org/debian wheezy Release
  404  Not Found [IP: 2a04:4e42:65::644 80]
Get:5 http://deb.debian.org/debian jessie Release [77.3 kB]
Hit:6 http://deb.debian.org/debian stretch Release
Get:7 http://deb.debian.org/debian jessie Release.gpg [1,652 B]
Ign:7 http://deb.debian.org/debian jessie Release.gpg
Reading package lists… Done
E: The repository ‘http://deb.debian.org/debian wheezy Release’ does not have a Release file.
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.
W: GPG error: http://deb.debian.org/debian jessie Release: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1
E: The repository ‘http://deb.debian.org/debian jessie Release’ 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.

网上搜索了很多,都是一个NO_PUBKEY没,我这个是俩个NO_PUBKEY,咋都无法解决,请问如何解决呢?