They have been ignored, or old ones used instead. If You Continue to Have Issuesĭo you continue to get the initial error that you reported? Err:1 kali-rolling InReleaseĬonnection failed Make sure to run apt update and you should be good. You can uncomment the last line at your discretion as well. The following post aims to clarify what repositories should exist in sources.list, and when they should be used.Īny additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL. The single most common causes of a broken Kali Linux installation are following unofficial advice, and particularly arbitrarily populating the system’s sources.list file with unofficial repositories. Make sure there is no other repositories or lines because according to the documentation: # 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. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |