Skip to content

[Solved] Please install all available updates for your release before upgrading

Last Updated on 2021-07-26 by Clay

Today, when I upgraded an old Ubuntu device from 16.04 to 18.04, I had a problem that prevented the upgrade smoothly.

Checking for a new Ubuntu release Please install all available updates for your release before upgrading

In order to upgrade more smoothly, I checked some online information and recorded solution below in case I forget it. Now I am used Ubuntu 18.04 on the main computer, and I find it very troublesome just because the position of the close window button is different, hahaha.


Solution

First, we need to update our current system.

sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get dist-upgrade

After performing the above actions, we can proceed to the next step.

sudo do-release-upgrade

But this time usually reminds you that you need to reboot, so let’s reboot.

sudo reboot

Upgrade after booting:

sudo do-release-upgrade

At this time, you usually need to wait patiently for a while, and then the system will automatically start updating.


References

Tags:

8 thoughts on “[Solved] Please install all available updates for your release before upgrading”

  1. Jonecir – Joinville, Brazil – Full-Stack Developer

    Hi, I’m still getting the following message:
    Checking for a new Ubuntu release
    Please install all available updates for your release before upgrading.

  2. ccs96307

    Sorry to reply late.
    Which version are you using?
    The upgrade in my article is mainly from 16.04 to 18.04.
    I heard that 20.04 will have different problems, and maybe other commands are needed.

  3. Distributor ID: Ubuntu
    Description: Ubuntu 16.04.7 LTS
    Release: 16.04
    Codename: xenial

    I am still getting that same error “Checking for a new Ubuntu release
    Please install all available updates for your release before upgrading.”

    1. ccs96307

      I am so sorry for not responding to you.
      I hope you had solved this problem.
      If not, I’m not sure what is the best solution.
      Recommend to go to stackoverflow to query.

  4. Thanks for the solution . The drill worked. The machine started after the reboot. the last step “sudo do release upgrade” was skipped.

Leave a ReplyCancel reply

Exit mobile version