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.
운영체제는 칼리리눅스 2020.3 버전입니다. 방금 virtualbox에 OS를 설치했는데 apt를 사용하여 패키지를 설치하면 작동하지 않고 "패키지를 찾을 수 없습니다"라는 메시지가 나타납니다. 그래서 apt update를 사용해 보았지만 결과는 위와 같습니다. apt를 다시 호출하도록 도와주실 수 있나요?
답변1
이것은 나에게 효과적입니다.sudo service ntp restart