
┌──(kali㉿kali)-[~]
└─$ sudo apt-get update
[sudo] password for kali:
Get:1 http://deb.i2p2.no unstable InRelease [19.7 kB]
Ign:2 http://http.kali.org/kali kali-rolling InRelease
Ign:2 http://http.kali.org/kali kali-rolling InRelease
Ign:2 http://http.kali.org/kali kali-rolling InRelease
Err:2 http://http.kali.org/kali kali-rolling InRelease
Could not connect to http.kali.org:80 (192.99.200.113), connection timed out
Fetched 19.7 kB in 37s (527 B/s)
Reading package lists... Done
W: http://deb.i2p2.no/dists/unstable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: Failed to fetch http://http.kali.org/kali/dists/kali-rolling/InRelease Could not connect to http.kali.org:80 (192.99.200.113), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
답변1
나는 같은 오류를 겪고 있었고 /etc/apt/sources.list에 있는 기본 저장소를 교체하려고 시도했습니다. VM에서 kali를 실행하고 심지어 kali를 여러 번 다시 설치하려고 시도했습니다... 많은 좌절감과 연구 이것이 마침내 나에게 도움이 된 솔루션입니다 ...
1단계. 터미널을 열고 다음을 입력합니다.... sudo nano /etc/apt/sources.list
2단계. 내부에 있는 모든 항목을 삭제합니다. (이 파일을 조작하면 kali가 제대로 작동하지 않을 수 있으므로 이 파일을 조작하지 말라고 읽었을 수도 있습니다. 하지만 어쨌든 무엇을 잃어야 할까요?)
3단계. 미러 저장소를 넣으세요...
deb http://kali.cs.nctu.edu.tw/kali kali-rolling main non-free contrib
#deb http://http.kali.org/kali kali-rolling main contrib non-free
#deb-src http://http.kali.org/kali kali-rolling main contrib non-free
4단계. 저장하고 sudo apt update를 입력하세요.
도움이 되었기를 바랍니다