Kali Linux: Fix “Unable to locate package”

Solved

Advertisements

This kind of problem generally occurs in newly installed kali linux os

Just do as it is stated below

                                         The problem you guys are facing will be permanently solved

so lets get started

                                              Stage 1

open terminal

leafpad /etc/apt/sources.list

and replace with this

# 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$

save and close the file

                                           Stage 2

open a terminal and

follow as it is

1.apt-get clean

2.apt-get update

3. apt-get -f install

Thats all guys the issue is solved