![[Fixed] Unable to locate package in Kali Linux [Fixed] Unable to locate package in Kali Linux](https://1.bp.blogspot.com/-krXBLnD-628/XgMVM93PYqI/AAAAAAAAAu4/LwK5VrMB_p4xRrRiiWp-O8DdeoQAfB-8gCLcBGAsYHQ/s320/fixed%2Bunable%2Bto%2Blocate%2Bpackage%2Bin%2BKali%2BLinux.webp)
1. Go to your Linux computer File system and navigate to etc>apt folder.
2. Right-click on the ‘sources.list’ text file and open it with any text editor.
3. Delete if there is anything already on the text file.
4. Copy and paste the following lines to the text file.
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
deb http://http.kali.org/kali kali-rolling main non-free contrib
5. Save the text file and close it.
6. Update the system using the ‘apt-get update‘ command.
🔺 Warning:
These repositories are verified by Kali Linux. If you ask for a package outside these repositories, you have to add a source URL to the sources list. But these repositories will solve 99% of your problems you were searching for a solution.
Haven't found the solution or are you having an unknown error? Join HackTalkForum.com to start a discussion or join a discussion on it. | ![]() |
Leave a Reply
View Comments