从Ubuntu 19.10升级到20.04时出现问题

分享于 

2分钟阅读

ubuntu

 

问题:

当我尝试将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?:~$ 



如何修复这个问题?


答案1:

18.04.1到20.04的问题相同,我尝试使用和不使用sudo,但是仍然得到错误,我还尝试了update-manager -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 6s (92.5 kB/s) 


 authenticate 'focal.tar.gz' against 'focal.tar.gz.gpg' 


 Authentication failed


 Authenticating the upgrade failed. There may be a problem with the network or with the server.




答案2:

在运行do-release-upgrade -d之前尝试此命令


sudo apt-get install --reinstall ubuntu-keyring





Ubuntu