[aklug] Re: Upgrading Ubuntu server

From: Kevin Miller <atftb2@alaska.net>
Date: Wed Nov 28 2012 - 19:24:20 AKST

On 11/28/2012 06:56 PM, Christopher Howard wrote:
> Hey guys, for quite a while now I've been running my postfix / courier
> e-mail server on one of those cheap openvz vms from alienlayer. For the
> first time, it occurred to me to check what release they installed, and
> it turns out they were /not/ using an LTS release. Evidently Natty is
> expired, which would explain why there hasn't been any new security
> updates for the last two months. :)
>
> So now I want to upgrade to 12.04 LTS, purely for the sake of getting
> the security updates back, and getting landed on an LTS version. I've
> never done a dist-upgrade before on an Ubuntu box, so I was wondering if
> the Ubuntu vets had any last minute tips / words of warnings for me
> before I took the plunge. (Aside from the customary "back up your
> data".) The Ubuntu site simply says to use the "do-release-upgrade"
> command and follow instructions, but doesn't give any info about what
> that process will be like, or if I'll get to pick the specific version I
> want to upgrade to.
>
I new to (K)ubuntu myself - a refugee from openSUSE - but also use
Debian at work. I presume it follows a similar scheme. If you want to
go to a specific release, change /etc/apt/sources.list to point to the
release you want. For instance, here's the first couple lines in mine:

deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

That will restrict the update/upgrade to precise (12.04). If you put in
stable it would pull the latest stable version which isn't what you
want. At least that's how it worked when I was upgrading my debian
system in the past. Of course, I was pointing to Etch at the time, not
an ubuntu release. Theory holds though.

Be sure to read any release notes before hand. Between Lenny and what
came before it there was a point in the process where you had to reboot
in the middle of the process or you wouldn't be able to boot afterwards.
  Something to do with udev and dynamic drive mapping or something I
think - been too long to remember the details.

Best of luck...

...Kevin

-- 
Kevin Miller - http://www.alaska.net/~atftb
Juneau, Alaska
In a recent survey, 7 out of 10 hard drives preferred Linux
Registered Linux User No: 307357, http://linuxcounter.net
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Nov 28 19:24:28 2012

This archive was generated by hypermail 2.1.8 : Wed Nov 28 2012 - 19:24:28 AKST