Home Linux How To Fix do-release-upgrade: command not found Error In Ubuntu
How To Fix do-release-upgrade: command not found Error In Ubuntu

How To Fix do-release-upgrade: command not found Error In Ubuntu

By sk
449 Views

Ubuntu 20.04 LTS version is out and everyone is probably upgrading their old Ubuntu version to latest Ubuntu 20.04 LTS right now. I already have upgraded my Ubuntu 18.04 LTS desktop to Ubuntu 20.04 LTS. Today, I decided to upgrade my Ubuntu server to 20.04 LTS. When I tried to upgrade the server, I get this error - sudo do-release-upgrade: command not found. If you encountered with the same error, here is a quick solution to fix do-release-upgrade: command not found Error In Ubuntu.

Fix do-release-upgrade: command not found Error In Ubuntu

I ran the following command to upgrade to Ubuntu 20.04 server:

$ sudo do-release-upgrade -d

We use "do-release-upgrade" command to upgrade Ubuntu servers that has no GUI environment.

Sample output:

sudo do-release-upgrade: command not found

To solve "do-release-upgrade: command not found" error in Ubuntu, you need to install "ubuntu-release-upgrader-core" package on your Ubuntu. It provides the "do-release-upgrade" command that allows the users to upgrade to the latest available Ubuntu using Ubuntu Release Upgrader.

To install this package, simply run the following command:

$ sudo apt install ubuntu-release-upgrader-core

After I have installed it, I can able to upgrade Ubuntu 20.04 LTS server without any problems.


Suggested read:


Hope this helps.

Thanks for stopping by!

Help us to help you:

Have a Good day!!

You May Also Like

Leave a Comment

* By using this form you agree with the storage and handling of your data by this website.

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

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More