Update Ubuntu to the latest LTS Release. Ubuntu 16.04 --> 18.04

December 3rd 2019/Share/Edit

Recently acquired a new vps, but the provider didn't support Ubuntu 18.04.

log into your server running an older version and use the following command to update it:

apt update && apt full-upgrade

After successfully upgrading, issue the next command which will run you through upgrading to the latest Ubuntu release. Upgrades can have hickups so make sure you understand the risks and have backed up your data.

do-release-upgrade