当我试图通过使用"sudo apt update“进行更新时,我会得到以下错误
Hit:5 https://dl.google.com/linux/chrome/deb stable InRelease.
Err:7 http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu jammy Release
404 Not Found [IP: 2001:67c:1560:8008::19 80]. Err:8 http://ppa.launchpad.net/webupd8team/java/ubuntu jammy Release
404 Not Found [IP: 2001:67c:1560:8008::19 80].和
E: The repository 'http://ppa.launchpad.net/cybermax-dexter/sdl2-backport/ubuntu jammy 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.
E: The repository 'http://ppa.launchpad.net/webupd8team/java/ubuntu jammy 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.
N: Skipping acquire of configured file 'main/binary-1386/Packages' as repository 'https://http.kali.org/kali kali-rolling InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'contrib/binary-1386/Packages' as repository 'https://http.kali.org/kali kali-rolling InRelease' doesn't support architecture '1386'
N: Skipping acquire of configured file 'non-free/binary-1386/Packages' as repository 'https://http.kali.org/kali kali-rolling InRelease' doesn't support architecture '1386'有人能帮忙吗?
发布于 2021-12-18 15:36:30
连接到apt存储库的证书似乎已经过期和/或不属于您或os需要连接的版本。删除现有的PPA,所以在你的情况下,
sudo add-apt-repository --remove ppa:cybermax-dexter/sdl2-backport
sudo add-apt-repository --remove ppa:webupd8team/java然后更新
sudo apt-get update然后尝试找到从Kali的存储库下载所需的确切资源。
如果您仍然需要添加存储库,那么请确认您要添加的存储库是否有您要查找的包。在您的例子中,转到这里并检查您的包在Sources.gz文件中是否可用。如果他们不是,你就走到了死胡同。也许是因为最新的来源是仿生海狸(Ubuntu 18),他们是正当的,不再维护它.
如果您仍然需要在Kali上使用ubuntu的二进制文件(嘿,linux是为您服务的,为了自由起见,请使用最新的存储库。)
https://unix.stackexchange.com/questions/682982
复制相似问题