移到superuser.com老的Ubuntu 8.04升級 - > 12.04
我有運行老Ubuntu 8.04 LTS
計算機。
以及8.04
,下一個LTS版本10.04
也不再受支持。
沒有公佈從8.04 -> 12.04
直接升級的路徑。
有被出版path from 8.04 -> 10.04
並從那裏一個path from 10.04 -> 12.04
如果我嘗試標準正常升級指令,我得到與Python的錯誤。 Ubuntu 8.04
附帶Python 2.5
。在此錯誤消息中,「Precise」是Ubuntu 12.04
的暱稱。
[email protected]:~$ 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
如果我嘗試的Python升級到2.6
或2.7
,支持升級的運行,我覺得依賴性問題,因爲我還只在8.04
。
[email protected]:~$ 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
這是一個圓形的捕獲-22。理想情況下,我應該能夠安裝這些中斷依賴關係的正確版本(libc6
等),但是如何爲不支持的版本執行此操作一直難以實現。
任何建議如何逃避/解決這個問題?
更新:
我已經成功使用make install
從指令found here升級Python的,但是,在do-release-upgrade
Python的錯誤是相同的。
在兩個步驟中,8.04 - > 10.04,然後10.04 - > 12.04。 –
這是我的問題。當我執行升級命令時,它試圖做一次跳轉。如何強制它只做「8.04 - > 10.04」? – Stewart
我認爲這是題外話,所以我沒有給出答案。我可以在http://superuser.com/或http://askubuntu.com/上提供一個。 –