How to fix repositories and update Kali linux

7
9429

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

 

7 COMMENTS

  1. I have this problem with the latest version of Kali Linux 2018.3 and I’m confused as to how to go about fixing this repository update and upgrade because on the Kali website it says that you will break your installation. All the you-tube videos out there are old it is 02-11-2018. Thank you in advance for any help.

LEAVE A REPLY

Please enter your comment!
Please enter your name here