trying to remove old template but getting error

131 views
Skip to first unread message

Gaiko

unread,
Feb 13, 2017, 7:53:24 PM2/13/17
to qubes-users
I installed the fedora24 template using

sudo qubes-dom0-update qubes-template-fedora-24

Then changed all put then went to global settings, changed the default template, then went into the vm manager and changed the default template for each of the VMs (its a fresh install so there was jsut vault, personal, untrusted, and work) but not the sys-net, sys-firewall, as it had it in my head that was a done deal via global settings.

Anyway, then ran

qvm-create-default-dvm --default-template

then

sudo dnf remove qubes-template-fedora-23

but with the last command I got an error:
no match for argument: qubes-template-fedora-23
Error:no packages marked for removal.

I then looked for other posts and found this (https://groups.google.com/forum/#!searchin/qubes-users/no$20match$20for$20argument$3A$20qubes-template-fedora-23$20Error$3Ano$20packages$20marked$20for$20removal.%7Csort:relevance/qubes-users/v7Svq_KS5us/Xej8hMQICAAJ) but there he had mod'd the qubes.xml file and in that file on my comp I noticed there was not an entry for fedora-24 so I was hesitant to go any further.

So, fedora-23 template files are still in /var/lib/vm-templates/fedora-23
and fedora-23 is still showing up in the VM Manager (indicating it needs updates no less). Fedora 24 is also showing up in the VM Manager, and everything *seems* ok with it except it wasn't in the qubes.xml file which i wasn't sure about...

Thoughts?

Unman

unread,
Feb 13, 2017, 8:06:43 PM2/13/17
to Gaiko, qubes-users
Try 'sudo dnf list installed |grep template'
to check the status with dnf.

Also try qvm-remove qubes-template-fedora-23

Gaiko

unread,
Feb 13, 2017, 8:26:07 PM2/13/17
to qubes-users, gaikokuji...@gmail.com, un...@thirdeyesecurity.org

Thx for the reply.

Tried both, it seems Fedora23 isn't showing up as being installed. When I grep'd the dnf list command the other (including fed24) templates showed up but not f23. When I tried

qvm-remove qubes-template-fedora-23

it told me

A VM with the name qubes-template-fedora-23 does not exist in the system

I thought to take a look in the /var/lib/qubes/vm-templates/fedora23 dir and noticed (du -sh) that there is only 22M of stuff there... so I guess the main files (sorry I don't know the exact files but I figure it would be bigger if f23 was still there) aren't there... but the VM manager thinks F23 is, and the qubes.xml is still something I am not sure about.

further thoughts?

Unman

unread,
Feb 14, 2017, 7:11:19 AM2/14/17
to Gaiko, qubes-users

Gaiko

unread,
Feb 14, 2017, 8:24:37 AM2/14/17
to qubes-users, gaikokuji...@gmail.com, un...@thirdeyesecurity.org

that got it thanx! (i guess the qubes.xml is a non issue?)

Reply all
Reply to author
Forward
0 new messages