Error message trying to upgrade from 18.04 to 20.04

Asked by Jonecir Souza on 2020-10-26

Hello, I'm trying to upgrade my Ubuntu 18.04 LTS to 20.04. No matter what I try, I always get the following error message:

"Please install all available updates for your release before upgrading"

I tried both ways: through the command line and Software Updater.

Any help would be very much appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jonecir Souza
Solved:
2020-10-27
Last query:
2020-10-27
Last reply:
2020-10-26

Run:

sudo apt update
sudo apt upgrade
sudo apt dist-upgrade
sudo apt clean

Then try again. The system told you what to do.

Jonecir Souza (jonecir) said : #2

Thank you for your help.

However, I figured it out that a package was causing the problem. So I run the following commands and I could upgrade my system.

sudo apt remove libavcodec-extra
sudo do-release-upgrade