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

KaliTut

Kali Linux tutorial and Linux system tips

  • Home
  • Raspberry Pi
  • Privacy Policy
  • About us

How to update Kali Linux

Last Updated on January 30, 2021 by Kalitut 9 Comments

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:

[email protected]:~# 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:

https://www.youtube.com/watch?v=cb7noeQWFUY

How to update kali linux

Filed Under: Kali Linux Tagged With: update kali linux

Comments

  1. ojoh says

    December 2, 2021 at 3:44 pm

    wow
    much thanks you really helped me!

    Reply
  2. Lotfi says

    January 5, 2022 at 12:34 am

    I’ve followed the steps described here but I still get a “temporary resolution error of «http.kali.org»” which prevents me from updating. Any idea on what to do to solve this issue?

    Reply
  3. Jake says

    March 12, 2022 at 8:55 am

    Tried everything above and still getting the same “failure to fetch”

    Reply
    • admin says

      April 1, 2022 at 9:38 pm

      im sorry to hear that can i see your log data

      Reply
      • Janielle Hairston says

        June 15, 2022 at 6:23 am

        I followed this as well and i can’t upgrade or install update files. I made a new machine and it’s the same issue.

        Reply
  4. Aashutosh says

    May 10, 2022 at 8:18 am

    Still not updating…
    Getting this error :-

    sudo apt update
    Ign:1 https://http.kali.org/kali kali-rolling InRelease
    Ign:1 https://http.kali.org/kali kali-rolling InRelease
    Ign:1 https://http.kali.org/kali kali-rolling InRelease
    Err:1 https://http.kali.org/kali kali-rolling InRelease
    Could not connect to http.kali.org:443 (192.99.200.113), connection timed out
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    All packages are up to date.
    W: Failed to fetch https://http.kali.org/kali/dists/kali-rolling/InRelease Could not connect to http.kali.org:443 (192.99.200.113), connection timed out
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    Reply
  5. Prabu says

    November 25, 2022 at 11:00 am

    Failed to fetch https://http.kali.org/kali/dists/kali-rolling/InRelease Could not handshake: Error in the pull function. [IP: Myproxyserver 8080]

    Reply
  6. ghvst says

    December 22, 2022 at 8:38 am

    you are an absolute legend lad

    Reply
  7. sojol hossain says

    January 6, 2023 at 3:13 pm

    same problem

    Ign:1 https://http.kali.org/kali kali-rolling InRelease
    Ign:1 https://http.kali.org/kali kali-rolling InRelease
    Ign:1 https://http.kali.org/kali kali-rolling InRelease
    Err:1 https://http.kali.org/kali kali-rolling InRelease
    Could not connect to http.kali.org:443 (192.99.200.113), connection timed out
    Reading package lists… Done
    Building dependency tree… Done
    Reading state information… Done
    All packages are up to date.
    W: Failed to fetch https://http.kali.org/kali/dists/kali-rolling/InRelease Could not connect to http.kali.org:443 (192.99.200.113), connection timed out
    W: Some index files failed to download. They have been ignored, or old ones used instead.

    Reply

Leave a Reply Cancel reply

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

Follow us

  • Facebook
  • Twitter
  • YouTube

Categories

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

Recent Posts

  • Hijacked Wi-Fi? Thorough explanation of hacking techniques
  • Windows PowerShell tutorial for beginners
  • Learn to Hack Steps from Beginner to Hacker
  • PowerShell Tutorial – GUIDE introduction with basics
  • Top Hacking Tools
  • Home
  • About us
  • Privacy Policy
  • Affiliate disclaimer

Copyright © 2023