首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >不能通过添加-apt存储库删除PPA?

不能通过添加-apt存储库删除PPA?
EN

Ask Ubuntu用户
提问于 2020-03-04 00:55:17
回答 1查看 1.4K关注 0票数 3

我注意到在sudo apt update中我有一个错误:

代码语言:javascript
复制
Ign:3 https://dl.bintray.com/etcher/debian stable InRelease              
Err:16 https://dl.bintray.com/etcher/debian stable Release                    
  403  Forbidden [IP: 52.35.230.20 443]
Hit:17 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu bionic InRelease
Reading package lists... Done                     
E: The repository 'https://deb.etcher.io stable Release' no longer has 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.

我尝试使用典型的add-apt-repository --remove ppa:X/Here方法删除它,但这没有奏效:

代码语言:javascript
复制
sarah@LesserArk:/etc/apt$ sudo add-apt-repository --remove ppa:https://dl.bintray.com/etcher/debian
Cannot add PPA: 'ppa:~https/ubuntu/ppa'.
ERROR: '~https' user or team does not exist.
sarah@LesserArk:/etc/apt$ sudo add-apt-repository --remove ppa:"https://dl.bintray.com/etcher/debian"
Cannot add PPA: 'ppa:~https/ubuntu/ppa'.
ERROR: '~https' user or team does not exist.
sarah@LesserArk:/etc/apt$ sudo add-apt-repository --remove ppa:dl.bintray.com/etcher/debian
Cannot add PPA: 'ppa:~dl.bintray.com/etcher/debian'.
ERROR: '~dl.bintray.com' user or team does not exist.
sarah@LesserArk:/etc/apt$ sudo add-apt-repository --remove ppa:bintray.com/etcher/debian
Cannot add PPA: 'ppa:~bintray.com/etcher/debian'.
ERROR: '~bintray.com' user or team does not exist.
sarah@LesserArk:/etc/apt$ sudo add-apt-repository --remove etcher/debian

我似乎什么都不做,我该怎么做才能去除PPA?

EN

回答 1

Ask Ubuntu用户

发布于 2020-03-04 01:06:55

如果你把它和。

代码语言:javascript
复制
echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list

然后,要删除它,还需要追加deb

代码语言:javascript
复制
sudo add-apt-repository --remove "deb https://deb.etcher.io stable etcher"
sudo rm /etc/apt/sources.list.d/balena-etcher.list
sudo apt update
票数 5
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1214685

复制
相关文章

相似问题

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