将 Ubuntu Server 22.10 Kinetic Kudu 升级到 23.10 Mantic

Rab*_*ine 5 linux ubuntu

我正在尝试将我的 ubuntu 服务器 22.10 Kinetic Kudu 升级到 23.10 mantic。

我可以使用此sources.list将我的Kinetic版本升级到最新更新:

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://old-releases.ubuntu.com/ubuntu kinetic main restricted
# deb-src http://old-releases.ubuntu.com/ubuntu kinetic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://old-releases.ubuntu.com/ubuntu kinetic-updates main restricted
# deb-src http://old-releases.ubuntu.com/ubuntu kinetic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://old-releases.ubuntu.com/ubuntu kinetic universe
# deb-src http://old-releases.ubuntu.com/ubuntu kinetic universe
deb http://old-releases.ubuntu.com/ubuntu kinetic-updates universe
# deb-src http://old-releases.ubuntu.com/ubuntu kinetic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://old-releases.ubuntu.com/ubuntu kinetic multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu kinetic multiverse
deb http://old-releases.ubuntu.com/ubuntu kinetic-updates multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu kinetic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://old-releases.ubuntu.com/ubuntu kinetic-backports main restricted universe multiverse
# deb-src http://old-releases.ubuntu.com/ubuntu kinetic-backports main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu kinetic-security main restricted
# deb-src http://old-releases.ubuntu.com/ubuntu kinetic-security main restricted
deb http://old-releases.ubuntu.com/ubuntu kinetic-security universe
Run Code Online (Sandbox Code Playgroud)

当我执行 do-release-upgrade 时,我收到以下消息:

此工具不支持从“kinetic”升级到“mantic”

确实不可能执行我想要执行的升级路径吗?

Rab*_*ine 5

最后我能够通过以下步骤进行升级:

  • 修改当前的 /etc/apt/sources.list 并将以http://archive ...开头的 url 替换为http://old-releases
  • 完成后,执行sudo apt update然后sudo apt Upgradesudo apt dist-upgrade
  • 然后重新启动
  • 修改 /etc/apt/sources.list 并放回存档而不是旧版本
  • 修改 /etc/apt/sources.list 并将所有出现的动能替换为月球
  • 然后执行sudo apt updatesudo apt Upgradesudo apt dist-upgrade。这将确保您升级到 23.04
  • 然后重新启动
  • 然后执行 sudo do-release-upgrade 升级到 23.10