Last active
May 15, 2024 06:29
-
-
Save warecrash/f35d4f9a822c452b0c54bbdb47c0c9a5 to your computer and use it in GitHub Desktop.
Convert Debian to Kali
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt update | |
apt -y install wget gnupg dirmngr | |
wget -q -O - https://archive.kali.org/archive-key.asc | gpg --import | |
gpg --keyserver hkp://keys.gnupg.net --recv-key 44C6513A8E4FB3D30875F758ED444FF07D8D0BF6 | |
echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list | |
gpg -a --export ED444FF07D8D0BF6 | sudo apt-key add - | |
apt update | |
apt -y upgrade | |
apt -y dist-upgrade | |
apt -y autoremove --purge | |
apt -y install kali-linux-everything |
i can skip the last part of installing kali for everything right? like download the each tool i need manually.
@TheMadTomato Sure. That's what I do and would recommend by the way : keep it slim with only useful stuff.
For me worked but need to do something more, need to add priority to kali repos cause was giving me unmet dependencies
> sudo nano /etc/apt/preferences.d/kali-preferences.pref
And inside file:
Package: *
Pin: release o=kali
Pin-Priority: 1000
Then worked perfectly !
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Explain and develop then.
This way, it's technically a standard APT upgrade process, as it has worked for more than a decade. So, in theory no danger, and in practice no danger (I have done such stuff dozen of times, not a single issue, and always possible to roll back with a bit of apt skills).