This update has been plagued with issues for me. The GUI gives a similar error, but since the first run I've been using the CLI tool do-release-upgrade
.
The error
When running the tool, things seem to be going fine until suddenly it crashes with the following:
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.
What I've Tried
- I've confirmed I have no broken packages by:
- Running
apt-update && pkcon update
- Running
sudo apt --fix-broken install
- Based on this answer, I've run both
dpkg -l | grep -E "^..r.*"
andsudo apt-get check
, both of which returned no text.
- Running
- I installed ppa-purge, and I began removing every third-party
ppa
I could think of, but so far nothing has changed.
My questions
- How do I find the third-party
ppa
s and packages I have installed? - Do I need to simply remove every third-party package I have installed?
- If so, is there an easy way to do this?
- Is it safe to
ppa-purge
everything listed in the files in/etc/apt/sources.list.d/
? - Would I be better off starting from a fresh install?
Update 1
I ran journalctl -xfe
while running do-release-upgrade
in another terminal, and discovered that packagekitd is reporting many broken packages. This is strange, because I don't think I have any broken packages now. However, from what I understand, my current situation would break while trying to include the new packages for 20.04. I also noticed that many of the "broken" packages were for the i386
architecture. KDE neon only supports 64-bit installs, and I wonder if they didn't expect people to use multiarch... Anyways, I'm going to start by carefully removing as many i386
packages as possible and see if that helps. Here's the full output of journalctl, in case anyone is curious.