linux - Ubuntu old upgrade 8.04 -> 12.04 -


moved superuser.com


i have computer running old ubuntu 8.04 lts.

as 8.04, next lts version, 10.04 no longer supported.

there no published path of direct upgrade 8.04 -> 12.04.

there published path 8.04 -> 10.04 , thence path 10.04 -> 12.04

if try standard normal upgrade instruction, error python. ubuntu 8.04 comes python 2.5. in error message, "precise" nickname of ubuntu 12.04.

stewart@old-ubuntu-box:~$ sudo do-release-upgrade checking 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' become reserved keyword in python 2.6 traceback (most recent call last):   file "/tmp/tmpwfcgnz/precise", line 3, in <module>     distupgrademain import main   file "/tmp/tmpwfcgnz/distupgrademain.py", line 102     open(fname, "a"):             ^ syntaxerror: invalid syntax 

if try upgrade python 2.6 or 2.7, support running of upgrade, find dependency problems because i'm still on 8.04.

stewart@old-ubuntu-box:~$ sudo apt-get install python2.6 reading package lists... done building dependency tree reading state information... done packages not installed. may mean have requested impossible situation or if using unstable distribution required packages have not yet been created or been moved out of incoming.  since requested single operation extremely package not installable , bug report against package should filed. following information may resolve situation:  following packages have unmet dependencies.   python2.6: depends: python2.6-minimal (= 2.6.5-1ubuntu7~lts1) not going installed              depends: libc6 (>= 2.11) 2.7-10ubuntu8.3 installed              depends: libdb4.8 not installable              depends: libreadline6 (>= 6.0) not installable              depends: libsqlite3-0 (>= 3.6.22) 3.4.2-2 installed e: broken packages 

it's circular catch-22. ideally, should able install correct versions of these broken dependencies (libc6, etc), chasing down how unsupported release has been elusive.

any suggestions how escape / tackle this?


update:

i've managed upgrade python using make install instructions found here, however, python error upon do-release-upgrade identical.

the official upgrade notes manual said releases states:

to avoid damaging running system, upgrading should done 1 release next release (e.g. ubuntu 12.04 ubuntu 12.10) or 1 lts release next (e.g. ubuntu 10.04 lts ubuntu 12.04 lts) if wish 'skip' version, can data , fresh installation, or progressively upgrade each successive version.


Comments