我正在运行 ubuntu 22.04,但无法更新

我正在运行 ubuntu 22.04,但无法更新

当我打字时

sudo apt update

它给了我一个错误

Err:11 https://ppa.launchpadcontent.net/gnome3-team/gnome3/ubuntu jammy Release.
404  Not Found [IP: 2620:2d:4000:1::3e 443]
Reading package lists... Done
E: The repository 'https://ppa.launchpadcontent.net/gnome3-team/gnome3/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 'https://ppa.launchpadcontent.net/gnome3-team/gnome3-staging/ubuntu jammy Release' does not have a Release file.
N: See apt-secure(8) manpage for repository creation and user configuration details.

答案1

Ubuntu 22.04 附带 Gnome 42。看来您已启用 Gnome 3 的 PPA 存储库。Ubuntu 18.04 (Bionic Beaver) 是该存储库支持的最新版本的 Ubuntu 版本,因此您的系统上不再需要它。

要修复该错误,您需要删除该存储库,可以使用以下命令完成:

sudo apt-add-repository --remove ppa:gnome3-team/gnome3

有关该存储库的更多内容,请参阅GNOME3 PPA 终止使用公告

相关内容