我正在运行 Ubuntu 18.04 LTS,但无法从新的 PPA 安装。每次我尝试更新软件包列表时都会出现 404 错误。
curtice@linuxloverpc:~$ sudo apt update
[sudo] password for curtice:
Hit:1 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:4 http://ppa.launchpad.net/bartbes/love-stable/ubuntu bionic InRelease
Ign:5 http://ppa.launchpad.net/gnome-shell-extensions/ppa/ubuntu bionic InRelease
Hit:6 http://ppa.launchpad.net/obsproject/obs-studio/ubuntu bionic InRelease
Hit:7 http://ppa.launchpad.net/papirus/papirus/ubuntu bionic InRelease
Err:8 http://ppa.launchpad.net/gnome-shell-extensions/ppa/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/gnome-shell-extensions/ppa/ubuntu bionic 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.
我在发行版升级后没有重新启用存储库,也没有错误地输入存储库名称,并且存储库显然存在于http://ppa.launchpad.net/gnome-shell-extensions/ppa/ubuntu/
我该如何解决?
答案1
您的问题中apt-get update
指出gnome-shell-extensions/ppa
没有适用于 Ubuntu 18.04 LTS Bionic Beaver 的软件包。
你应该简单地禁用这个存储库
sudo add-apt-repository -r ppa:gnome-shell-extensions/ppa
然后继续apt
照常使用。