Failure to delete fedora-28 (mgmt vm problem)

58 views
Skip to first unread message

Elias Mårtenson

unread,
Feb 27, 2019, 10:12:41 PM2/27/19
to qubes-users
After having migrated all my VM's to fedora-29, I wanted to delete the old fedora-28 template, but it fails:

$ 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?

awokd

unread,
Feb 27, 2019, 10:24:10 PM2/27/19
to qubes...@googlegroups.com
Elias Mårtenson:
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".

Elias Mårtenson

unread,
Feb 27, 2019, 10:27:05 PM2/27/19
to awokd, qubes-users
On Thu, 28 Feb 2019 at 11:24, 'awokd' via qubes-users <qubes...@googlegroups.com> wrote:
 
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".

Thank you. Changing the template fixed the problem, and I was then able to remove fedora-28.

Regards,
Elias
Reply all
Reply to author
Forward
0 new messages