When you have backed up your data and ready to upgrade, from current Ubuntu LTS version (e.g. 16.04) to next (e.g. 18.04), following could be useful:
Find the current version of Ubuntu using:
lsb_release -aFollowing commands make sure that you have update manager installed, your software sources are up-to-date and your current OS is updated to the newest version:
sudo apt-get install update-manager-coresudo apt-get updatesudo do-release-upgradeTo get the development version, using -d switch, like so:
sudo do-release-upgrade -d