LionSec / katoolin

Automatically install all Kali linux tools
https://lionsec.net
GNU General Public License v2.0
4.73k stars 1.33k forks source link

Best way to upgrade kali packages? #70

Open cr8ivecodesmith opened 7 years ago

cr8ivecodesmith commented 7 years ago

So the procedure for keeping my Ubuntu OS up to date is by removing all Kali related repo from my sources.list (katoolin provides this already) prior the upgrade.

However, for upgrading the Kali packages, do I just do the reverse? i.e. Add back the Kali repo and commenting out the Ubuntu based repos prior to upgrading?

What's the cleanest way to do it?

acabey commented 7 years ago

This is really a testament to how much of a hack this tool is. If you upgrade your non-kali packages the standard way (removing kali sources first) then reinstall kali sources and run upgrade again you probably won't have any issues, but it is definitely not a proper solution.

solinium commented 7 years ago

I suppose just write a script to remove/add kali repos when you call apt update or create an alias? There are lots of ways to do it but @acabey is right.