Update your Kali Linux
Rafsan Anwar
Cybersecurity Analyst | System Engineer | SOC Expert | Purple Teamer | Threat Intelligence | Computer Forensics Expert | Cloud Admin | Python Tools Dev | Mentor | CEH | CCNA | CSA(SOC) | AWS SAP
Updating Linux OS is essential. Specially for latest and cooler applications to run. But, if we do not add proper repositories, we can not get proper upgrades. Kali Linux is a Debian based Linux distribution that is widely popular among security researchers and penetration testers. Kali Linux uses Advanced Packaging Tool (APT) which is a powerful command-line tool for installing, updating, removing packages. There are some repositories for Kali Linux which can be updated through APT.
# Adding Repositories
Open this file location using vim editor
sudo vi /etc/apt/sources.list
Press i to go to insert mode. Then add this line to the bottom of the file.
deb https://http.kali.org/kali kali-rolling main non-free contrib
deb https://http.kali.org/kali kali-last-snapshot main non-free contrib
deb https://http.kali.org/kali kali-experimental main non-free contrib
Press Esc key and then type :wq and hit "enter" t o save and quit
:wq
# Update Kali Linux with APT
Now update Kali Linux Repositories and also update all existing packages
sudo apt update -y && sudo apt full-upgrade -y
This may take time depending on your current version of Kali Linux. Also remove previous packages when you are done with upgrading
sudo apt autoremove
# Check your Kali Linux Version [ Optional ]
You can check Kali Linux for just to ensure you are up to date.
uname -a
I am an SEO expert & Digital Marketer with 2 years of experience in optimizing online presence & driving organic traffic. I am skilled in keyword research, and on-page/off-page SEO.
5 个月Excellent. For beginners, it is conducive.
Technical Support
2 年Hallo Mr. Rafsan, When I tried to upgrade (full-upgrade), I got some error. The last lines of console output is: Err:1 https://http.kali.org/kali kali-rolling/main amd64 libgme0 amd64 0.6.3-5 ?404?Not Found [IP: 192.99.200.113 443] Err:2 https://http.kali.org/kali kali-rolling/main amd64 libopenmpt0 amd64 0.6.7-1 ?404?Not Found [IP: 192.99.200.113 443] Err:3 https://http.kali.org/kali kali-rolling/main amd64 python3-jsonschema all 4.9.1-3 ?404?Not Found [IP: 192.99.200.113 443] Err:4 https://http.kali.org/kali kali-rolling/main amd64 gstreamer1.0-libav amd64 1.20.5-1 ?404?Not Found [IP: 192.99.200.113 443] Err:5 https://http.kali.org/kali kali-rolling/main amd64 mupdf-tools amd64 1.21.1+ds1-2 ?404?Not Found [IP: 192.99.200.113 443] Err:6 https://http.kali.org/kali kali-rolling/main amd64 python3-pyqt6 amd64 6.4.0-3 ?404?Not Found [IP: 192.99.200.113 443] Err:7 https://http.kali.org/kali kali-rolling/main amd64 pyqt6-dev-tools all 6.4.0-3 ?404?Not Found [IP: 192.99.200.113 443] Unable to correct missing packages. What could be the problem and how to fix it?
Travel Journalist & Content Creator | Exploring the World, One Story at a Time | Travel Blogger at travelwithmufa.com
2 年Thank You, Sir. ??
IT Executive_Colotex Apperal Limited (LAWSGROUP) || (CEH)
2 年Tnq sir
Certified Ethical Hacker(CEH v11)
2 年Thank You, sir