最近、次のウェブサイトからKali Linux .ovaをダウンロードしました。ここ
私が実行するとsudo apt update
返されます。
Get:1 https://packages.microsoft.com/repos/vscode stable InRelease [3,958 B]
Get:2 https://packages.microsoft.com/repos/vscode stable/main amd64 Packages [177 kB]
Get:3 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease [30.5 kB]
Get:4 http://kali.cs.nctu.edu.tw/kali kali-rolling/main amd64 Packages [16.5 MB]
Err:4 http://kali.cs.nctu.edu.tw/kali kali-rolling/main amd64 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:16481917 [weak]
- SHA256:e8104c6e141812dc6112dfe9d0c29a37c78fd966aaab11ab62dc805b739ef477
- SHA1:f719fb7dce0d1c7dcfe4bf23425ff0a0c0765093 [weak]
- MD5Sum:5670a40723666e7553acbc5f3413aae2 [weak]
Hashes of received file:
- SHA256:e8104c6e141812dc6112dfe9d0c29a37c78fd966aaab11ab62dc805b739ef477
- SHA1:61b82f2d260b2264a577a73f24c8acfce688c534 [weak]
- MD5Sum:5670a40723666e7553acbc5f3413aae2 [weak]
- Filesize:16481917 [weak]
Last modification reported: Wed, 06 May 2020 06:12:17 +0000
Release file created at: Wed, 06 May 2020 06:13:11 +0000
Get:5 http://kali.cs.nctu.edu.tw/kali kali-rolling/non-free amd64 Packages [195 kB]
Get:6 http://kali.cs.nctu.edu.tw/kali kali-rolling/contrib amd64 Packages [97.6 kB]
Fetched 17.0 MB in 13s (1,327 kB/s)
Reading package lists... Done
E: Failed to fetch http://kali.cs.nctu.edu.tw/kali/dists/kali-rolling/main/binary-amd64/Packages.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:16481917 [weak]
- SHA256:e8104c6e141812dc6112dfe9d0c29a37c78fd966aaab11ab62dc805b739ef477
- SHA1:f719fb7dce0d1c7dcfe4bf23425ff0a0c0765093 [weak]
- MD5Sum:5670a40723666e7553acbc5f3413aae2 [weak]
Hashes of received file:
- SHA256:e8104c6e141812dc6112dfe9d0c29a37c78fd966aaab11ab62dc805b739ef477
- SHA1:61b82f2d260b2264a577a73f24c8acfce688c534 [weak]
- MD5Sum:5670a40723666e7553acbc5f3413aae2 [weak]
- Filesize:16481917 [weak]
Last modification reported: Wed, 06 May 2020 06:12:17 +0000
Release file created at: Wed, 06 May 2020 06:13:11 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
私はやったsudo rm -rf /var/lib/apt/lists
。sudo apt clean
鏡も変わりました。しかし、何も起こりませんでした。
Windows 10 2004(19041.208)でVirtualBoxバージョン6.1.6を使用しています。
答え1
$ sudo bash
# mkdir /etc/gcrypt
# echo all > /etc/gcrypt/hwf.deny
このコマンドを実行して再度更新してください。