执行 sudo apt-get update 命令时出现此错误。我还遇到错误,例如某些软件包的某些依赖项未得到满足。如何解决此问题?

执行 sudo apt-get update 命令时出现此错误。我还遇到错误,例如某些软件包的某些依赖项未得到满足。如何解决此问题?
Err:10 http://ppa.launchpad.net/aims/sagemath/ubuntu focal Release
  404  Not Found [IP: 2001:67c:1560:8008::19 80]
Err:11 http://ppa.launchpad.net/morphis/anbox-support/ubuntu focal Release
  404  Not Found [IP: 2001:67c:1560:8008::19 80]
Err:12 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu focal Release
  404  Not Found [IP: 2001:67c:1560:8008::19 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/aims/sagemath/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.
E: The repository 'http://ppa.launchpad.net/morphis/anbox-support/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.
E: The repository 'http://ppa.launchpad.net/ubuntu-wine/ppa/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

您必须禁用所有三个不支持 Ubuntu 20.04 LTS(focal)的 PPA:

sudo apt-add-repository -r ppa:aims/sagemath
sudo apt-add-repository -r ppa:morphis/anbox-support
sudo apt-add-repository -r ppa:ubuntu-wine/ppa

然后再次运行更新+升级程序:

sudo apt-get update
sudo apt-get upgrade

相关内容