I just wanted to share my own solution to this on the latest version of Qubes and the latest Kali template - took me a while to work out so thought I’d help avoid other people having the same issue
** Edit the existing Qubes 4.2 repo below, the key should already be in your installation
sudo nano /etc/yum.repos.d/qubes-templates.repo
** To do a clean download of all templates but takes a while - sudo qubes-dom0-update --clean
** To update with your new community repo defined - sudo qubes-dom0-update
** Below to download the new qubes template need to adjust by looking at the latest on https://yum.qubes-os.org/r4.2/templates-community-testing/rpm/
sudo qubes-dom0-update --enablerepo=qubes-templates-community-testing qubes-template-kali-core-4.2.0-202402081323
** To show available and installed templates
qvm-template list
** Now create your new Qube from the new Kali template
@TheGardner firstly I would like to thankyou for being part of an amazing team that has produced this OS - I have made it my main operating system now and am hopefully getting to grips with it
Essentially I have installed the latest kali community template on Qubes 4.2.1 as per my previous post however I have updated the distro to the latest kali-rolling one, everything is working fine and I can copy/paste etc with the global clipboard between Qubes which makes me think the Qubes agent is working ok, however I can’t attach any usb device to my kali app vm.
I have looked in journalctl and can’t see anything specific to sys-usb.
I know you are probably a very busy person but if you had any pointers it would be hugely appreciated.
UPDATE: I think it was the kali distro update that messed it up re-installed the community core image template and USB attached fine, one I will be aware of in the future and probably jumping the gun updating your community rpm’s apologies
Has anyone had better luck than I have doing any updates on the Kali template on R4.2.3? Everything I’ve tried seems to fail at some step along the way. I’m just using a standalone VM in the meantime, and even that was a pain to get working, so I’m thinking this all has more to do with Kali’s dev process than a Qubes issue.
The new kali template built on 22 Nov 2024 doesn’t update properly even with he trixie fix. If I update with qubes update tool I get a template that will fail to launch a terminal. Anyone else getting this problem?
with the trixie fix I was able to upgrade to linux-kali-default on the older template
one difference between the old and new template is “/etc/apt/sources.list.d/kali.list” is missing and it looks like that file is used for the kali-rolling repository.
Sooo, still not usable out of the box? Is there any ETA?
UPD: even more strange! I installed qubes-template-kali-core-0:4.2.0-202411221432 and it appears to be original non-kalified debian. Why?
Is there any ETA? Why is kali-core not kali anymore?
I kinda need this for work and this long ongoing situation is very suboptimal.
At this point it would be more reasonable to wipe my work laptop and switch to ubuntu with kvm like any sane person. Then i could use a windows vm and would have a working kali instead of dealing with this.
Because kali-core is broken for over half a year now with dependency conflicts. I just installed a fresh kali-core template and as @arkenoi mentioned, it is a plain debian without kali repos.
I can however convert a fedora or debian to a pentest machine, which will force me to work through this weekend.
However as there is a kali-core template i expect it to work. Otherwise the template should be removed.
As this thread has 17k+ views i suspect that i am not the only one interested in a working kali template.
Sure i can’t “expect” it to work. Of course open source software in general comes with no warranty.
Then i want to rephrase it: I am very sad that kali ceased to function, after years of working properly and angry at me for trusting a community-template to be maintained. I am switching to debian right now.
It is just a bad situation pitching qubes to my collegues and putting hours and hours of free time in my setup and now having to strongly recommend any pentester to not use QubeOS.
Please understand that providing Kali is absolutely not the top priority in the context of it’s not an official template at all. If you absolutely need a working Kali template without waiting half a year, clone Debian template, install Kali repository and its metadata package and that’s all.