我已经运行了一年的VM原型。我好几个月没更新过了。我最近尝试使用sudo apt update更新它。
但是,我得到了以下错误:
Ign:1 http://us-east4.gce.archive.ubuntu.com/ubuntu groovy InRelease
Ign:2 http://us-east4.gce.archive.ubuntu.com/ubuntu groovy-updates InRelease
Ign:3 http://us-east4.gce.archive.ubuntu.com/ubuntu groovy-backports InRelease
Err:4 http://us-east4.gce.archive.ubuntu.com/ubuntu groovy Release
404 Not Found [IP: 35.196.128.168 80]
Err:5 http://us-east4.gce.archive.ubuntu.com/ubuntu groovy-updates Release
404 Not Found [IP: 35.196.128.168 80]
Err:6 http://us-east4.gce.archive.ubuntu.com/ubuntu groovy-backports Release
404 Not Found [IP: 35.196.128.168 80]
Ign:7 http://security.ubuntu.com/ubuntu groovy-security InRelease
Err:8 http://security.ubuntu.com/ubuntu groovy-security Release
404 Not Found [IP: 91.189.88.142 80]
Reading package lists... Done
E: The repository 'http://us-east4.gce.archive.ubuntu.com/ubuntu groovy Release' no longer has 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://us-east4.gce.archive.ubuntu.com/ubuntu groovy-updates Release' no longer has 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://us-east4.gce.archive.ubuntu.com/ubuntu groovy-backports Release' no longer has 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://security.ubuntu.com/ubuntu groovy-security Release' no longer has 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.我的vm是Google引擎实例。
发布于 2022-01-18 05:46:35
您使用的Ubuntu发行版似乎已经过时,当这种情况发生时,Ubuntu会更改存储库的服务器。为了能够更新您的发行版,编辑/etc/apt/ change .列表并将archive.ubuntu.com和security.ubuntu.com,更改为old-releases.ubuntu.com.
但是,正如@ Knud所提到的,20.10Groovy被移到了旧版本旧版本/ubuntu.com,而美国-ubuntu 4.gce.Archive.ubuntu.com/ubuntu不适用于“旧的不受支持的”。因此,您将无法将我们- will 4.gce.Archive.ubuntu.com/ubuntu更改为旧版本版本的ubuntu.com。您可以尝试将VM移动到另一个区域/区域并尝试更新版本。
升级ubuntu版本的步骤:
https://stackoverflow.com/questions/70627597
复制相似问题