How to Fix Kali Linux "Unable to locate package"

How to Fix Kali Linux "Unable to locate package"May be you encounter this when updating or installing apps in Kali Linux apt-get install "your apps".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.

Here is the solution, update your source.list from doc.kali.org1.The Kali Rolling Repositorykali-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:2.Retired Kali sana (2.0) RepositoriesFor access to the retired sana repositories, have the following entries in your sources.list:3.Retired Kali moto (1.0) RepositoriesFor access to the retired moto repositories, have the following entries in your sources.list: