How to update Kali Linux

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:
 
Kali Linux
April 7, 2019
0

Comments

Search

Popular Posts

USB WiFi adapters that support monitor mode and wireless injection

usb wifi adapter with monitor mode and wireless injection (100% compatibl…

how to update Kali Linux and Fix update error

Kali Linux one of the best Linux distro for penetration testing it's freq…

Fix Kali Linux sources.list Repositories

Fix default repository First after installing a clean Kali Linux the sou…

Recent Comments

Contact Me