我尝试使用命令行上的命令将我的 Ubuntu 18.04 更新到 20.04 sudo do-release-upgrade -d
,它运行了一段时间,下载了一些存储库。过了一会儿,它显示了以下错误:
Fetching
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1build1 [320 kB]
Err http://archive.ubuntu.com/ubuntu focal/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1build1
Hash Sum mismatch
Hashes of expected file:
- SHA256:02d4e0d785142836422d6ad32c7db158008bdc2b2975fd971e55476645b2ccb8
- SHA1:18b39e848e301bb2f8ccc36c602426fd73ca9d64 [weak]
- MD5Sum:8af41e9004d000b38f5b7e3f54117a61 [weak]
- Filesize:319596 [weak]
Hashes of received file:
- SHA256:df3a205735aa739038c3cc258ad97b45b50db29ad0efea9d03a6a6702f8cafda
- SHA1:055d12a01dc616d56258cf3fb0f6e8d2af693d12 [weak]
- MD5Sum:1e9b487c5b050c7818cdf9bdb65c95dc [weak]
- Filesize:319596 [weak]
Last modification reported: Fri, 18 Oct 2019 21:47:31 +0000
Fetched 320 kB in 0s (0 B/s)
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1build1 [320 kB]
Err http://archive.ubuntu.com/ubuntu focal/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1build1
Hash Sum mismatch
Hashes of expected file:
- SHA256:02d4e0d785142836422d6ad32c7db158008bdc2b2975fd971e55476645b2ccb8
- SHA1:18b39e848e301bb2f8ccc36c602426fd73ca9d64 [weak]
- MD5Sum:8af41e9004d000b38f5b7e3f54117a61 [weak]
- Filesize:319596 [weak]
Hashes of received file:
- SHA256:df3a205735aa739038c3cc258ad97b45b50db29ad0efea9d03a6a6702f8cafda
- SHA1:055d12a01dc616d56258cf3fb0f6e8d2af693d12 [weak]
- MD5Sum:1e9b487c5b050c7818cdf9bdb65c95dc [weak]
- Filesize:319596 [weak]
Last modification reported: Fri, 18 Oct 2019 21:47:31 +0000
Fetched 320 kB in 0s (0 B/s)
Get:1 http://archive.ubuntu.com/ubuntu focal/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1build1 [320 kB]
Err http://archive.ubuntu.com/ubuntu focal/main amd64 libxml-libxml-perl amd64 2.0134+dfsg-1build1
Hash Sum mismatch
Hashes of expected file:
- SHA256:02d4e0d785142836422d6ad32c7db158008bdc2b2975fd971e55476645b2ccb8
- SHA1:18b39e848e301bb2f8ccc36c602426fd73ca9d64 [weak]
- MD5Sum:8af41e9004d000b38f5b7e3f54117a61 [weak]
- Filesize:319596 [weak]
Hashes of received file:
- SHA256:df3a205735aa739038c3cc258ad97b45b50db29ad0efea9d03a6a6702f8cafda
- SHA1:055d12a01dc616d56258cf3fb0f6e8d2af693d12 [weak]
- MD5Sum:1e9b487c5b050c7818cdf9bdb65c95dc [weak]
- Filesize:319596 [weak]
Last modification reported: Fri, 18 Oct 2019 21:47:31 +0000
Fetched 320 kB in 0s (0 B/s)
Could not download the upgrades
The upgrade has aborted. Please check your Internet connection or
installation media and try again. All files downloaded so far have
been kept.
Failed to fetch
http://archive.ubuntu.com/ubuntu/pool/main/libx/libxml-libxml-perl/libxml-libxml-perl_2.0134+dfsg-1build1_amd64.deb
Hash Sum mismatch
Hashes of expected file:
-
SHA256:02d4e0d785142836422d6ad32c7db158008bdc2b2975fd971e55476645b2ccb8
- SHA1:18b39e848e301bb2f8ccc36c602426fd73ca9d64 [weak]
- MD5Sum:8af41e9004d000b38f5b7e3f54117a61 [weak]
- Filesize:319596 [weak]
Hashes of received file:
-
SHA256:df3a205735aa739038c3cc258ad97b45b50db29ad0efea9d03a6a6702f8cafda
- SHA1:055d12a01dc616d56258cf3fb0f6e8d2af693d12 [weak]
- MD5Sum:1e9b487c5b050c7818cdf9bdb65c95dc [weak]
- Filesize:319596 [weak]
Last modification reported: Fri, 18 Oct 2019 21:47:31 +0000
Restoring original system state
Aborting
Reading package lists... Done
Building dependency tree
Reading state information... Done
我再次尝试了整个过程sudo do-release-upgrade -d
,但仍然显示相同的错误。如何克服此错误以将我的 Ubuntu 18.04 升级到 20.04?
请帮忙!