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.
All the steps for this tutorial are explained on a Video on our Youtube Channel you can subscribe to it by this link they are many other tutorials that you can learn about bypassing and hacking and others basics tutorials about kali linux.
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.
If you have encountered a problem or you have any questions or remarks please feel free to set a comment.
If this article helped you to solve your problem please feel free to Share it with your friends. with Love and Prosperity K4LINUX-TEAM.