Contents [hide] How to add official Kali Linux Repositories?This is a small guide on How to add official Kali Linux Repositories. Kali Linux source.list Repositories page: Official Link We’ve seen many people break their Kali Linux installations by following unofficial advice, or arbitrarily populating their sources.list file with unneeded 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. The simplest way is to edit the
Open sources.list and comment all lines with # in frontleafpad /etc/apt/sources.list
Add Official Repo’s only:## Regular repositories deb http://http./kali kali main non-free contrib deb http://security./kali-security kali/updates main contrib non-free ## Source repositories deb-src http://http./kali kali main non-free contrib deb-src http://security./kali-security kali/updates main contrib non-free Save and close the file.
Clean your apt-getapt-get clean STOP: If your Kali Linux apt-get update is slow follow this guide to sort out other issues: How to fix Kali apt-get slow update? To switch repositories to a different mirror of your choice, follow this guide: How to change repositories to a different mirror?
Do an apt-get updateapt-get update
Do and upgradeapt-get upgrade
Finally do a distribution upgradeapt-get dist-upgrade That’s it, you’re set.
ConclusionTo fix Kali apt-get slow update follow this guide: How to fix Kali apt-get slow update? To switch repositories to a different mirror of your choice, follow this guide: How to change repositories to a different mirror? End of guide How to add official Kali Linux Repositories. Related |
|
来自: NaturalWill > 《待分类1》