Follow by Email

Blog Archive

Search This Blog

How to update Kali Linux

how to update Kali Linux 2019 and fix Kali Linux repository
Share it:
Checking / restoring / cleaning repositories (application sources) Kali Linux Rolling 2019
Original sources of applications (repositories) are the main key to the health of your Kali Linux.
The warning that changing / adding new repositories, as a rule, kills the system is on the official website.
Numerous experiences indicate that a huge number of problems are caused by errors in the sources of applications. If the standard Kali Linux instructions that work for most other users do not work for you, then 99% are due to modified kali repositories.

The most important thing in kali linux sources list  is this  line:
deb kali-rolling main non-free contrib
and there were no third-party application sources.
 In Kali Linux, application sources are listed in the /etc/apt/sources.list file . The normal, default content for kali sources list is as follows:
root@Kalitut:~# cat /etc/apt/sources.list
deb kali-rolling main non-free contrib
# deb-src kali-rolling main non-free contrib
if your file doesn't look like this then type this command in your terminal:
echo -e "deb kali-rolling main non-free contrib" > /etc/apt/sources.list
This command will completely wipe the /etc/apt/sources.list file and add one line to it (you can do it manually following those commands :
leafpad /etc/apt/sources.list
Delete all the lines in your Repository file and add just add this one:
deb kali-rolling main non-free contrib
Now you can update and upgrade to do so follow those commands:
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
and you can follow this video showing the same steps:
Share it:

Kali Linux

Post A Comment: