PDA

View Full Version : Kali updates



Kicklota
2016-04-02, 10:43
Hi I'm new to the kali scene so was wandering if you guys could help me.

Basically during the initial installation I didn't connect to a network so of course it didn't gather updates. After the installation I connected to a network and decided to try and update using 'sudo apt-get update && did I apt-get upgrade' but it's saying there's no updates found...which is obviously a bit confusing as I haven't ever updated it and its still saying Theres no updates.

Any advice would be much appreciated! Just not sure wether to be worried or not haha

aephlux
2016-04-03, 02:54
Since you did not choose network update, your sources.list is not pointing to the correct repo.

I'm assuming you're using kali rolling so you should edit /etc/apt/sources.list and put only this line in

"deb http://http.kali.org/kali kali-rolling main contrib non-free"

If you're using another kali version, check the kali docs for the appropriate repos:
http://docs.kali.org/general-use/kali-linux-sources-list-repositories

MediumBrownToast
2016-04-03, 04:26
Could someone confirm the correct method of updating Kali Rolling? I had a good search but couldn't find anything specifically for Rolling and I'm not sure if command for 2.0 and below should still be used?

Would this be correct?:

apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get install linux-headers-$(uname -r)

Thanks!

Kicklota
2016-04-03, 04:44
Thanks a lot man will try in a bit!

grid
2016-04-04, 11:30
I run apt-get update, then apt-get dist-upgrade. Far as I know, this gets everything.