Follow by Email

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 https://http.kali.org/kali 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 https://http.kali.org/kali kali-rolling main non-free contrib
# deb-src https://http.kali.org/kali kali-rolling main non-free contrib
if your file doesn't look like this then type this command in your terminal:
echo -e "deb https://http.kali.org/kali 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 https://http.kali.org/kali 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:

0 comments: