首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >sudo apt-获取更新并添加存储库错误

sudo apt-获取更新并添加存储库错误
EN

Ask Ubuntu用户
提问于 2019-12-24 13:41:07
回答 1查看 24.7K关注 0票数 5

每当我需要得到更新时,我就会得到一个错误。下面是日志中的错误:

代码语言:javascript
复制
  Err:13 http://ppa.launchpad.net/ehoover/compholio/ubuntu eoan Release 
  404  Not Found [IP: 91.189.95.83 80] 

  Err:14
  http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu eoan Release     
  404  Not Found [IP: 91.189.95.83 80] 

 Err:15
  http://ppa.launchpad.net/pipelight/stable/ubuntu eoan Release       
  404  Not Found [IP: 91.189.95.83 80] 

  E: The repository 'http://ppa.launchpad.net/ehoover/compholio/ubuntu 
  eoan 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/gnome-terminator/ppa/ubuntu 
  eoan 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/pipelight/stable/ubuntu eoan 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.

此外,当我尝试例如sudo add-apt-repository ppa:openrazer/daily或添加任何其他存储库时,我也会得到类似的错误

有人能帮我解决这个问题吗?互联网上有一些答案,但我是初学者,所以我不知道如何解决我的具体问题,而不是类似的问题.提前谢谢!

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2019-12-24 15:36:38

欢迎问Ubuntu!

安装中有一堆个人包裹档案无效/不再有效。对于apt抛出的每一个错误,您都必须删除PPA。您可以这样做:

代码语言:javascript
复制
 Err:13 http://ppa.launchpad.net/ehoover/compholio/ubuntu eoan Release 404  Not Found [IP: 91.189.95.83 80]

PPA的名称是ehoover/compholio。你得把这个PPA移除。这可以通过两种方式实现。

方法1

要删除PPA,您需要安装ppa-purge (如果不想安装任何其他软件包,请参见方法2 )。

代码语言:javascript
复制
$ sudo apt-get install ppa-purge

可以通过运行命令来删除此PPA。

代码语言:javascript
复制
$ sudo ppa-purge ppa:ehoover/compholio

同样,为遇到的每个错误行运行该命令。你的案子的完整清单应该是

代码语言:javascript
复制
sudo ppa-purge ppa:ehoover/compholio
sudo ppa-purge ppa:gnome-terminator/ppa
sudo ppa-purge ppa:pipelight/stable

方法2

您也可以通过使用内置的add-apt-repository命令来实现这一点。这与方法1类似。

代码语言:javascript
复制
sudo add-apt-repository -r ppa:ehoover/compholio
sudo add-apt-repository -r ppa:gnome-terminator/ppa
sudo add-apt-repository -r ppa:pipelight/stable

AFAIK这些PPA没有19.10的资源,所以你必须等待。(我可能错了)

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

https://askubuntu.com/questions/1198312

复制
相关文章

相似问题

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