How to fix Kali Linux apt-get slow update?


This is a small guide on How to fix Kali Linux apt-get slow update.
Kali is relatively new and got fewer Mirrors than some other distro’s. That means less servers to download from and less servers means more people trying to download from them and using all bandwidth. So when you type in apt-get update, you see a slow download speed for packages. This just means you’re connected to a server that’s really busy. Some users complains that nothing happens or they are not getting any updates at all. Some got different issues like update stuck is header and doesn’t move any further.
To fix this, you need to check a few things:

  1. Check if you have the right repositories is your /etc/apt/sources.list
  2. Remove unwanted or unsupported repositories.
  3. Clean apt-get cache. (apt-get clean)
## Kali Regular repositories
deb http://repo.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## Kali Source repositories
deb-src http://repo.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
Instead of
## Kali Regular repositories
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## Kali Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
This change seems to boost speed as it uses slightly different repo than the usual HTTP servers which are overloaded.
Thanks for reading. Please comment your experience to make this guide better. If you’ve found this useful, share and follow us on Facebook.

anonyme

Tutorials, Networking, Security, Virtualisation, Microsoft, Linux, Android, iOS and Apple, Tech Reviews, Free Ebooks and More!.

sharethis

 

Copyright @ 2024 iExplo1t | Developed by AuresExpress.com