-
-
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 |
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
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
I used the following steps on Debian 11 running on GCP
sudo curl https://archive.kali.org/archive-key.asc -o /etc/apt/trusted.gpg.d/kali-archive-key.asc sudo sh -c "echo 'deb http://http.kali.org/kali kali-rolling main non-free contrib' >> /etc/apt/sources.list" sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade sudo reboot sudo apt-get autoremove --purge sudo apt-get install kali-linux-headless sudo apt clean
How long does it take to complete?
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.prefAnd inside file:
Then worked perfectly !