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
deb http://http.kali.org/kali kali-rolling main contrib non-free
deb http://old.kali.org/kali sana main non-free contrib
deb http://old.kali.org/kali moto main non-free contrib
  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

Finally, the result should be like the below screenshot.

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:

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

Retired Kali Sana (2.0) Repositories

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

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

Retired Kali moto (1.0) Repositories

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

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

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

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

# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL $
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL $
## Security updates
deb http://http.kali.org/ /kali main contrib non-free
deb http://http.kali.org/ /wheezy main contrib non-free
deb http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali-dev main/debian-installer
deb-src http://http.kali.org/kali kali-dev main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
deb http://http.kali.org/kali kali main/debian-installer
deb-src http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb-src http://security.kali.org/kali-security kali/updates main contrib non-fr$

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

How toHow to FixInformation SecurityKali LinuxKali Linux and Windows
Comments (6)
Add Comment
  • Hanan

    Great It worked for me

  • hanan

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

  • F_NoonienSingh

    that does not solve the Problem for me, any suggestions ?

    • Shais

      What version of Kali Linux you are using?

  • noobwalid

    Thank you man

  • MWilliams

    Worked like a charm. Thank you!