Upgrading from Hardy

Gregory Gamble greg.gamble at uwa.edu.au
Mon Feb 1 19:04:12 UTC 2016


Dear Nils

I may very well try a from scratch upgrade. I'm just worried if it doesn't work I may just have to buy a new PC ... which may well be
my best option anyway.

I did burn Lucid to a CD ... which just manages to fit being under 700MB ... the later ones don't fit anymore.
I'm really getting the message "old tech."

I tried booting from the CD ... it just went dead on me. So that's not promising.

Thanks for your advice ... I'll probably come back to it after copying trusty to a portable hard drive.

Regards,
Greg G
________________________________________
From: ubuntu-users-bounces at lists.ubuntu.com [ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Nils Kassube [kassube at gmx.net]
Sent: Monday, February 01, 2016 4:42 AM
To: ubuntu-users at lists.ubuntu.com
Subject: Re: Upgrading from Hardy

Gregory Gamble wrote:
> I found some advice at:https://help.ubuntu.com/community/EOLUpgrades
>
> ... and edited my /etc/apt/sources.list to have lines such as:
> deb http://old-releases.ubuntu.com/ubuntu/ hardy-backports main
> restricted universe multiverse deb-src

> I updated the manager:

> I installed the kubuntu desktop

> Then I ran the upgrade
> ##################
> sudo apt-get update
> sudo apt-get dist-upgrade
> sudo do-release-upgrade
>
> ... but whereas I expected an upgrade to Lucid (or perhaps Intrepid),
> it seemed to want to go straight to Precise. This is the dialogue

I'm not sure if upgrading directly to precise would be a good idea. I
suppose the reason is that lucid isn't supported either, so the upgrade
tool looks for the next LTS release available in the standard
repositories.

> extracting 'precise.tar.gz'
> /tmp/tmphK2i6a/DistUpgradeMain.py:102: Warning: 'with' will become a
> reserved keyword in Python 2.6 Traceback (most recent call last):
>   File "/tmp/tmphK2i6a/precise", line 3, in <module>
>     from DistUpgradeMain import main
>   File "/tmp/tmphK2i6a/DistUpgradeMain.py", line 102
>     with open(fname, "a"):
>             ^
> SyntaxError: invalid syntaxSyntaxError: invalid syntax
>
> The problem above seems to be a problem with having an outdated Python
> installed.

> Anyway, if there are better instructions somewhere which I should have
> followed instead ... please direct me there. Otherwise, I hope
> someone out there has some advice that will help me get up-to-date.

I would suggest to download the iso image for the latest LTS release
(trusty) and install from scratch. Don't forget to make backups of your
valuable data first. If you want to preserve you home directory, be very
careful during the install dialog. There is an option to do the
partitioning manually. Select this option and then select the current
partiton for "/", use the same file system type but *don't* select to
format the partition. Then /home and /usr/local (and maybe other
directories) are preserved.


Nils


--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users




More information about the ubuntu-users mailing list