The single most common causes of a broken Kali Linux installation are following unofficial advice, and particularly arbitrarily populating the system’s sources.list file with unofficial repositories. The following post aims to clarify what repositories should exist in sources.list, and when they should be used.
Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL.
On a standard, clean install of Kali Linux, you should have the following two entries present in/etc/apt/sources.list:
deb http://http.kali.org/kali kali main non-free contrib deb http://security.kali.org/kali-security kali/updates main contrib non-free
You can find a list of official Kali Linux mirrors here.
In case you require source packages, you might also want to add the following repositories as well:
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
Bleeding Edge repositories
If you have a need for bleeding edge repositories — odds are good that you probably don’t unless you’re an active member of the Kali Linux development team — you can add the following entry. Do not add this repo “for the heck of it” — it’s called “bleeding edge” for a reason. Packages in this repository are NOT manually maintained (they are auto-generated), and are low priority in general.
deb http://repo.kali.org/kali kali-bleeding-edge main #deb-src http://repo.kali.org/kali kali-bleeding-edge main