It’s time for Ubuntu upgrades!! With the most biggest LTS release just round the corner, fans and critics are eager to upgrade. Below are the steps to upgrade to the latest Ubuntu LTS development version.
1. Upgrade from Ubuntu 15.10
Upgrading from the most recent stable release is straightforward. As always, my suggestion would be to
- remove all proprietary video drivers from AMD/Nvidia/Intel
- to back up all your documents and all other data that you consider important
Before upgrading, update the system to the latest packages via update manager or command line.
sudo apt-get update && sudo apt-get upgrade -y
Once the update is complete, run the following command with elevated privileges
sudo update-manager -d
2. Upgrade from Ubuntu 14.10/15.04
sudo sed -i 's/wily/xenial/g' /etc/apt/sources.list
If you have third party ppas installed, you need to disable them. To do that run the following commands before you run the update command
sudo rename 's/(.*)/$1.bak/' *
sudo find . -type f -name "*" -print | xargs sed -i 's/wily/xenial/g'
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install --reinstall ubuntu-desktop
sudo update-initramfs -u
For 15.04, the codename is vivid verbet, so replace wily with vivid in the steps above.
3. Upgrade from previous LTS release
Follow the same steps as in section 1. You should be able to upgrade to Ubuntu 16.04 LTS from 14.04LTS .