─# apt-get update 100 ⨯
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu impish InRelease
Err:4 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu impish Release
404 Not Found [IP: 91.189.95.85 80]
Hit:3 http://kali.download/kali kali-rolling InRelease
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.
答案1
您正在使用非 Kali 存储库,这可能已对您的 Kali 系统造成不可挽回的损坏。请阅读
您可以尝试使用以下命令修复此情况,这会将您的存储库集合重置回标准集。但是,根据您从非 Kali 存储库安装的内容,您可能仍然存在无法解决的包冲突
find /etc/apt/sources.list* -type f -name '*.list' -exec mv -f {} {}.old \;
echo 'deb http://http.kali.org/kali kali-rolling main non-free contrib' >/etc/apt/sources.list
apt-get update