Ausnahme gefangen: SSL certificate problem: certificate is not yet valid 📌 How to update sources.list repository of kali linux

🏠 Team IT Security News

TSecurity.de ist eine Online-Plattform, die sich auf die Bereitstellung von Informationen,alle 15 Minuten neuste Nachrichten, Bildungsressourcen und Dienstleistungen rund um das Thema IT-Sicherheit spezialisiert hat.
Ob es sich um aktuelle Nachrichten, Fachartikel, Blogbeiträge, Webinare, Tutorials, oder Tipps & Tricks handelt, TSecurity.de bietet seinen Nutzern einen umfassenden Überblick über die wichtigsten Aspekte der IT-Sicherheit in einer sich ständig verändernden digitalen Welt.

16.12.2023 - TIP: Wer den Cookie Consent Banner akzeptiert, kann z.B. von Englisch nach Deutsch übersetzen, erst Englisch auswählen dann wieder Deutsch!

Google Android Playstore Download Button für Team IT Security



📚 How to update sources.list repository of kali linux


💡 Newskategorie: IT Security Nachrichten
🔗 Quelle: kalilinuxdojo.com

To update,upgrade and dist-update the kali linux operating system,we need to update the sources.list of our kali linux.

Now lot's of question flashing into your mind like,

What is sources.list?
Why we need to update sources.list?
How to Update sources.list?
Importance of sources.list to update the kali linux os?
How to update kali linux os after updating the sources.list?

What is sources.list in kali linux?


It is a file located into /etc/apt/sources.list directory of kali linux os.To update the kali linux system,first we need to update the repository.

Why we need to update the sources.list?


As i said above the only way to update the kali linux is to update the repository.If user don't update the sources.list,then  user can't update there system. As a developer and pentester,i would advice you to keep your sources.list updated to update system with latest tools,antivirus,firewall and kernal.

How to Update sources.list Of Kali Linux?


To update the sources.list, first go into below directory:

 cd /etc/apt/

Now open the sources.list file using below command:

vi sources.list

Now open up your browser and go below website for latest sources.list

http://docs.kali.org/general-use/kali-linux-sources-list-repositories


Find "Kali rolling repository" and paste the above code into sources.list file as shown below:



Note:Replace second http with the repo

Importance of sources.list to update the kali linux os?


Sources.list file have the latest server path.this will fetch the latest data from the server and provide update to the user.

Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL

How to update kali linux os after updating the sources.list?


To update the kali linux os ,follow the below command:

apt-get update

To upgrade the kali linux os

apt-get upgrade -y

To dist-update the kali linux os

apt-get -y dist-update
...













matomo