VirutalBox:適切なダウンロード/ハッシュ問題(APTハッシュ合計の不一致)

VirutalBox:適切なダウンロード/ハッシュ問題(APTハッシュ合計の不一致)

リポジトリからaptを使用してdockerをインストールしようとしていますhttps://download.docker.com/linux/debian/

残念ながら、常にハッシュの不一致警告でインストールが失敗します。この投稿で提案したすべてを試しました。https://askubuntu.com/questions/41605/trouble-downloading-packages-list-due-to-a-hash-sum-mismatch-error成功しませんでした。

問題は、次の誤ったハッシュを比較するときです。

Fetched 21.4 MB in 17s (1,290 kB/s)                                                                                          
E: Failed to fetch https://download.docker.com/linux/debian/dists/buster/pool/stable/amd64/containerd.io_1.2.13-2_amd64.deb  Hash Sum mismatch
   Hashes of expected file:
    - SHA512:e0432c524abf9d915d42eab87c0a6cf4bd589cf2f250652253f98099c7961196f59ea0eb3f5683b05eafd969254e614739dc5681da0573b09a2eab64ab4efcfd
    - SHA256:71209f4a958d94639cba81ba3469d0aa9eff3da484106580959f5cf1fd116666
    - SHA1:08fd3a4a4e82a1c0452c6bbd5803b19315c7e968 [weak]
    - MD5Sum:2ed3788e04a8a8787ea83b8b3a00152f [weak]
    - Filesize:21404482 [weak]
   Hashes of received file:
    - SHA512:24c80b4371056e0b7c34a7e9abde3ee62ecfb8ee5dbbb8db4a48104b16574749588ca00f71bc4d7c4fe148a9f706e86a9a2b4ac1f5f7955bfb316950f093de49
    - SHA256:81753f427efcc308215d8a604e020743ab86ff2c45d67d86f35291d14550e203
    - SHA1:316d0bbe37b28c9da64bfa263e2b31a3bbe7199e [weak]
    - MD5Sum:8dacbbff65f077d567ab1bff2cc2ad4b [weak]
    - Filesize:21404482 [weak]
   Last modification reported: Fri, 15 May 2020 03:23:56 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

出力はmd5sum containerd.io_1.2.13-2_amd64.deb(手動でダウンロードしたファイルから)https://download.docker.com/linux/debian/dists/buster/pool/stable/amd64/containerd.io_1.2.13-2_amd64.deb)

私はmd5ハッシュを得ましたが2ed3788e04a8a8787ea83b8b3a00152f containerd.io_1.2.13-2_amd64.deb、これはaptが期待するものとまったく一致します。

だから私の唯一の推測は、aptが間違ったものをダウンロードしたか、間違った方法でハッシュを実行したことです。これは私に奇妙に聞こえ、これを見つけるのに何の助けも見つけることができません。

これは私のものです。sources.list

$ cat /etc/apt/sources.list
# 

# deb cdrom:[Official Debian GNU/Linux Live 10.4.0 xfce 2020-05-09T10:59]/ buster main

# deb cdrom:[Official Debian GNU/Linux Live 10.4.0 xfce 2020-05-09T10:59]/ buster main

deb http://ftp.tu-clausthal.de/debian/ buster main
deb-src http://ftp.tu-clausthal.de/debian/ buster main

deb http://security.debian.org/debian-security buster/updates main
deb-src http://security.debian.org/debian-security buster/updates main

# buster-updates, previously known as 'volatile'
deb http://ftp.tu-clausthal.de/debian/ buster-updates main
deb-src http://ftp.tu-clausthal.de/debian/ buster-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
deb [arch=amd64] https://download.docker.com/linux/debian buster stable

Debian は仮想マシンで実行されます。ホストシステムはWindows 10です。

どんなアドバイスもありがとうございます!

ベストアンサー1

言及してくれた@muruに感謝しますこの投稿、これは実際にはWindows Hyper-VとVirtualBoxの問題です。 Hyper-V アクセラレーションを無効にすると問題が解決しました。

おすすめ記事