• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
kalitut

kalitut

KaliTut Where you learn about Kali Linux tips and Linux system

  • Home
  • Raspberry Pi
  • WRITE FOR US
  • Privacy Policy
  • About us

How to update Kali Linux

April 7, 2019 by Kalitut Leave a Comment

Last Updated on January 30, 2021 by admin

Checking / restoring / cleaning Kali Linux repositories

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:

How to update kali linux

Filed Under: Kali Linux Tagged With: update kali linux

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Follow us

  • Facebook
  • Twitter
  • YouTube

Write for us

  • WRITE FOR US

Categories

  • Android pentesting tools
  • Arduino
  • Books
  • Darknet
  • database
  • General
  • Github Tools
  • Kali Linux
  • Linux
  • Linux Commands
  • Network Administrator
  • Penetration Testing
  • Penetration Testing Tools
  • Raspberry Pi
  • resources
  • Review
  • Termux
  • Tutorials
  • Ubuntu
  • Uncategorized
  • Video Tutorials
  • vmware
  • WiFi Adapter
  • WiFi Pentesting
  • Wireless Router
  • Wireshark

Recent Posts

  • Realtek rtl8812au 2.4 & 5 ghz USB wireless adapter
  • How to log in as root in Kali Linux
  • Steghide Steganography tool
  • ADFSbrute ADFS Login Brute Force
  • Introducing and Installing John the Ripper
  • Home
  • About us
  • Privacy Policy
  • Affiliate disclaimer

Copyright © 2021