Help with Kali-Linux

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."