首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在更新包列表时修复404错误?

如何在更新包列表时修复404错误?
EN

Ask Ubuntu用户
提问于 2018-05-09 17:01:47
回答 1查看 24.5K关注 0票数 7

我正在运行Ubuntu18.04LTS,我无法从新的PPA安装。每次我试图更新软件包列表时,它都会给我一个404错误。

代码语言:javascript
复制
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/

我该怎么解决这个问题?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2018-05-09 17:18:03

您的问题中的apt-get update声明gnome-shell-extensions/ppa没有Ubuntu18.04LTS仿生海狸的包。

应该简单地禁用这个存储库

代码语言:javascript
复制
sudo add-apt-repository -r ppa:gnome-shell-extensions/ppa

然后继续像往常一样使用apt

票数 10
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1034146

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档