Ubuntu旧升级8.04 - > 12.04

时间:2016-01-25 01:04:35

标签: linux ubuntu install upgrade debian-based

已移至superuser.com

我有一台运行旧<style>的计算机。

Ubuntu 8.04 LTS一样,下一个LTS版本8.04也不再受支持。

没有已发布的10.04直接升级路径。

发布了path from 8.04 -> 10.04,然后发布了path from 10.04 -> 12.04

如果我尝试标准的普通升级指令,我会收到Python的错误。 8.04 -> 12.04附带Ubuntu 8.04。在此错误消息中,&#34;精确&#34;是Python 2.5的昵称。

Ubuntu 12.04

如果我尝试将Python升级到stewart@old-ubuntu-box:~$ sudo do-release-upgrade Checking for a new ubuntu release Done Upgrade tool signature Done Upgrade tool Done downloading authenticate 'precise.tar.gz' against 'precise.tar.gz.gpg' extracting 'precise.tar.gz' /tmp/tmpwfCGnZ/DistUpgradeMain.py:102: Warning: 'with' will become a reserved keyword in Python 2.6 Traceback (most recent call last): File "/tmp/tmpwfCGnZ/precise", line 3, in <module> from DistUpgradeMain import main File "/tmp/tmpwfCGnZ/DistUpgradeMain.py", line 102 with open(fname, "a"): ^ SyntaxError: invalid syntax 2.6,为了支持升级运行,我发现依赖性问题,因为我仍然只在2.7上。

8.04

这是一个圆形的捕获22。理想情况下,我应该能够安装这些破坏的依赖项的正确版本(stewart@old-ubuntu-box:~$ sudo apt-get install python2.6 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. Since you only requested a single operation it is extremely likely that the package is simply not installable and a bug report against that package should be filed. The following information may help to resolve the situation: The following packages have unmet dependencies. python2.6: Depends: python2.6-minimal (= 2.6.5-1ubuntu7~lts1) but it is not going to be installed Depends: libc6 (>= 2.11) but 2.7-10ubuntu8.3 is to be installed Depends: libdb4.8 but it is not installable Depends: libreadline6 (>= 6.0) but it is not installable Depends: libsqlite3-0 (>= 3.6.22) but 3.4.2-2 is to be installed E: Broken packages 等),但是追查如何为不支持的版本执行此操作一直是难以捉摸的。

有关如何逃避/解决此问题的任何建议吗?

更新

我设法使用libc6make install指令升级Python,但do-release-upgrade上的Python错误是相同的。

3 个答案:

答案 0 :(得分:2)

上述版本的Official upgrade notes manual声明:

  

为避免损坏正在运行的系统,只应进行升级   从一个版本到下一个版本(例如Ubuntu 12.04到Ubuntu   12.10)或从一个LTS版本到下一个版本(例如Ubuntu 10.04 LTS到Ubuntu   12.04 LTS)如果你想跳过&#39;在某个版本中,您可以备份数据并进行全新安装,或逐步升级到每个数据   连续版本。

答案 1 :(得分:1)

我的建议是,下载Ubuntu 12.04 / 14.04,取回当前系统并擦干净,加载新系统。如果你遵循这种方式,你就不会遇到依赖关系和其他问题。

但是如果你仍然想坚持这条路线,你需要升级很多东西,从libc,gtk,xorg,xserver,python,gcc,g ++等等开始。这是时间考虑而且要困难得多。

答案 2 :(得分:1)

讨厌坏掉一个旧线程,但是我遇到了这个问题,它启动了旧PC,并开始升级到希望的18.04 ...我在我的实例中通过降级update-manager和update-manager-core解决了这个问题包从1:0.87.33到1:0.87.24(如果我没记错的话)。什么都没用。