![]() ![]() So might want to adjust that before trying other fixes. deb sana/updates main contrib non-free."On a standard, clean install of Kali Linux, you should have the following two entries present in /etc/apt/sources.list:" "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.".Here is the official recommended source list from KALI: Kali sources.list Repositories Here you have to play around a little bit to find the mirror that works for you. The new sources.list file can be deb kali-rolling main contrib non-free Old sources.list file was deb kali-rolling main contrib non-free Then create a new sources.list file vim /etc/apt/sources.list Go to where you will have a list of mirrors to chose from.įirst backup your current source file mv /etc/apt/sources.list /etc/apt/ However, you can manually force kali to use a certain/different mirror rather than the one that is nearest you. There are several mirrors of the Kali Linux repository server, all of which are spread over the world.Įach time you interact with the repository, by default it will automatically use the mirror that is closest to you based on your geoip location (idea being, this will give you the best speed due to less latency). For some reason the default mirror is not working. The solution is to change mirror in sources.list file. I tried some regular fixes, but none of them work. Pinging the source IP and the URL works fine, as well as pinging random IPs (, 8.8.8.8, etc), so it's probably not my network. This is what resides in etc/apt/sources.list: deb sana main non-free contrib They have been ignored, or old ones used instead. That "0%" message stays there for thirty seconds then disappears after the error message appears. (If you see something that isn't quite right, I just typed that by hand because I can't get bridged clipboards to work.) apt-get updateĠ% ![]() Unfortunately running: apt-get update, returns with an error message as follows: I have problem with apt-get, and the simple question here is, how can I fix it? I just recently installed Kali Linux 2.0 (64-Bit) on Virtual Box with a Windows 7 (64-Bit) host. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |