Can't upgrade Ubuntu Mate 20.10

Havn't been using my old laptop for a new months. I had Ubuntu Mate 20.10 installed on it, now i can't upgrade it to a 21.04. I'm getting this error message when i'm trying to update.

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

** This was likely caused by:**
** * Unofficial software packages not provided by Ubuntu**
**Please use the tool 'ppa-purge' from the ppa-purge **
**package to remove software from a Launchpad PPA and **
try the upgrade again.

This is most likely a transient problem, please try again later

Welcome!

The upgrade script is saying it is likely that you have installed software packaged by someone other than the official Ubuntu repositories. In other words, a ppa. Often this is done to get a newer version than is available in the official repository.

Have you done so?

It is suggesting you install a tool ppa-purge to remove all outside repositories.

You could also see the offending lines in the file /etc/sources.list and comment them out (or remove them) manually.

I think so.
But it worked out anyway, with a few trial and errors. Don't know what i did really, tried the same commands over and over.

sudo apt update
sudo apt update
sudo do-release-upgrade
sudo apt-get install -f
sudo apt-get install update-manager-core

And i changed the server to the mainserver in the Software Updater. Either the change to the mainserver or the partial upgrade was the trick.

Anyway it's 21.04 now.

Thanx anyway.

1 Like