How to Fix Unable to Locate Package Update in Kali Linux

Fix “Unable to locate package” error in Kali Linux Correctly

We received many questions about Kali Linux apt-get update not working. Let’s fix unable to locate package update in Kali Linux correctly. 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.

This repository is actually Debian’s Testing distribution with all the kali-specific packages (available in the kali-dev-only repository) force-injected with Kali packages taking precedence over the Debian packages. Sometimes when Testing changes, some Kali packages must be updated and this will not happen immediately. During this time, kali-dev is likely to be broken. This repository is where Kali developers push updated packages and is the basis used to create kali-rolling.

Fix Unable to Locate Package Update in Kali Linux

To fix the broken Kali Linux installation just change the repository source from sources.list file. Open the sources.list file with a text editor and replace with the below sources list.

Fix Unable to locate package update Kali Linux
Fix Unable to locate package update Kali Linux
  1. Type “leafpad /etc/apt/sources.list” command in terminal to open the sources.list file with Leafpad text editor.
  2. Clean the sources.list old contents.
  3. Copy and paste all above list to the sources.list file.
  4. Save the Kali Linux sources.list file and close it.
  5. Clean the apt-get cached files with “apt-get clean” command.
  6. Finally, type “apt-get update” command to start the update.
Fix Unable to Locate Package Update in Kali Linux Correctly
Fix Unable to Locate Package Update in Kali Linux Correctly

Finally, the result should be like the below screenshot.

Fix E Unable to locate package Kali Linux 2017 - Technig
Fix E Unable to locate package Kali Linux 2017 – Technig

Read more about Kali Linux update repository.

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:

Retired Kali Sana (2.0) Repositories

For access to the retired sana repositories, have the following entries in your sources.list:

Retired Kali moto (1.0) Repositories

For access to the retired moto repositories, have the following entries in your sources.list:

You can find a list of official Kali Linux mirrors here.

I found this update sources on the internet. It works as well.


Related Search: Fix Unable To Locate Package in Kali Linux

e unable to locate package Kali Linux 2018
e unable to locate package kali-Linux-full
e unable to locate package vlc Kali Linux
Unable to locate package check install Kali Linux
Kali Linux repository issue
unable to locate package kali 2018

You might also like
2 Comments
  1. Hanan says

    Great It worked for me

  2. hanan says

    It worked for me.
    Thank you very much..!!!!!!!!!!!!!!!!!!!!!!

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.