sudo apt update
Ubuntu 20.04 中的输出:
Ign:1 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:2 http://np.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://np.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:4 http://np.archive.ubuntu.com/ubuntu focal-backports InRelease
Err:5 http://security.ubuntu.com/ubuntu focal-security Release 404 Not Found [IP: 110.44.112.44 80]
Hit:6 http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal InRelease
Hit:7 http://ppa.launchpad.net/micahflee/ppa/ubuntu focal InRelease
Reading package lists... Done
E: The repository 'http://security.ubuntu.com/ubuntu focal-security 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.
/etc/apt/sources.list
并且软件和更新没有这个 ppa。
答案1
您的软件源中的两个 PPA 似乎正在正常更新,但是软件存储库服务器中的临时故障导致 http://security.ubuntu.com/ubuntu focal-security 被禁用。
如果您忽略E: The repository 'http://security.ubuntu.com/ubuntu focal-security Release' does not have a Release file.
错误消息,禁用的存储库将自动恢复。它可能会在一天、几天甚至一个月后恢复,但最终它会自行恢复。
同时,除了从禁用的存储库更新软件包外,您的系统将能够正常更新。