ubuntu-9.04 – 更新Ubuntu 9.04的最佳方法是什么?

前端之家收集整理的这篇文章主要介绍了ubuntu-9.04 – 更新Ubuntu 9.04的最佳方法是什么?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我有一个Ubuntu 9.04服务器,它不再支持packase了.如果我想更新我的包列表,我会遇到以下错误
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

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

我自己解决了这个问题.

下载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工作正常!

原文链接:https://www.f2er.com/ubuntu/348486.html

猜你在找的Ubuntu相关文章