Getting away from a debian 12 template for sys-firewall and sys-whonix

So recently updated to 4.3, the old deb 12 template that is running sys-firewall and sys-whonix cant be deleted because it is the base for the DVM. Am I correct in assuming that this will change on the next reebot if I adjust the global settings to deb-13. Then I can delete deb-12 template.

Or is this process more obtuse than that?

If I get you correctly, you need to change the template:

user@dom0 ~ $ qvm-prefs sys-firewall template
default-dvm
user@dom0 ~ $ qvm-prefs default-dvm template
fedora-43-xfce

So run:

qvm-prefs default-dvm template <your-new-template-vm-here>

No need to reboot.

I ran both. in order.

qvm-prefs: error: cannot change template while qube is running

qvm-prefs: error: (‘Cannot change templat while there are running disposables based on this disposable template’

Well, you can just shut them down first. sys-firewall can be restarted freely without many issues.

Even when I do that it still says there is a qube using default -dvm. I don’t want to do it while connected to the network but I have done it once already. If you need the exact error I can do it again.

this is despite template switcher showing no other qubes using it.

Do you have preloaded disposables based on default-dvm?

Not to my knowledge I don’t but something is stopping it and I cant seem to find what.

Sorry if I left the question a little open ended I just tend to assume possibly it’s my error so I started at the goal.

Could you post the output of running

qvm-ls | grep -v Halted | grep "default-dvm"

in dom0?

And qvm-ls --template-source deb-12?

I cant exactly copy paste from the term to the webGUI for the forum

but I am finding two dispvm’s that are paused. wioth the Greps,

The other query just gives headers with no data.

NAME STATE CLASS LABEL TEMPLATE NETVM and nothing under it.

I assume I need to close these disposables. IDK what there doing? Or why they would be on at all. I mean I have used disposable VMS in the past for tor such but wouldn’t they shutdown when I reboot or turn the computer off?

I am going to shut down and SYS Firewall and try again. If that works I will mark this solved thanks. An now I know how to do this.

ok thats weired they both return

Qubes disp#### failed to shut down: Domain not running either powered off or paused): ‘disp####’

It might be preloaded disposables. Qubes OS 4.3 release notes — Qubes OS Documentation

It means that there is no qube based on a deb-12 template…

according to qubes manager default-dvm is

one sec

In Qubes Global Config, untick Preload disposable qubes and retry?

You followed all the steps here?

that did it. I love qubes but as with all linux sometimes the dominant process is hard to find. One would think the term would have preference of such things. Any way thank you for your help.

I read this thread and I don’t think it was preloaded disposables, because it is skipped from validation. In the end, we don’t have enough information to know what happened.

is there something I can give you that will help. A log file etc?