無法將 ubuntu 從 20.04 LTS 更新到 22.04 LTS

無法將 ubuntu 從 20.04 LTS 更新到 22.04 LTS

所以我嘗試將我的 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日誌文件太多,如果需要的話我會貼在這裡。

所以請幫我將我的 ubuntu LTS 升級到 22.04 版本。

相關內容