大家好,想知道你是否能帮忙。
我尝试用这个命令在我的 chromebook 终端上更新我的 linux
sudo apt-get update && sudo apt-get dist-upgrade
我收到此错误。非常感谢您的帮助!
Hit:2 http://httpredir.debian.org/debian jessie Release
Get:3 https://deb.debian.org/debian buster InRelease [122 kB]
Ign:4 https://storage.googleapis.com/cros-packages/94 buster InRelease
Get:5 https://deb.debian.org/debian-security buster/updates InRelease [65.4 kB]
Hit:6 https://storage.googleapis.com/cros-packages/94 buster Release
Err:7 http://httpredir.debian.org/debian jessie Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY CBF8D6FD518E17E1
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://httpredir.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
N: Repository 'https://deb.debian.org/debian buster InRelease' changed its 'Version' value from '10.9' to '10.11'
E: Repository 'https://deb.debian.org/debian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
E: Repository 'https://deb.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.```
答案1
sudo apt-key adv --refresh-keys --keyserver keyserver.ubuntu.com
答案2
Hit:2 http://httpredir.debian.org/debian jessie Release
此源代码行中有拼写错误。请编辑 /etc/apt/sources.list 以修复此问题。
此外,Debian Jessie 已经过时了。如果您已经升级到它,您的来源应该参考 buster 或 bullseye。