Posted: . At: 11:40 AM. This was 6 years ago. Post ID: 12091
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


Best way to upgrade your Ubuntu distro to a new version.


I recently had to upgrade an Ubuntu 14.04 system to the latest release. I ran the command below and my system was upgraded to Ubuntu 16.04 LTS.

sudo do-release-upgrade

This was run over SSH, but I did not lose my connection, and it was quite a painless experience. This is probably better than running sudo apt dist-upgrade. That also requires the editing of the /etc/apt/sources.list. But that can cause problems if there is an error. The sudo do-release-upgrade command is a better way to handle such a situation. Now I have a working Ubuntu 16.04 system with a new kernel. I just had to run sudo apt update and sudo apt upgrade to finish installing the flash plugin and a couple of other packages, and that was it.

Therefore, this is the best way to update a system, if you do not wish to re-install over the existing installation.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.