Update kali.md

1. apt-key depreciated issue workaround
2. Updated step 8
3. Added updated Kali metapackages link
This commit is contained in:
wand3rlust 2022-05-07 19:09:43 +00:00 committed by GitHub
parent ea642ad4c1
commit 3010e73971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -83,10 +83,10 @@ $ qvm-clone debian-<X> kali-rolling
# sed -i 's/<current stable>/<current testing>/g' /etc/apt/sources.list.d/qubes-r<X>.list
```
e.g. in this example we update `buster` stable repository to `bullseye` testing repository
e.g. in this example we update `bullseye` stable repository to `bookworm` testing repository
```shell_session
# sed -i 's/buster/bullseye/g' /etc/apt/sources.list.d/qubes-r<X>.list
# sed -i 's/bullseye/bookworm/g' /etc/apt/sources.list.d/qubes-r<X>.list
```
4. Enable the QubesOS `testing` and `securitytesting` repositories
@ -105,10 +105,10 @@ $ qvm-copy kali-key.asc
6. Add the Kali PGP key to the list of keys trusted to authenticate packages:
```shell_session
# cat /home/user/QubesIncoming/dispXXX/kali-key.asc | apt-key add -
# cp /home/user/QubesIncoming/dispXXX/kali-key.asc /etc/apt/trusted.gpg.d
```
This command should return: `OK`.
7. Replace Debian repositories with Kali repository
@ -116,8 +116,11 @@ $ qvm-copy kali-key.asc
# echo 'deb https://http.kali.org/kali kali-rolling main non-free contrib' > /etc/apt/sources.list
```
8. Replace `gcc8` to work around a dependency issue
8. Replace conflicted packages to work around dependency issues
```shell_session
# apt-get remove <existing_package> && apt-get install <required_package>
```
e.g. in this example we replace `gcc8` with `gcc6`
```shell_session
# apt-get remove libgcc-8-dev && apt-get install libc6-dev
```
@ -141,7 +144,7 @@ $ qvm-run -a kali-rolling gnome-terminal
Install the Kali tools
------------------------------
At this point you should have a working template and you can install the tools you need.
You can find [a list of Kali Linux `Metapackages` here](https://tools.kali.org/kali-metapackages)
You can find [a list of Kali Linux `Metapackages` here](https://www.kali.org/tools/kali-meta/)
Keep in mind that the tools you will install can easily take more than 10 GB, [so you will need to **grow** the size of the VM system storage.][qubes-resize-disk-image]
Fix Qubes PulseAudio (audio and microphone)