18.04 至 20.04 升级失败 -

18.04 至 20.04 升级失败 -

我尝试从 18.04 进行“do-release-upgrade”到 20.04,但升级失败。

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

日志显示:

https://pastebin.com/CFXJ908H (apt.log) https://pastebin.com/EYJGFUU2 (主日志)

对可能出现的问题有什么见解吗?

答案1

对我来说,x11-utils 是个问题。运行以下命令:

sudo apt-get remove x11-utils
sudo do-release-upgrade

你就该完成了。

相关内容