因此,我尝试将我的 ubuntu 版本从 20.04 LTS 更新到 22.04 LTS。但问题是它总是遇到以下错误 -
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'.
之前,它说已经禁用了我所有的第三方存储库,所以我相信问题不是来自 PPA,并且我通过取消选中“软件更新和属性”中的所有存储库框来确定这一点。
此后我做了很多寻找,但最终还是没能找到问题的解决方案。
内容主日志文件是:
2022-09-04 16:14:43,969 DEBUG Comparing 5.15.0-41 with
2022-09-04 16:14:43,969 DEBUG Comparing 5.15.0-46 with 5.15.0-41
2022-09-04 16:14:43,969 DEBUG Comparing 5.15.0-47 with 5.15.0-46
2022-09-04 16:14:44,026 INFO installing linux metapackage: linux-generic
2022-09-04 16:14:44,026 DEBUG Installing 'linux-generic' (linux metapackage may have been accidentally uninstalled)
2022-09-04 16:14:44,055 DEBUG Marking 'ubuntu-desktop' for upgrade
2022-09-04 16:14:44,184 WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.)
2022-09-04 16:24:14,085 ERROR Dist-upgrade failed: 'Broken packages after upgrade: evolution-data-server, gnome-control-center, libgirepository-1.0-1, ubuntu-desktop'
2022-09-04 16:24:14,103 DEBUG abort called
2022-09-04 16:24:14,106 DEBUG openCache()
2022-09-04 16:24:15,558 DEBUG Comparing 5.15.0-41 with
2022-09-04 16:24:15,558 DEBUG Comparing 5.15.0-46 with 5.15.0-41
2022-09-04 16:24:15,647 DEBUG /openCache(), new cache size 80150
的内容apt.log文件太多了,如果需要的话我会在这里发布。
所以请帮助我将我的 ubuntu LTS 升级到 22.04 版本。