How to fix repositories and update Kali linux

5
7747

Fixing repositories of Kali Linux is not a big problem, after new installation every user face this problem. Here is the perfect solution for fixing Kali linux repositories.

Open file from path etc/apt/sources.list delete all the old once or existing once and paste the below one and save it.

deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free

Don’t add any additional repository, it will BREAK YOUR KALI LINUX INSTALL.

to update list, it’s necessary to install another software, otherwise it will give and error that package not found.

apt-get update

to update the newer version of an existing software, run the following command

apt-get upgrade 

to update the latest version of Kali linux, run the following command

apt-get dist-upgrade

or you can run all the command at once

apt-get update && apt-get upgrade && apt-get dist-upgrade

Watch Step By Step Video On Youtube

 

5 COMMENTS

LEAVE A REPLY

Please enter your comment!
Please enter your name here