Hello.
I just downloaded kali-core version 4.2.0-202411221432 from qubes-templates-community-testing repository, then tried to install kali desktop metapackage using sudo apt install kali-linux-default
but it failed saying “can not locate package kali-linux-default”
Then I checked my /etc/apt/sources.list
:
deb https://deb.debian.org/debian bookworm main contrib non-free-firmware
#deb-src https://deb.debian.org/debian bookworm main contrib non-free-firmware
deb https://deb.debian.org/debian-security bookworm-security main contrib non-free-firmware
#deb-src https://deb.debian.org/debian-security bookworm-security main contrib non-free-firmware
deb https://deb.debian.org/debian bookworm-backports main contrib non-free-firmware
#deb-src https://deb.debian.org/debian bookworm-backports main contrib non-free-firmware
So it turns out kali repos were missing, I added kali-rolling repository manually, but installation of kali-linux-default still failed later on with the following error:
dpkg: warning: while removing qubes-core-agent, unable to remove directory '/rw': Device or resource busy - directory may be a mount point?
Failed to disable unit: Unknown method DisableUnitFilesWithFlagsAndInstallInfo or interface org.freedesktop.systemd1.Manager.
dpkg: error processing package qubes-core-agent (--remove):
installed qubes-core-agent package post-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Errors were encountered while processing:
qubes-core-agent
Processing was halted because there were too many errors.
sh: 1: /usr/lib/qubes/upgrades-status-notify: not found
E: Sub-process /usr/bin/dpkg returned an error code (1)
Any tips on how to proceed here