Posted: . At: 9:31 AM. This was 1 year ago. Post ID: 17628
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.


How to fix the annoying please install updates error when using do-release-upgrade on Ubuntu.


I just had to run sudo do-release-upgrade on Ubuntu and I encountered this error. Even after installing all updates with sudo apt update && sudo apt upgrade, I still got this error. Here is how to fix this.

Run this sequence of commands instead.

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo do-release-upgrade

This fixed the issue, it pulled down a few more updates, and after rebooting the machine, I was able to begin the installation using a spare TTY.

The sudo apt dist-upgrade command was the key, this should help out someone else if you are having the same issue on your machine.


Leave a Comment

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