当我更新软件包列表时,如何修复404错误?

我正在使用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/上显然存在。
我该如何解决这个问题?

@N0rbert 链接的问题与我的情况无关。我使用的是18.04,而他使用的是6年前的其他版本。 - Curtice Gough
3@CurticeGough 仓库管理系统仍然以相同的方式运作。 - wjandrea
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