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

Modified on: Thu, 02 May 2019 05:00:03 +0800

我有一台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]
 ....

我在官方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

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

作者:,Fu86

最佳答案

我自己解决了这个问题。

下载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

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

 deb file:///tmp/cdrom/ main

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

 apt-get update
 apt-get install update-manager-core

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

作者:Fu86

相关问答

添加新评论