Kali Linux: Fix “Unable to locate package”

If you have issue to connect to Kali.2 repository , you need to follow up the bellow steps but Any additional repositories added to the Kali sources.list file will most likely break your Kali Linux

open terminal

vi /etc/apt/sources.list

and replace with bellow

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

 

save and close the file

after that

1.apt-get clean

2.apt-get update && apt-get upgrade && apt-get dist-upgrade

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s