-4

This question already has an answer here:

This is exact content from my sources.list:

# 
# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free
#deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160830-11:29]/ kali-rolling contrib main non-free

I couldn't install the Synaptic package manager and was told to modify sources.list.

I googled a lot and added some repos into it and ran update and upgrade command only to see Kali crash... I had to recover it.

Please mention the exact content that should be there to ensure that Kali Linux works.

marked as duplicate by Rui F Ribeiro, Isaac, Thomas, telcoM, schily Aug 26 '18 at 14:23

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • Did you find this site during your online investigation? – Thomas Jun 12 '17 at 7:09
7

The Kali web site has quite good documentation, including the answer to your question:

deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free

You should also read their page on Should I use Kali Linux?, in particular

The fact of the matter is, however, that Kali is a Linux distribution specifically geared towards professional penetration testers and security specialists, and given its unique nature, it is NOT a recommended distribution if you’re unfamiliar with Linux or are looking for a general-purpose Linux desktop distribution for development, web design, gaming, etc.

Not the answer you're looking for? Browse other questions tagged or ask your own question.