Solve – please install all available updates for your release before upgrading

In this tutorial, i am going to show you the solution of please install all available updates for your release before upgrading while upgrading the ubuntu system.

Solve – please install all available updates for your release before upgrading

Error while trying to upgrade from Ubuntu 18.04 to 18.10, 20.04 and 22.04: “Please install all available updates for your release before upgrading.” So, There is a two simple solutions for please install all available updates for your release before upgrading ubuntu system: is as follows:

  • Solution 1 – Disable all third-party repositories
  • Solution 2 – Clean all the Ubuntu upgrade

Solution 1 – Disable all third-party repositories

Start terminal and run the following command to disable all third-party repositories in linux ubuntu system:

cd /etc/apt/sources.list.d 
for i in *.list; do mv ${i} ${i}.disabled; done 

Once the above command has been executed; then execute the following command on command line to clean the Apt update state cache data:

apt clean
apt autoclean 

Now, again start the Ubuntu upgrade process:

sudo do-release-upgrade 

Solution 2 – Clean all the Ubuntu upgrade

Run the following command on terminal to clean all the Ubuntu upgrade state cache:

apt clean 
apt autoclean 

Then, execute the following commands on command line one by one.

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

Finally, run the Ubuntu upgrade process again. Hopefully, this will resolve the issue:

sudo do-release-upgrade 

Conclusion

In this tutorial, i have shown to you the solution of please install all available updates for your release before upgrading while upgrading the ubuntu system.

Recommended Linux Ubuntu Tutorials

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *