I still can't upgrade from 18.04.x LTS to 20.x.x LTS. Still receiving this error:
Checking for a new Ubuntu release
There is no development version of an LTS available.
To upgrade to the latest non-LTS develoment release
set Prompt=normal in /etc/update-manager/release-upgrades.
after running the following commands:
sudo apt-get update && sudo apt-get dist-upgrade
sudo do-release-upgrade -m desktop
or
pkexec do-release-upgrade -m desktop -f DistUpgradeViewKDE
as mentioned here in the Ubuntu help wiki
Running the following command:
sudo do-release-upgrade -d
returned this error message:
Calculating the changes
Calculating the changes
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.
If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal. If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
I searched for solutions and asked people but until now no one was able to provide a clear answer.
I think that the bug mentioned here by the user the100rabh in the question Upgrade to Kubuntu 20.04 from Kubuntu 18.04 is still active and was not fixed.
Please let me know if there is a solution to this problem.
Thank you.
@kyodake:
I already deleted any ppa entry in the /etc/apt/
so in theory the upgrade should work, but it doesn't.
I looked into /var/log/dist-upgrade/<date>/apt.log
and noticed that apt reported broken packages or held back packages. However, when I checked in Muon Package Manager I didn't find any broken packages or anything else.
Running the following commands returned nothing:
sudo apt-get --fix-broken install
sudo apt-get clean
sudo apt-get install -f
sudo dpkg --configure -a
sudo apt-get update
sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update
Any ideas?
Maybe I should back-up my data and do a clean install. However, I don't think this is a good solution every time when something is going wrong.
Thank you.
I looked into /var/log/dist-upgrade//apt.log and noticed that apt reported broken packages or held back packages. However, when I checked in Muon Package Manager I didn't find any broken packages or anything else. Any ideas ? Maybe I should back-up my data and do a clean install. However, I don't think this is a good solution every time when something is going wrong. Thank you.
– Thor ASGARD Sep 02 '20 at 08:10sudo apt-get --fix-broken install sudo apt-get clean sudo apt-get install -f sudo dpkg --configure -a sudo apt-get update sudo rm /var/lib/apt/lists/* -vf sudo apt-get update sudo apt-get clean sudo apt-get autoclean sudo apt-get autoremove sudo dpkg --configure -a sudo apt-get update
– Thor ASGARD Sep 02 '20 at 08:12sudo apt-get purge python2* && sudo apt-get purge libpython2*
before runningdo-release-upgrade
. This is probably unrelated to your issue but I thought it may be useful for anyone reading this who has a similar issue trying to upgrade – Steve Mapes Jan 29 '21 at 16:19