Skip to content

Instantly share code, notes, and snippets.

@pich4ya
Created February 12, 2019 18:11
Show Gist options
  • Save pich4ya/8fcc5f7f2eb3a0102808d810e32cb015 to your computer and use it in GitHub Desktop.
Save pich4ya/8fcc5f7f2eb3a0102808d810e32cb015 to your computer and use it in GitHub Desktop.
How to Fix Broken Kali Repo in Thailand ISPs
Problem:
$ apt -y upgrade
..
E: Failed to fetch http://http.kali.org/kali/pool/main/a/apt/apt-utils_1.8.0~alpha3_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/s/sysvinit/sysvinit-utils_2.93-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/s/systemd/systemd-sysv_240-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/i/iproute2/iproute2_4.19.0-2_amd64.deb 404 Not Found [IP: 192.99.200.113 80]
E: Failed to fetch http://http.kali.org/kali/pool/main/c/chardet/python-chardet_3.0.4-2_all.deb 404 Not Found [IP: 192.99.200.113 80]
Solution:
Change the default apt repo. to others.
root@kali:/etc# cat /etc/apt/sources.list
#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
#deb http://repo.kali.org/kali kali-rolling main non-free contrib
#deb-src http://repo.kali.org/kali kali-rolling main non-free contrib
deb http://mirror1.ku.ac.th/kali/ kali-rolling main contrib non-free
deb-src http://mirror1.ku.ac.th/kali/ kali-rolling main contrib non-free
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment