我一直试图通过https://wiki.winehq.org/Ubuntu当我使用此命令添加存储库时,我不断收到此错误:Sudo add-apt-repository 'debhttps://dl.winehq.org/wine-builds/ubuntu/groovy main' 我尝试了在线找到的所有方法,但都没有起作用。
日志:
Hit:1 http://dl.winehq.org/wine-builds/ubuntu artful InRelease
Hit:2 http://au.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://au.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:5 https://dl.winehq.org/wine-builds/ubuntu groovy InRelease
Hit:6 http://au.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:7 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:8 http://packages.microsoft.com/repos/code stable InRelease
Get:9 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Ign:10 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:11 http://repo.vivaldi.com/stable/deb stable Release
Hit:12 http://ppa.launchpad.net/lutris-team/lutris/ubuntu focal InRelease
Hit:14 http://ppa.launchpad.net/numix/ppa/ubuntu focal InRelease
Ign:15 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal InRelease
Ign:16 http://ppa.launchpad.net/webupd8team/java/ubuntu focal InRelease
Err:17 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
Err:18 http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal 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 focal 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
您有多个 PPA 不再受支持。因此出现 404 错误。
WebUpd8Team Java PPA
Err:18 http://ppa.launchpad.net/webupd8team/java/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
WebUpd8Team PPA 都已过时且已弃用,不支持 Focal。此外,如果您使用它来获取 Sun / Oracle JAVA,Sun / Oracle 许可在过去两年中发生了变化,您由于许可证的改变,不再能够分发 Oracle Java 版本。
Ubuntu WINE PPA
Err:17 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
Ubuntu Wine PPA 目前至少在 Ubuntu 的三个开发周期中都没有得到维护。
相反,你需要按照 WineHQ Upstream 的说明并使用 WineHQ 存储库在您的系统上获取最新的 Wine。没有办法解决这个问题。