Hello, I am running qubes version 4.0.
I wanted to install Fedora template 40, but I got an error saying the template does not exist.
So I tried to list the available templates, but I found that
qvm-template returns “command not found” !
I don’t understand what is happening, seems like this basic utility is not present.
With bash autocomplete the only command starting with that is qvm-template-postprocess … any ideas?
If I remember correctly, the new template mechanism (including qvm-template + its GUI) was introduced in Qubes 4.1, so this won’t work. Before that, you had to install a package with qubes-dom0-update. You won’t be able to install a Fedora 40 template anyway, since they stopped providing templates for that Qubes version a while ago.
You have 2 choices here:
Create a backup of everything and install a fresh Q4.2 system
If you decide to do a backup, keep in mind that you will need to upgrade your template and standalone qubes to the new Qubes version using the following scripts in order:
4.0 to 4.1:
4.1 to 4.2:
Reboot your templates/standalones between each version upgrade.