我有一个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
我自己解决了这个问题.
原文链接:https://www.f2er.com/ubuntu/348486.htmlwget 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工作正常!