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.
We need to edit your sources.list file found in /etc/apt/sources.list
[email protected]:~# vi /etc/apt/sources.list (OR)
[email protected]:~# leafpad /etc/apt/sources.list (OR)
[email protected]:~# cat /etc/apt/sources.list
Now add official Repo’s to kali:
kali-rolling is our current active repository since the release of Kali 2016.1. Kali Rolling users are expected to have the following entries in their sources.list:
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
The kali-rolling Repository
In contrast to kali-dev, kali-rolling is expected to be of better quality because it’s managed by a tool that ensures installability of all the packages it contains. The tool picks updated packages from kali-dev and copies them to kali-rolling only when they have been verified to be installable. The repository is also fed by a stream of tool updates, of which we get notified via our upstream git tagging watch list.
For more reference please refer kali official page