当我尝试将我的 Ubuntu 19.10 升级到 20.04 时,我遇到了这个问题。
[tor apr 23 18:45:46] Jonathan@Whats next?:~$ sudo apt install update-manager-core
Reading package lists... Done
Building dependency tree
Reading state information... Done
update-manager-core is already the newest version (1:19.04.8).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[tor apr 23 18:46:09] Jonathan@Whats next?:~$ do-release-upgrade -d
Checking for a new Ubuntu release
Get:1 Upgrade tool signature [1 554 B]
Get:2 Upgrade tool [1 344 kB]
Fetched 1 346 kB in 0s (0 B/s)
authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg'
extracting 'focal.tar.gz'
Reading cache
Segmentation fault
[tor apr 23 18:46:50] Jonathan@Whats next?:~$
我怎样才能解决这个问题?
在运行之前尝试此命令
do-release-upgrade -d
我认为您需要使用 'sudo' 运行 do-release-upgrade -d
18.04.1 到 20.04 也有同样的问题。我尝试过使用和不使用
sudo
,但仍然出现错误。我也试过了update-manager -d
,没有用。试试
sudo apt install -f
。这可以解决一些问题。