认证升级失败。网络或服务器可能有问题

时间:2020-06-15 12:13:48

标签: ubuntu-18.04 ubuntu-20.04

从ubuntu 18升级到ubuntu 20时遇到错误

Checking for a new Ubuntu release Get:1 Upgrade tool signature [1,554 B]
Get:2 Upgrade tool [1,342 kB]
Fetched 1,343 kB in 0s (0 B/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.

仅供参考:我已经尝试过sudo apt-get install --reinstall ubuntu-keyring

1 个答案:

答案 0 :(得分:8)

现在,我可以在替换/etc/apt/sources.list中的以下内容之后升级到ubuntu 20

deb http://in.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse

deb http://in.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse

deb http://in.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse

deb http://in.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse

deb http://archive.canonical.com/ubuntu focal partner
deb-src http://archive.canonical.com/ubuntu focal partner