-
-
Save warecrash/f35d4f9a822c452b0c54bbdb47c0c9a5 to your computer and use it in GitHub Desktop.
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 |
This is dangerous. Why not use Kali?
It's not. I have done it for years. As Kali is based on Debian, but ahead of Debian stable or complementary to Debian testing, there cannot be any trouble.
This is dangerous. Why not use Kali?
It's not. I have done it for years. As Kali is based on Debian, but ahead of Debian stable or complementary to Debian testing, there cannot be any trouble.
Even if it are Linux, there can be dangerous.
This is dangerous. Why not use Kali?
It's not. I have done it for years. As Kali is based on Debian, but ahead of Debian stable or complementary to Debian testing, there cannot be any trouble.
Even if it are Linux, there can be dangerous.
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).
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 !
thanks a lot ma boy
Fixed and Updated by me:
wget https://http.kali.org/pool/main/k/kali-archive-keyring/kali-archive-keyring_2024.1_all.deb
apt install ./kali-archive-keyring_2024.1_all.deb
first of put first line in terminal then enter
second use sudo with second line and enter. it is install correctly
LOG:
sudo apt update
Get:2 http://kali.download/kali kali-rolling InRelease [41.5 kB]
Get:5 http://kali.download/kali kali-rolling/main Sources [16.8 MB]
Hit:6 http://mirrors.ocf.berkeley.edu/debian bookworm InRelease
Hit:7 http://mirrors.ocf.berkeley.edu/debian bookworm-updates InRelease
Get:8 http://kali.download/kali kali-rolling/contrib Sources [76.7 kB]
Get:9 http://kali.download/kali kali-rolling/non-free Sources [118 kB]
Get:10 http://kali.download/kali kali-rolling/main amd64 Packages [20.3 MB]
Get:11 http://kali.download/kali kali-rolling/non-free amd64 Packages [192 kB]
Get:12 http://kali.download/kali kali-rolling/contrib amd64 Packages [112 kB]
Reading package lists... Done
W: Target Packages (contrib/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:12 and /etc/apt/sources.list.d/archive_uri-http_http_kali_org_kali-bookworm.list:1
I FORGOT TO SAY DON'T INSTALL KALI ISO OR SYSTEM OR INSIDE ON DEBIAN.
because LATEST KALİ 2024.4 SHIT WITH SYSTEM-WIDE PYTHON3 PACKAGES BROKE ALL OF SYSTEM..
UNTIL FIX use another distros or offical debian 11 or 12 etc.
sudo wget https://archive.kali.org/archive-keyring.gpg -O /usr/share/keyrings/kali-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/kali-archive-keyring.gpg] http://http.kali.org/kali kali-rolling main non-free contrib" >> /etc/apt/sources.list
apt-key is deprecated use this instead
Sometimes you can't choose Kali directly, so it's the simple way to do it