If yous installed Kali offline from a CD/DVD or USB (or convey chosen non to connect to mesh during installation), yous likely convey an empty
sources.list
file amongst merely two lines on it (CDROM’s). Also if your mesh connecter is non reliable or also tiresome to produce an update during install, yous might’ve chosen a like installation option. Either way, yous won’t leave of absence the mirrors or repositories during a difficult disk install added to your sources.list
file. This volition displace issues inwards the futurity when seeking novel or updated software packages from the Kali repos.This lead shows how to add together official Kali Linux mirrors or repositories.
Similar posts exists inwards this website to troubleshoot other problems which mightiness live on worth looking into:
- How to create Kali Linux apt-get tiresome update?
- How to modify repositories to a unlike mirror?
- Fix “WARNING: The next packages cannot live on authenticated!” inwards Kali Linux
Kali Linux sources.list
Repositories page: Official Link
Open sources.list together with comment all lines amongst # inwards front
leafpad /etc/apt/sources.list
Add Official Repo’s only:
## Regular repositories
deb http://http.kali.org/kali kali principal non-free contrib
deb http://security.kali.org/kali-security kali/updates principal contrib non-free
## Source repositories
deb-src http://http.kali.org/kali kali principal non-free contrib
deb-src http://security.kali.org/kali-security kali/updates principal contrib non-free
Save together with unopen the file.
You tin banking enterprise gibe that the sources convey been added together with are existence used past times loading Add/Remove Software from the Sys Tools card together with selecting System -> Software Sources.
Clean your apt-get
apt-get clean
STOP: If your Kali Linux apt-get update is tiresome follow this lead to form out other issues: How to create Kali apt-get tiresome update?
To switch repositories to a unlike mirror of your choice, follow this guide: How to modify repositories to a unlike mirror?
Do an apt-get update
apt-get update
Do together with upgrade
apt-get upgrade
Finally produce a distribution upgrade
apt-get dist-upgrade
That’s it, you’re set.Thanks for reading. Please share.