The common reasons for the broken Kali Linux installation are informal and arbitrarily supplement the sources.list directory of the application with non-official repositories. The following post aims to explain, and when to use, the repositories in sources.list.
We have to edit the sources.list file in /etc / apt / sources.list.
root@kali:~# vi /etc/apt/sources.list (OR)
root@kali:~# leafpad /etc/apt/sources.list (OR)
root@kali:~# cat /etc/apt/sources.list
First add official Repo to Kali:
After launch of Kali 2016.1, kali-rolling is our current active repository. The following entries in their sources are expected for Kali Rolling users:
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
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
Save the folder and open it.
Now we have to clear our apt-get and patch, uninstall and restore delivery.
Now we have to clear our apt-get and patch, uninstall and restore delivery.
apt-get clean
apt-get update
apt-get upgrade
apt-get dist-upgrade
The server Kali-rolling
Like kali-dev, kali-rolling is expected to be better because it is handled through a tool that makes all of the packaging it includes installable. The software gathers modified packages from Kali-dev and only copies to Kali-rolling when checked to be installable. The database is also supplied with a set of software updates that we are informed of through our upstream git tagging watch list.
Leave a Reply