E: The repository ‘http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal Release‘ does not have a Rel

最近在ubuntu20.04上安装kivy,使用了下面这个命令:

sudo add-apt-repository ppa:kivy-team/kivy

安装没有成功, 运行sudo apt update时出现了如下错误:

Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Ign:2 http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal InRelease           
Hit:3 http://ppa.launchpad.net/maarten-baert/simplescreenrecorder/ubuntu focal InRelease
Hit:4 http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal InRelease     
Err:5 http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal Release             
  404  Not Found [IP: 91.189.95.83 80]
Hit:6 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal InRelease              
Get:7 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates InRelease [111 kB]
Hit:8 http://packages.microsoft.com/repos/vscode stable InRelease              
Hit:9 https://www.charlesproxy.com/packages/apt charles-proxy InRelease        
Ign:10 https://deepin-wine.i-m.dev  InRelease                                  
Get:11 https://deepin-wine.i-m.dev  Release [1,221 B]                          
Get:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports InRelease [98.3 kB]
Get:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security InRelease [107 kB]
Get:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/main amd64 DEP-11 Metadata [204 kB]
Get:15 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/universe amd64 DEP-11 Metadata [184 kB]
Get:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-backports/universe amd64 DEP-11 Metadata [1,972 B]
Get:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/main amd64 DEP-11 Metadata [24.3 kB]
Get:19 https://mirrors.tuna.tsinghua.edu.cn/ubuntu focal-security/universe amd64 DEP-11 Metadata [52.4 kB]
Ign:20 https://deepin-wine.i-m.dev  Release.gpg                                
Reading package lists... Done                                                  
E: The repository 'http://ppa.launchpad.net/kivy-team/kivy/ubuntu focal 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 apt-add-repository --remove ppa:kivy-team/kivy

或者:

sudo ppa-purge ppa:kivy-team/kivy

然后运行

sudo apt update

就不会报错了
在这里插入图片描述

  • 1
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值