如何解决focal Release'没有Release文件?

如何解决focal Release'没有Release文件?

我无法运行 apt-get update。每次运行此命令时都会收到此错误消息。有人能帮忙吗

kgo@ws-kgo:~/Documents/side$ sudo apt-get update
Ign:1 http://dl.google.com/linux/chrome-remote-desktop/deb stable InRelease
Hit:2 http://lenovo.archive.canonical.com focal InRelease                                                               
Hit:3 https://deb.nodesource.com/node_14.x focal InRelease                                                              
Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease                                                            
Hit:5 https://mirror.netcologne.de/ubuntu focal InRelease                                                           
Hit:6 https://mirror.netcologne.de/ubuntu focal-security InRelease                            
Hit:7 https://mirror.netcologne.de/ubuntu focal-updates InRelease                                                  
Hit:8 http://dl.google.com/linux/chrome-remote-desktop/deb stable Release                                          
Hit:9 https://mirror.netcologne.de/ubuntu focal-backports InRelease                          
Ign:10 http://old-releases.ubuntu.com/ubuntu focal InRelease                                 
Ign:11 http://old-releases.ubuntu.com/ubuntu focal-security InRelease  
Err:13 http://old-releases.ubuntu.com/ubuntu focal Release             
  404  Not Found [IP: 91.189.88.247 80]
Err:15 http://old-releases.ubuntu.com/ubuntu focal-security Release
  404  Not Found [IP: 91.189.88.247 80]
Hit:14 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Reading package lists... Done
E: The repository 'http://old-releases.ubuntu.com/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://old-releases.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.

答案1

Ubuntu 20.04 LTS 是一个受支持的版本;那么为什么按照您的帖子,它会出现在旧版本中?

仅有的不支持或者 EOL 版本在那里被发现并且无论是谁将它移动到那里都早了很多年。

Ubuntu 20.04 LTS 具有标准支持至 2025 年 4 月,ESM 再支持 5 年,直至达到 EOL 并移至 old-releases.ubuntu.com (这将发生在 2030 年 4 月之后

有权限的人sudo在你的机器上错误地更改了它;撤消该更改(即这些行应该是http://archive.ubuntu.com/不是 http://old-releases.ubuntu.com/

相关内容