Edit your sources.list
The easiest way is to edit the
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:
Save and close the file.
Clean your apt-get
Do an apt-get update
Do an upgrade
Finally do a distribution 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.
Don’t add extra repositories to your Kali 2.0 install
Despite what many unofficial guides instruct you to do, avoid adding extra repositories to your sources.list files. Don’t add kali-dev, kali-rolling or any other Kali repositories unless you have a specific reason to – which usually, you won’t. If you must add additional repositories, drop a new sources file in /etc/apt/sources.list.d/ instead. [Source: Offensive Security Blog]
If you must, (despite warning many users will be tempted), do try it in a VirtualBox/VMWare first and take snapshots so that you can roll back.
Thanks for reading. If I have made a mistake, please correct me.
Nhận xét
Đăng nhận xét