Prevent specific Mirrors from being used in Kali Linux
1
vote
0
answers
1420
views
I am using the official Kali mirror which is
http.kali.org
. Which redirects to other best mirrors during package installation.
cat /etc/apt/sources.list
# See https://www.kali.org/docs/general-use/kali-linux-sources-list-repositories/
deb http://http.kali.org/kali kali-rolling main contrib non-free
# Additional line for source packages
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
But, the problem is there are some lazy mirrors. Two of them are http://ftp.free.fr/pub/kali and http://archive-4.kali.org/kali . They're super slow but often chosen. They grab in 100-150 kBps where others grab in 1300+ kBps. While installing large packages it takes so long that I need immediately.
I want to never use these two mirrors while installation. Is there any way I can prevent these mirrors from being used when using the official(http.kali.org) mirror?
Asked by Ashraful Alam Shakil
(111 rep)
Jul 10, 2021, 06:42 AM