![]() # deb-src kali-rolling main contrib non-free # For source package access, uncomment the following line Your /etc/apt/sources.list should look exactly like this: deb kali-rolling main contrib non-free If you are not or do not know what I mean, please refer to the Official Kali Linux Documentation SolutionĪccording to the Official Kali Linux Documentation concerning the sources.list file. This answer is assuming that you have installed Kali Linux or are running it in a Live Persistent configuration. Write your port number in place of 'port' Please add the following three lines in /etc/apt/apt.confĪcquire::http::proxy " Acquire::ftp::proxy "ftp://proxy:port/" Īcquire::https::proxy " write your IP address in place of 'proxy' Using text editor add these lines to /etc/apt/sources.list fileĭeb-src kali/updates main contrib non-free Please keep a back up file before changing the sources.list file If you find the same error, please choose another solution.Īpt-key adv -keyserver hkp:// -recv-keys 7D8D0BF6 Try using https repository by executing the following commandĮcho "deb kali-rolling main non-free contrib" > /etc/apt/sources.list If it shows 'Index' in browser then please go for solution 1. ![]() Please check with your network admin in that case.Īlso try to open this URL from a browser. If you can't see the Index then it might be the cause of firewall/proxy blocks your connection. Can you see the repository (/kali) in a browser?ĭoes it show 'Index of /kali' in your browser? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |