升级到22.04(impish Release不再有Release文件)

And*_*gua 41 upgrade updates apt repository 22.04

我正在尝试,$ sudo apt update但我明白了:

Reading package lists... Done                                                                                                                        
E: The repository 'http://archive.ubuntu.com/ubuntu impish 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://archive.ubuntu.com/ubuntu impish-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://archive.ubuntu.com/ubuntu impish-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://archive.ubuntu.com/ubuntu impish-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.
Run Code Online (Sandbox Code Playgroud)

我还没有碰过Software & updates - other softwareORsources.list以防万一有人问。

确切的 Ubuntu 版本。

$ lsb_release -a

No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 21.10
Release:    21.10
Codename:   impish
Run Code Online (Sandbox Code Playgroud)

编辑:这个问题是关于22.04,而不是关于21.10,感谢您没有关闭它。

Lor*_*rta 22

截至 7 月 14 日,Ubuntu 21.10“Impish Indri”不再有 Canonical 更新,这就是您无法更新的原因。

您可以继续使用 21.10,但存在安全漏洞等风险,这些漏洞将不再得到修补,但我建议升级到最新的 22.04“Jammy Jellyfish”LTE

以下是 EOL 后如何升级: https: //help.ubuntu.com/community/EOLUpgrades

  • 按照上述 EOL 指南,关键是编辑 `/etc/apt/sources.list`,以便将 `archive.ubuntu.com` 和 `security.ubuntu.com` 更改为 `old-releases.ubuntu.com`。这允许您从 EOL 版本(例如 Impish)进行更新/升级。可以在这里找到更好的说明:https://askubuntu.com/a/91821/571221 (15认同)
  • 问题是,如何修复、删除或改进它,因为我们没有做任何事情。我使用的是 22.04,但我也收到这些消息。 (12认同)
  • 无法升级到 22.04 *因为* 21.10 版本文件丢失... (7认同)
  • `do-release-upgrade` 帮助我升级到 22.04。 (5认同)