我正在尝试使用 更新我的系统sudo apt update
,但在尝试这样做时我得到以下输出:
Hit:1 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:2 https://deb.debian.org/debian buster InRelease
Hit:3 https://deb.debian.org/debian-security buster/updates InRelease
Ign:4 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu impish InRelease
Ign:6 https://storage.googleapis.com/cros-packages/91 buster InRelease
Hit:7 https://storage.googleapis.com/cros-packages/91 buster Release
Err:8 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu impish Release
404 Not Found [IP: 91.189.95.85 80]
Ign:5 http://cdn-fastly.deb.debian.org/debian jessie InRelease
Hit:10 http://deb.i2p2.no unstable InRelease
Get:9 http://cdn-fastly.deb.debian.org/debian jessie Release [77.3 kB]
Get:11 http://cdn-fastly.deb.debian.org/debian jessie Release.gpg [1,652 B]
Ign:11 http://cdn-fastly.deb.debian.org/debian jessie Release.gpg
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu impish 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://cdn-fastly.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://http.debian.net/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.
我不知道如何解决这个问题,所以任何帮助将不胜感激。
答案1
由于您似乎正在运行 Debian 10,因此最简单的解决方法是删除 Jessie 存储库:
sed -i.bak /jessie/d /etc/apt/sources.list{,.d/*.list}
这些存储库不再更新,并且没有理由使用它们中的任何包。