Ubuntu Hardy Heron Dist-Upgrade via Command Line

You can do Dist-Upgrades not only with the GUI update-manager but also via do-release-update. The tool tells me what awaits me (I have 6000 kB/s):

66 packages are going to be removed. 193 new packages are going to be
installed. 1269 packages are going to be upgraded.

You have to download a total of 1005M. This download will take about
23 minutes with your connection.

Fetching and installing the upgrade can take several hours. Once the
download has finished, the process cannot be cancelled.

So, let’s see.

Btw do-release-update by itself notices if you are connected via ssh and asks if you want to proceed. If you do you’ll get a second sshd on Port 9904. Using screen it shouldn’t be a problem for me but very nice of the tool to ask 🙂


  1. oguz ersoz said,

    Thursday, 23rd Feb 2012 at 03:48

    Thank you friend i done dist-upgrade to my dedicated server successfuly via ssh …

    apt-file search do-release-upgrade
    find out related package
    apt-get install “related package”
    than use commant

  2. ayenack said,

    Thursday, 5th Aug 2010 at 14:05

    Shouldn’t that be….

    sudo do-release-upgrade

  3. Sunday, 26th Apr 2009 at 01:05

    […] instructions were shamelessly copied from sysblogd and lair.moria.org but were tested for the intrepid to jaunty […]

  4. Thursday, 15th May 2008 at 03:42

    […] later use. Deriving it straight from there (without testing, since unfortunatelly my last machine has been hardyed just a couple of hours […]

Leave a Reply to Upgrading Ubuntu from the command line Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: