每次我尝试sudo apt-get update
它都会出错。下面是它的内容。(包括下载)。
Ign:1 http://ppa.launchpad.net/ehoover/compholio/ubuntu focal InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:3 http://ppa.launchpad.net/maarten-fonville/android-studio/ubuntu focal InRelease
Hit:4 http://ca.archive.ubuntu.com/ubuntu focal InRelease
Hit:5 http://ca.archive.ubuntu.com/ubuntu focal-updates InRelease
Err:6 http://ppa.launchpad.net/ehoover/compholio/ubuntu focal Release
404 Not Found [IP: 91.189.95.85 80]
Hit:7 http://ca.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:8 http://ca.archive.ubuntu.com/ubuntu focal-security InRelease
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/ehoover/compholio/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.
答案1
Ign:1 http://ppa.launchpad.net/ehoover/compholio/ubuntu focal InRelease
被 Ign(忽略) 因为这个存储库没有 Release 文件。
没有问题Netflix。
您需要删除存储库。请按照以下命令进行删除。
sudo add-apt-repository --remove ppa:ehoover/compholio sudo apt 自动删除 sudo apt 更新
- 现在,您不会再遇到该错误:)