I've just found a production Ubuntu Server 10.10 install that I need to try to upgrade.
It's pretty much just Apache, PHP and MySQL so hopefully not too complicated.
10.10 has not been supported for ages - indeed to get to a version which is not EOL I need to skip 11.04 and 11.10 and go straight for 12.04LTS.
I've taken an image and restored to an indentical VM. So far I've done: sed -i.bak -e 's/maverick/precise/g' /etc/apt/sources.list apt-get update apt-get install apt apt-get upgrade && apt-get dist-upgrade && apt-get autoremove
This initially failed until I added: APT { Immediate-Configure No; }; .. to /etc/apt/apt.conf
Rather surprisingly, I now have an apparently working system,
So my question is: what should I look out for to check this has really gone OK? So far it feels like it's been too easy...
Mark
On Mon, Jun 24, 2013 at 03:48:39PM +0100, Mark Rogers wrote:
10.10 has not been supported for ages - indeed to get to a version which is not EOL I need to skip 11.04 and 11.10 and go straight for 12.04LTS.
I know this isn't the answer to your question, but:
I'm not sure that you did that the right way, I'd think you'd have to go 10.10 to 11.04 and then to 12.04LTS.
I believe the way you're supposed to do it is apt-get install update-manager-core and then sudo do-release-upgrade.
Adam
On 24 June 2013 19:41, Adam Bower adam@thebowery.co.uk wrote:
I'm not sure that you did that the right way, I'd think you'd have to go 10.10 to 11.04 and then to 12.04LTS.
I believe the way you're supposed to do it is apt-get install update-manager-core and then sudo do-release-upgrade.
Indeed, but that relies on the repositories for 10.10 and 11.04 being available, which as they're EOL they're not. So apt-get update just gets me a load of 404 errors, and I can't install update-manager-core.
Maybe CD upgrades would work from old CDs but the machine is externally hosted so that's not an (easy) option, although maybe that could be achieved.
So, the correct way to do it is to not wait until the distro you have (and the one you want to upgrade to) are EOL :-)
That said, 10.04 LTS should upgrade directly to 12.04 LTS and my understanding is that there's nothing in particular stopping you upgrading via the method I outlined, just it's not tested and there are various things that might break and need working around. I'm certainly not recommending the approach but thus far it seems to have worked,
Mark -- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
On 25/06/13 09:31, Mark Rogers wrote: [SNIP]
Maybe CD upgrades would work from old CDs but the machine is externally hosted so that's not an (easy) option, although maybe that could be achieved.
Not suggesting that you do this, but if you can get/manufacture ISO images of the old update disks, you could mount the ISO files as a fake cd drive and run the update from said fake drive. Mounting the ISO is as simple as right clicking on in a file manager and chosing Disk Image Mounter (at least it is on my version of Lubuntu).
Steve
On 25 June 2013 10:13, steve-ALUG@hst.me.uk wrote:
Not suggesting that you do this, but if you can get/manufacture ISO images of the old update disks, you could mount the ISO files as a fake cd drive and run the update from said fake drive. Mounting the ISO is as simple as right clicking on in a file manager and chosing Disk Image Mounter (at least it is on my version of Lubuntu).
No GUI here but as long as I could get them onto my filesystem I should be able to mount them. Might be worth a try if I find any problems with the direct method I've used so far.
Thanks for the suggestions.
-- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG
On Tue, Jun 25, 2013 at 09:31:28AM +0100, Mark Rogers wrote:
On 24 June 2013 19:41, Adam Bower adam@thebowery.co.uk wrote:
Indeed, but that relies on the repositories for 10.10 and 11.04 being available, which as they're EOL they're not. So apt-get update just gets me a load of 404 errors, and I can't install update-manager-core.
You can probably use:
http://old-releases.ubuntu.com/releases/
Adam
Update for the benefit of the archives:
I've been unable to find anything broken from my "forced" upgrade so I've this morning carried it out on the live server with (so far!) no ill effects and only about 15 mins upgrade time (for most of which the server was online).
I'm pretty sure that the "correct" route would be to download the old release CD onto the server, loop-mount it, and upgrade from there, repeating through each iteration needed to get things up to date. However, having already done it the "wrong" way and had it work, I didn't see a benefit in re-testing everything the right way.
Hope that's of use to someone one day.
-- Mark Rogers // More Solutions Ltd (Peterborough Office) // 0844 251 1450 Registered in England (0456 0902) @ 13 Clarke Rd, Milton Keynes, MK1 1LG