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

1.The Kali Rolling Repository
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:

2.Retired Kali sana (2.0) Repositories
For access to the retired sana repositories, have the following entries in your sources.list:

3.Retired Kali moto (1.0) Repositories
For access to the retired moto repositories, have the following entries in your sources.list:

Copy this on your source.list

NOTE: Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL.

For beginner who don't know how to place the source list here is a step by step.

1. Click Places the choose Computer.

2. Find "etc" folder.

3. Find "apt" folder.

4. Find source.list  open with gpedit  (notepad in linux).

5. Now  copy paste  the repository on this post above then save.

6. Open your Terminal (cmd like)  type the fallowing command then press enter

apt-get update && apt-get install -f 

Now you will get updated  list... wait it to finish.

7. Now Done try to install your app now

Sample apt-get install hostapd

additional if you want to get all sofware update just enter this command

apt-get update

BLOGMYTUTS TIPS: If you still have this error after updating source list check your LETTER use all small letter sometimes CAPSLOCK matters!!

You Can Check More About Kali Repositories Here:

You might also like :

The owner of will not be liable for any errors or omissions in this information nor for the availability of this information. The owner will not be liable for any losses, injuries, or damages from the display or use of this information.Report any Broken Download linkon Blogmytuts Facebook Page. IF YOU WANT TO BORROW MY CONTENT PLEASE CONTACT US..
Share on Google Plus

About Jaime Lacson

A Freelance Computer Tech with knowledge about computer, router and mobile phones, especially in Upgrade and Downgrade OS, Software and Hardware troubleshooting. follow me at Google+
    Blogger Comment
    Facebook Comment