Upgraded Fedora-23 template to Fedora-25 ... "Houston, we have a problem!"

218 views
Skip to first unread message

dev...@gmail.com

unread,
May 13, 2017, 6:47:26 AM5/13/17
to qubes-users
I followed the steps here to upgrade the Fedora-23 template to Fedora-25 (rather than 24): https://www.qubes-os.org/doc/template/fedora/upgrade-23-to-24/

I did everything as described until missing a key step at the end. I checked that the Fedora-23 template was not running, cloned it, upgraded, shutdown and trimmed (steps 1,2, 3, 4 & 6).

Then I followed 7, parts 1&3 but forgot #2!

> Base AppVMs on the new template. In Qubes Manager, for each VM that is
> currently based on fedora-23 that you would like to base on fedora-24, enter
> its VM settings and change the Template selection:

> Qubes Manager –> (Select a VM) –> VM settings –> Template

I then followed #8:

sudo dnf remove qubes-template-fedora-23

OMG - Dom0 comes up, but of course none of the VM's run. Can someone help me out of this fix? I'd be eternally grateful!

/D






dev...@gmail.com

unread,
May 13, 2017, 7:21:54 AM5/13/17
to qubes-users, dev...@gmail.com
Ok, for anyone else who makes such a stupid mistake, you can change the templates of all the VM's through the Dom0 command line. To get the list of properties of a VM, use:

qvm-prefs -l <vm-name>

Then, change the the template property (not the root_img property) for each of the VM's:

qvm-prefs -s <vmname> template fedora-25

------

Now, the only question left - how to remove "Template:fedora-23" from the Applications menu?

Grzesiek Chodzicki

unread,
May 13, 2017, 12:10:08 PM5/13/17
to qubes-users, dev...@gmail.com
sudo rm /etc/xdg/menus/applications-merged/<template-name>*

dev...@gmail.com

unread,
May 14, 2017, 6:05:34 AM5/14/17
to qubes-users, dev...@gmail.com
Many thanks Grzesiek! It seems there's a command line tool to handle the menu, so it can be done this way:

sudo xdg-desktop-menu uninstall fedora-23-vm.directory fedora-23-qubes-appmenu-select.desktop

Those latter two identified by looking in the directory you specified, /etc/xdg/menus/applicaitons-merged and reading the fedora-23-vm.menu file.

Reply all
Reply to author
Forward
0 new messages