Lubuntu 20.04 升级时出现问题,原因明显为“哈希值不匹配”

Lubuntu 20.04 升级时出现问题,原因明显为“哈希值不匹配”

我今天安装了 Lubuntu 20.04(我对 iso 映像进行了校验,完全没问题),当我开始更新和升级东西时,我发现很多东西都没有升级。最初它显示我的互联网有问题,但我的互联网没问题。之后,我运行了 sudo apt-get update、sudo apt update、sudo apt-get upgrade 和 sudo apt upgrade(我从互联网上学到了这些命令,除了它们可以升级和更新东西之外,我对它们了解不多)。

在 sudo apt-get upgrade 之前,一切都很好,但是当我运行 sudo apt upgrade 时,超过 400MB 的升级没有发生。底部有一条错误消息,建议我运行 sudo apt upgrade --fix-missing。这很有帮助,大多数东西都升级了。但仍然有一些东西根本没有升级。我多次运行该命令并重新启动了我的笔记本电脑,但仍然没有任何反应。它显示的内容如下:

Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-42 all 5.4.0-42.46 [11.0 MB]
Err:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 linux-headers-5.4.0-42 all 5.4.0-42.46
  Hash Sum mismatch
  Hashes of expected file:
   - SHA256:7a21ab1e62daf2176f35c91670c81811afbc93fa8814756f92268f2023868c49
   - SHA1:3771f59745f82f83adc6bdf5bc048dc163c56d3a [weak]
   - MD5Sum:4969040e94112be4f8ba30c14f773cca [weak]
   - Filesize:10951448 [weak]
  Hashes of received file:
   - SHA256:f66f96511478efca3ee58a7f8545ccc511ae8d79d23e03d64cc40b4a5ce196fd
   - SHA1:e2bf94476aeba917c2741c5367e94ea09cb68056 [weak]
   - MD5Sum:2fc3eb37eef5f97a1e4998a5f10dfc06 [weak]
   - Filesize:10951448 [weak]
  Last modification reported: Fri, 10 Jul 2020 11:10:04 +0000
Fetched 11.0 MB in 2s (5,297 kB/s)                
E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/l/linux/linux-headers-5.4.0-42_5.4.0-42.46_all.deb  Hash Sum mismatch
   Hashes of expected file:
    - SHA256:7a21ab1e62daf2176f35c91670c81811afbc93fa8814756f92268f2023868c49
    - SHA1:3771f59745f82f83adc6bdf5bc048dc163c56d3a [weak]
    - MD5Sum:4969040e94112be4f8ba30c14f773cca [weak]
    - Filesize:10951448 [weak]
   Hashes of received file:
    - SHA256:f66f96511478efca3ee58a7f8545ccc511ae8d79d23e03d64cc40b4a5ce196fd
    - SHA1:e2bf94476aeba917c2741c5367e94ea09cb68056 [weak]
    - MD5Sum:2fc3eb37eef5f97a1e4998a5f10dfc06 [weak]
    - Filesize:10951448 [weak]
   Last modification reported: Fri, 10 Jul 2020 11:10:04 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

每次我打开笔记本电脑,都会收到一条升级消息,但每次都升级失败。

相关内容