kali@kali:~$ sudo apt update
Get:1 http://kali.download/kali kali-rolling InRelease [30.5 kB]
Get:2 http://kali.download/kali kali-rolling/main amd64 Packages [16.6 MB]
Err:2 http://kali.download/kali kali-rolling/main amd64 Packages
Hash Sum mismatch
Hashes of expected file:
- Filesize:16634563 [weak]
- SHA256:fbb326970ca4e9cdb4fef1aa9a8be44356dc8d9fdab37069e9a19e65ee3ae952
- SHA1:cea7b3e7681b2f1a8070ea788ad7779e5f178fb3 [weak]
- MD5Sum:e6fc65db75d4b81ea72b4f35e18d3b18 [weak]
Hashes of received file:
- SHA256:a2b234d6a45e017ca97ce9d720a0ca4f79fe6b4956692bef2864e75d845291bc
- SHA1:e7e682ffe978727c54f671b2424df435b48c26ca [weak]
- MD5Sum:e6fc65db75d4b81ea72b4f35e18d3b18 [weak]
- Filesize:16634563 [weak]
Last modification reported: Wed, 14 Oct 2020 12:07:19 +0000
Release file created at: Wed, 14 Oct 2020 12:08:13 +0000
Get:3 http://kali.download/kali kali-rolling/contrib amd64 Packages [100 kB]
Get:3 http://kali.download/kali kali-rolling/contrib amd64 Packages [100 kB]
Fetched 16.8 MB in 14s (1,219 kB/s)
Reading package lists... Done
E: Failed to fetch http://kali.download/kali/dists/kali-rolling/main/binary-amd64/Packages.gz Hash Sum mismatch
Hashes of expected file:
- Filesize:16634563 [weak]
- SHA256:fbb326970ca4e9cdb4fef1aa9a8be44356dc8d9fdab37069e9a19e65ee3ae952
- SHA1:cea7b3e7681b2f1a8070ea788ad7779e5f178fb3 [weak]
- MD5Sum:e6fc65db75d4b81ea72b4f35e18d3b18 [weak]
Hashes of received file:
- SHA256:a2b234d6a45e017ca97ce9d720a0ca4f79fe6b4956692bef2864e75d845291bc
- SHA1:e7e682ffe978727c54f671b2424df435b48c26ca [weak]
- MD5Sum:e6fc65db75d4b81ea72b4f35e18d3b18 [weak]
- Filesize:16634563 [weak]
Last modification reported: Wed, 14 Oct 2020 12:07:19 +0000
Release file created at: Wed, 14 Oct 2020 12:08:13 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
オペレーティングシステムはKalinux 2020.3バージョンです。 VirtualboxにOSをインストールしたところ、aptを使ってパッケージをインストールすると、うまくいかず「パッケージが見つかりません」というメッセージが表示されます。だから私はapt updateを使ってみましたが、結果は上記と同じです。 aptを再度呼び出すのに役立ちますか?
答え1
これは私にとって効果的です。sudo service ntp restart