This is a small guide on how to add official Kali Linux Repositories – Kali Linux 2.x Sana repositories.
Kali Linux source.list Repositories page: Official Link
The single most common causes of a broken Kali Linux installation are following unofficial advice, and particularly arbitrarily populating the system’s sources.list file with unofficial repositories. The following post aims to clarify what repositories should exist in sources.list, and when they should be used.
Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL.
Edit your sources.list
The easiest way is to edit the /etc/apt/sources.list
root@kali:~# vi /etc/apt/sources.list
(or)
root@kali:~# leafpad /etc/apt/sources.list
Add official repo’s only:
Copy paste the following repositories (remove existing lines or you can comment them out – your take). Following repo list was taken from official Kali sources.list Repositories page:
Thanks For visit On MDhacker.net
Kali Linux source.list Repositories page: Official Link
The single most common causes of a broken Kali Linux installation are following unofficial advice, and particularly arbitrarily populating the system’s sources.list file with unofficial repositories. The following post aims to clarify what repositories should exist in sources.list, and when they should be used.
Any additional repositories added to the Kali sources.list file will most likely BREAK YOUR KALI LINUX INSTALL.
Edit your sources.list
The easiest way is to edit the /etc/apt/sources.list
root@kali:~# vi /etc/apt/sources.list
(or)
root@kali:~# leafpad /etc/apt/sources.list
Add official repo’s only:
Copy paste the following repositories (remove existing lines or you can comment them out – your take). Following repo list was taken from official Kali sources.list Repositories page:
# Regular repositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# Source repositories
deb-src http://http.kali.org/kali sana main non-free contrib
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
Save and close the file.
Clean your apt-get
apt-get clean
Do an apt-get update
apt-get update
Do an upgrade
apt-get upgrade
Finally do a distribution upgrade
apt-get dist-upgrade
That’s it, you’re set.
Conclusion
A bit of caution for Kali Linux 2.0 Kali Sana users, pointing to repo.kali.org or such will NOT work and might cause issues.
Clean your apt-get
apt-get clean
Do an apt-get update
apt-get update
Do an upgrade
apt-get upgrade
Finally do a distribution upgrade
apt-get dist-upgrade
That’s it, you’re set.
Conclusion
A bit of caution for Kali Linux 2.0 Kali Sana users, pointing to repo.kali.org or such will NOT work and might cause issues.
Thanks For visit On MDhacker.net
Blogger Comment