首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >sudo apt更新& sudo apt升级Ubuntu18.04上的-y抛出错误

sudo apt更新& sudo apt升级Ubuntu18.04上的-y抛出错误
EN

Unix & Linux用户
提问于 2020-08-24 17:59:06
回答 1查看 4.3K关注 0票数 0

当我运行sudo apt更新& sudo apt升级-y时,下面会出现以下错误

代码语言:javascript
复制
Hit:1 http://ppa.launchpad.net/diesch/testing/ubuntu bionic InRelease
Ign:2 http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu bionic InRelease   
Hit:3 https://packages.microsoft.com/ubuntu/20.04/prod focal InRelease        
Err:4 http://ppa.launchpad.net/gnome-terminator/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-terminator/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.
EN

回答 1

Unix & Linux用户

发布于 2020-08-24 18:19:25

它向您展示了对于存储库http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu,您的Ubuntu (仿生海狸)版本是不可用的,因此您不能使用该回购。您可以升级Ubuntu版本或删除该存储库。

如果您决定升级,请遵循。如果要保留当前版本并删除回购,请执行以下操作:

  1. /etc/apt中找到引用该存储库的行,运行:
代码语言:javascript
复制
grep "http://ppa.launchpad.net/gnome-terminator/ppa/ubuntu" /etc/apt  -R
  1. 使用您喜欢的文本编辑器(vim、nano、subl、gedit等)并删除该行。
  2. 再次运行sudo apt update

这样就行了。

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

https://unix.stackexchange.com/questions/606092

复制
相关文章

相似问题

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