$ qvm-remove fedora-28
This will completely remove the selected VM(s)...
fedora-28
Are you sure? [y/N] y
VM fedora-28 cannot be removed. It is in use as:
- template for default-mgmt-dvm
I don't think such a VM should be lingering in the system, so I tried to remove it:
$ qvm-remove default-mgmt-dvm
This will completely remove the selected VM(s)...
default-mgmt-dvm
Are you sure? [y/N] y
VM default-mgmt-dvm cannot be removed. It is in use as:
That's not an incorrect cut&paste. The list of VM's for which it is in use is blank.
What could have gone wrong here, and how can I fix this?
You can't remove default-mgmt-dvm. Qubes uses it internally. You can
change it to a different template, say fedora-29. Then you should be
able to remove fedora-28. If not, try removing it with "dnf remove
qubes-template-fedora-28".