*** This bug is a duplicate of bug 1889250 *** https://bugs.launchpad.net/bugs/1889250
Reviewing the files from your upgrade attempt, you have installed nodejs from the nodesource PPA. This version of nodejs is greater than the one in the official archive and is keeping some packages installed which then prevents the upgrade from being calculated. Please remove nodejs along with any other packages from that archive and disable the archive. After that you can try upgrading again and if it still fails open a new bug report. Thanks and good luck! ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Invalid ** Tags added: nodesource-nodejs ** This bug has been marked a duplicate of bug 1889250 Unable to calculate the upgrade to 20.04 due to nodejs from nodesource -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2084217 Title: I was trying to update my software from ubuntu 20.04 to 22.04.5 and faced this error: 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'. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2084217/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs