Jun 7, 2017

How to upgrade Ubuntu to the latest version

Upgrading Ubuntu

  1. Open the Dash
  2. Type Software in the search field
  3. Click Software & Updates
  4. Select the 3rd Tab called Updates
  5. Select For any new version from the Notify me of a new Ubuntu version drop-down
  6. Close the Software & Updates tool
  7. Open the Dash
  8. Type update-manager
  9. When the Update Manager opens, it should inform you that a new release is available
  10. Click Upgrade
  11. Follow the on-screen instructions

To do it from command line:

Edit /etc/update-manager/release-upgrades
change

Prompt=lts

to:

Prompt=normal

(sudo apt-get install update-manager-core)

Next, run:

sudo do-release-upgrade

The following command upgrades to the new stable release without prompts:
do-release-upgrade -f DistUpgradeViewNonInteractive
The following command upgrades to the current development release without prompts:
do-release-upgrade -d -f DistUpgradeViewNonInteractive
It just performs the default action when a question arises. It also times out any scripts if they hang for too long.
You might have to do use dpkg-reconfigure afterwards if you are unhappy with the configuration of certain packages