Help with Kali-Linux

It worked for me, Thanks to everyone for the help

i did made a TemplateVM when i will restart it will dissapear so i will try to make everything back ahah

After is it normal if my template just crashed and dont want to open firefox or the terminal ?

Please DONT do this.
The whole point in the move from apt-key is that repositories should be
validated by individual keys. Putting the key in to /etc/apt/trusted.gpg.d
undermines this.
It runs counter to the Debian way. AND it runs against Kali advice
itself. Look at this blog entry from earlier in the year-

You’ll see that the Kali advice is that the signing key should be placed
in /usr/share/keyrings.
Do the right thing: put the key in /usr/share/keyrings, and reference
it in the repo definition using signed-by .

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

I understand why it is against Kali advice because my template dont even want to start again ahah, but thanks when i will have the time i will try to do what u sent

Hi @QubesUserNeedHelp

I had issues using Kali on QuBes too.

I installed Kali using ISO without the qubes integration (packages).

in the end, I followed these steps;

  1. used a qubes template for Debian 13,
  2. added the repositories for Kali,
  3. removed the Debian Trixie repository,
  4. mark hold on qubes packages (see script sample below)
  5. run (apt update)
  6. run (apt upgrade)
  7. install some Kali Meta-packages.
  8. there may be conflicts with existing packages - i preferred to remove Trixie’s packages during any conflict

so far it seems to work fine

script example to manage qubes packages hold/unhold;
as per suggest in the forum keep qubes packages with ‘hold’

#!/bin/bash

if [ "$#" -ne 1 ]; then
    echo "Usage: $0 {hold|unhold}"
    exit 1
fi

action=$1

# Get all qubes- and qvm- packages
packages=$(dpkg --get-selections | grep -E 'qubes-|qvm-' | awk '{print $1}')

# Perform the specified action
for pkg in $packages; do

    if [ "$action" == "hold" ]; then
        sudo apt-mark hold "$pkg" && echo "Package $pkg has been put on hold."
        
    elif [ "$action" == "unhold" ]; then
        sudo apt-mark unhold "$pkg" && echo "Package $pkg has had its hold removed."

    else
        echo "Error: Invalid action: $action. Use 'hold' or 'unhold'."
        exit 1

    fi

done

echo "Action '$action' completed for all qubes- and qvm- packages."

Thanks i will try it when i will get the time