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;
- used a qubes template for Debian 13,
- added the repositories for Kali,
- removed the Debian Trixie repository,
- mark hold on qubes packages (see script sample below)
- run (apt update)
- run (apt upgrade)
- install some Kali Meta-packages.
- 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."