Unable to remove TemplateVM from application menu

28 views
Skip to first unread message

Xaver

unread,
Mar 28, 2018, 10:28:12 PM3/28/18
to Google groups Qubes-users
I've successfully removed  a few TemplateVMs from my R-4.0 system but one is being stubborn. The template is still showing up in Qubes manger and when I run qvm-ls.  I went through all the steps in  https://www.qubes-os.org/doc/remove-vm-manually/  and was only able to successfully complete step 1 and 3.
1.   sudo rm -rf /var/lib/qubes/vm-templates/<template-name> # command successful 
2.   qvm-remove --just-db <template-name> # qvm-remove: error: unrecognized arguments: --just-db
3.   sudo rm ~/.local/share/applications/<template-name>* # command successful
4.   sudo rm /etc/xdg/menus/applications-merged/<template-name>* # error : No such file or directory

Also tried:
sudo dnf remove qubes-template-<template-name>
qvm-remove <template>

Does anyone have a suggestion?

Thanks in advance
Xaver





Sent with ProtonMail Secure Email.

sevas

unread,
Mar 28, 2018, 10:37:25 PM3/28/18
to qubes-users
Try doing a search for your template name
$ find / debian-9
Delete everything you find.

$ lvs
$ lvremove debian-9 debian-9-root debian-9-swap #(I think!, double check me)
$ systemctl disable debian-9

cooloutac

unread,
Mar 29, 2018, 12:21:16 PM3/29/18
to qubes-users
Reply all
Reply to author
Forward
0 new messages