The time has come to upgrade default-dvm from Fedora 41 to Fedora 42
However, sys-usb is using default-dvm as its template, and I only have a USB mouse and a USB keyboard
[I will be having a distinct template for sys-usb, which should be less painful for me in the future]
Fedora-36 to 37 upgrade and sys-usb dvm - how to? pointed me at
I clone default-dvm, then I set its template from Fedora 41 to Fedora 42
However, when I type
qvm-shutdown --wait --all; qvm-prefs default-dvm template default-dvm-clone-1; qvm-start [my usb qube]
I get
qvm-prefs: error: wrong VM class: domains['default-dvm-clone-1'] is of type AppVM and not TemplateVM
1) Is my command correct, or have I gotten something wrong? If I have gotten something wrong, then what should the command be?
Template for sys-firewall, sys-net and sys-usb indictaes that command might need to be
qvm-shutdown --wait sys-usb; qvm-prefs sys-usb template fedora-32; qvm-start sys-usb
but that doesn’t align with the documentation, and I don’t want to mess up the qube which allows my mouse and keyboard to talk to my operating system!
I don’t think that How to upgrade a Fedora template in-place — Qubes OS Documentation applies, and it looks more complicated than what I’m comfortable with
Fedora-36 to 37 upgrade and sys-usb dvm - how to? indicates that I should:
Clone sys-usb (done)
Base it on Fedora 42 [done]
Set it to autostart [done]
Attach the same USB-controller to the Fedora 42-based sys-usb qube [I think that this is done; the same entries are visible on the Devices tab for the old and new qubes]
However, I am not sure how to
“Update RPC policies with the new, Fedora 42-based sys-usb qube”
RPC policies — Qubes OS Documentation states that it’s for advanced users
There’s also message about " Qubes OS 4.1 introduced a new qrexec policy system and policy format. Please see this article for details.", which then takes me to a post from June 2020 ![]()
2) If relevant after answering question 1: How do I update my RPC policies?
Searching the forum for “upgrade RPC policies” does not yield anything which looked relevant to me
RPC policies — Qubes OS Documentation is for advanced users
Then I can:
Disable autostart for the Fedora 41-based sys-usb qube [can do, but not before I get the new qube working!]
Reboot [easy :D]
Delete the Fedora 41-based sys-usb qube [easy]
{P.S. Can/how does one do small text on this board please? The Markdown guide does not mention it, and while it would be -# in Discord, no dice here}