更新 Ubuntu 9.04 的最佳方式是什么?

Fu8*_*u86 5 ubuntu-9.04 upgrade

我有一个不再支持打包的 Ubuntu 9.04 服务器。如果我想更新我的包列表,我会收到以下错误:

 Err http://de.archive.ubuntu.com jaunty-security/multiverse Packages
   404 Not Found [IP: 141.30.13.10 80]
 W: Failed to fetch http://de.archive.ubuntu.com/ubuntu/dists/jaunty/main/binary-amd64/Packages  404 Not Found [IP: 141.30.13.10 80]
 ....
Run Code Online (Sandbox Code Playgroud)

我在官方的Ubuntu-Support-Page 上读到,有一个update-manager-core-Package 可以升级到新版本。不幸的是,我没有安装这个包,由于缺少包源,我无法安装它。

编辑:update-manager-core从另一个版本安装包不起作用,因为它依赖于更高版本的python-apt. (用 10.04 试过)

 $ dpkg -i update-manager-core_0.134.7_amd64.deb
 Selecting previously deselected package update-manager-core.
 (Reading database ... 28743 files and directories currently installed.)
 Unpacking update-manager-core (from update-manager-core_0.134.7_amd64.deb) ...
 dpkg: dependency problems prevent configuration of update-manager-core:
  update-manager-core depends on python-apt (>= 0.7.13.4ubuntu3); however:
   Version of python-apt on system is 0.7.9~exp2ubuntu10.
  update-manager-core depends on python-gnupginterface; however:
   Package python-gnupginterface is not installed.
 dpkg: error processing update-manager-core (--install):
  dependency problems - leaving unconfigured
 Errors were encountered while processing:
  update-manager-core
Run Code Online (Sandbox Code Playgroud)

那么,在不重新安装完整(虚拟)服务器的情况下升级到当前版本的最佳方法是什么?

Fu8*_*u86 4

我自己解决了这个问题。

下载 ISO 文件并将其安装到本地文件夹中:

 wget http://old-releases.ubuntu.com/releases/jaunty/ubuntu-9.04-server-amd64.iso 
 mkdir cdrom
 mount -o loop ubuntu-9.04-server-amd64.iso
Run Code Online (Sandbox Code Playgroud)

调整/etc/apt/sources.list并添加本地文件夹

 deb file:///tmp/cdrom/ main
Run Code Online (Sandbox Code Playgroud)

执行更新并安装update-manager-core

 apt-get update
 apt-get install update-manager-core
Run Code Online (Sandbox Code Playgroud)

现在,系统从 9.04 更新到 9.10,然后从 9.10 更新到 10.04 LTS 工作正常!