我尝试过这里列出的不同解决方案:
如果存储库/PPA 没有 Release 文件,我该怎么办?
第一个解决方案:ppa-purge
sudo ppa-purge ppa:bashsenpai/cli/ubuntu
Updating packages lists
E: The repository 'http://ppa.launchpad.net/bashsenpai/cli/ubuntu focal Release' does not have a Release file.
Warning: apt-get update failed for some reason
第二种解决方案:add-apt-repository
sudo add-apt-repository --remove ppa:bashsenpai/cli/ubuntu
Cannot add PPA: 'ppa:~bashsenpai/cli/ubuntu'.
The user named '~bashsenpai' has no PPA named 'cli/ubuntu'
Please choose from the following available PPAs:
* 'cli': BashSenpai CLI
(gives me the prompt back, won't let me 'choose' anything)
答案1
使用:
sudo add-apt-repository --remove ppa:bashsenpai/cli