我注意到sudo apt update
我有一个错误:
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
,但是没有效果:
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?
答案1
如果您添加了它。
echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
然后,要删除它,您还需要附加它deb
。
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