Q. How do I upgrade my server system from Ubuntu hardy heron version 8.04 to Ubuntu Linux server 8.10 Intrepid Ibex over ssh session?

A. You can do network upgrade for Ubuntu Servers from 8.04 to 8.10 using a shell prompt over remote ssh session as follows:

Advertisement

Ubuntu Server 8.10 Network Upgrade

Login using ssh for remote server or open console for local server

WARNING! These examples are for SERVER edition. For desktop upgrade see this FAQ.

Apply patches

First, make sure your server is up to date with 8.04 version. Type the following two command to apply all upgrades:
$ sudo apt-get update
$ sudo apt-get upgrade

Change release

Open /etc/update-manager/release-upgrades file:
$ sudo bash
# vi /etc/update-manager/release-upgrades

Find line:
Prompt=lts
Change to:
Prompt=normal
Save and close the file. This will set release update from LTS (long support version) to latest 8.10 version.

Ubuntu 8.10 Server Upgrade

Type the following command to upgrade update manager, enter:
$ sudo apt-get install update-manager-core
Above will install / update update-manager-core if it is not already installed. Once installed just update system using the following command. Make sure you have backup of all important data:
$ sudo do-release-upgrade
Now, just follow the on-screen instructions.

🥺 Was this helpful? Please add a comment to show your appreciation or feedback.

nixCrat Tux Pixel Penguin
Hi! 🤠
I'm Vivek Gite, and I write about Linux, macOS, Unix, IT, programming, infosec, and open source. Subscribe to my RSS feed or email newsletter for updates.

9 comments… add one
  • barryp Oct 31, 2008 @ 16:23

    I tried this but on running do-release-upgrade got:

    Checking for a new ubuntu release
    No new release found

    Editing /etc/update-manager/release-upgrades to change Prompt=lts to Prompt=normal allowed do-release-upgrade to offer an update to 8.10

  • 🛡️ Vivek Gite (Author and Admin) nixCraft Oct 31, 2008 @ 16:49

    barryp,

    The faq has been updated. I appreciate your post.

  • nme Nov 3, 2008 @ 13:03

    after

    do-release-upgrade

    i got

    Checking for a new ubuntu release
    No new release found

    which is a bit misleading

    reason – machine had no network access through NAT, what was required nor documented anywhere, instead try:

    http_proxy="http://ip:port" do-release-upgrade

    should work.

  • Eric Nov 5, 2008 @ 17:52

    Thanks!

  • Serg Feb 17, 2009 @ 13:09

    sudo http_proxy=”http://kc.zenit.ru:3128″ do-release-upgrade
    Checking for a new ubuntu release
    No new release found

  • 0x3333 Apr 10, 2009 @ 13:38

    sudo http_proxy=”http://USER:PASS@kc.zenit.ru:3128″ do-release-upgrade

  • nigratruo May 11, 2010 @ 20:59

    Not cool that you peddle the vi editor as a standard to edit text files. Ever watched a newbie use that? Ever heard of software that is INTUITIVELY usable? Vi does not belong as the standard text editor in Ubuntu, not if you don’t want to see former Windows users throw Linux a mile wide and then give it a wide bearth. Vi gives Linux a bad name if you are a beginner. Nobody in their right mind spends days of learning a trivial text editor anymore. Not if you have a LIFE.

  • nigratruo May 11, 2010 @ 21:01

    Nano would be better, even emacs. And now please please please, no DUMB!!! comment that vi is the only editor that will be installed everywhere. The next time I hear this one I am going to beat the person to death for it. And this in the age of GIGA and TERRABYTES. Apt-get install nano… what the heck???

  • frankgobbo Jul 14, 2010 @ 9:25

    vi is by far and away the most widely used editor in any *nix space, and the most powerful and frankly the best.

    nano — why?

Leave a Reply

Your email address will not be published. Required fields are marked *

Use HTML <pre>...</pre> for code samples. Your comment will appear only after approval by the site admin.