Fix Unable To Locate Package on Kali Linux
Unable to locate package is surely one of the most encounter errors on kali linux. To Fix this error you just need to update your source list repositories with the official kali linux packages list.
If you don’t like the video or need more instructions, then continue reading.
Kali Linux Repositories Sources.list
To start fixing your Kali Linux repositories, make sure that you use root access using this command :
root@kali:~# sudo su
And type your root password if required.
Go to the folder that contain the sources.list file :
root@kali:~# cd /etc/opt/
Open the sources.list file using your preferred text editor, gedit or nano :
root@kali:~# nano sources.list
Replace the file content with the following lines:
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 change and exit using CTRL+O and CTRL+X.
Now you just need to update and the error will disappear, with the following command:
root@kali:~# apt-get update
Congratulation! Now Unable To Locate Package on Kali Linux was successfully fixed, and you can install any tool on kali linux.
We suggest you to get a look to our Top 10 Best Penetration Testing Tools on Kali Linux!
This is a really frustrating error. What have you tried that seemed to work for you? We would be happy to expand on this resource, so others do not have to waste as much time finding a solution.