Easily upgrade Ubuntu from commandline using update-manager-core

by c

Used to upgrade from Hardy Heron to Intrepid Ibex. Super easy.

  1. # sudo apt-get install update-manager-core
  2. # sudo vi /etc/update-manager/release-upgrades
  3. change Prompt=lts to Prompt=normal
  4. # sudo apt-get update
  5. # sudo do-release-upgrade

    Checking for a new ubuntu release
    Done Upgrade tool signature
    Done Upgrade tool
    Done downloading
    extracting ‘intrepid.tar.gz’
    authenticate ‘intrepid.tar.gz’ against ‘intrepid.tar.gz.gpg’

    Do you want to start the upgrade?

    11 packages are going to be removed. 56 new packages are going to be
    installed. 493 packages are going to be upgraded.

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

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

    Continue [yN]  Details [d]