removing of f23 template did not go as planned

143 views
Skip to first unread message

cubit

unread,
Jan 3, 2017, 2:49:00 PM1/3/17
to Qubes Users
Has anyone else run into this.  I was attempting to remove the Fedora 23  template as I no longer use it.

I removed my cloned F23 templates with the gui manager and that went OK but when I did a dnf remove from terminal in dom0  for the main template I got a bunch of file not found errors and even though it says it removed the template and can't be found with dnf list or in qubes manager,  the template entry is still in my application menu.

Any suggestions on how to clean this up properly would be appreciated

Below if the output of dnf remove

$ sudo dnf remove qubes-template-fedora-23
Dependencies resolved.
================================================================================
 Package                  Arch   Version               Repository          Size
================================================================================
Removing:
 qubes-template-fedora-23 noarch 3.0.6-201608081228    @qubes-dom0-cached 3.3 G

Transaction Summary
================================================================================
Remove  1 Package

Installed size: 3.3 G
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
A VM with the name 'fedora-23-dvm' does not exist in the system.
--> Removing menu shortcuts...
  Erasing     : qubes-template-fedora-23-3.0.6-201608081228.noarch          1/1
warning: file /var/lib/qubes/vm-templates/fedora-23/root.img.part.03: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23/root.img.part.02: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23/root.img.part.01: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23/root.img.part.00: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23/apps.templates: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23/apps.tempicons: remove failed: No such file or directory
warning: file /var/lib/qubes/vm-templates/fedora-23/apps: remove failed: No such file or directory
  Verifying   : qubes-template-fedora-23-3.0.6-201608081228.noarch          1/1

Removed:
  qubes-template-fedora-23.noarch 3.0.6-201608081228                           

Complete!




Andrew David Wong

unread,
Jan 3, 2017, 4:06:05 PM1/3/17
to cubit, Qubes Users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Not sure why the removal failed, but you can clean up any remnants by following these instructions:

https://www.qubes-os.org/doc/remove-vm-manually/

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYbBIxAAoJENtN07w5UDAw4nAP/0B5uG/PS602aAvIdOuXM+Cb
c7HFlQL+n+08p7JwTRYnlOifPj3+MLSpPFBB6db9T2l/zwMWvKyKKk4CtS0t6ady
ftCTUjMWnaql35/YeJ2qZQzfaw3ihkHDvy4pPsrFpmHOSMFmSChRIeqA+AjxYgge
NZgPgbHvComjtq4++RuJan+FJ/LmtX8ahG5EVN3KszVvqULOHYunpznqovDIT371
4bHfD7OH3Nb1J8Ee8U/SnlPkEfOp6V4/0nRqku2xiZ13GgBtTrWXZ4XJwP16Og94
bS5Tr1K5Rsw7ZmiJWAazTfwoHhOc0fWdyhaa+f2siuYiBTKTByy0qwXVWkLKWvXz
6NwukOAKIe2zSrPPQ2vTypi+lybCZQIDjeOx2DXHMHSN3EfyBAlyiD4vrTCiom6t
oW5Boyr1hUoXRtaL1r7jCz0wQ3Dxm3cq2N2lVz8xqGJWqWU0uU+kqL8T1Aq1bZUk
NXeuIgDou1nDL3MOKM2H5nX7pCVVr6H32RIUkj9EuOxkH6RZuFYnrS1Js4xwRdrR
OtnI5yu6OQV29HUmagunkPdCEAgpQnKMfR7iwVbxmmukCzcmNtBgRoRuCPeF6P8A
mnkFMhjQoQAwDG3za1kcX5fk+wt4b31ODdvN5L8qR2I+2HHwS8hrqCMSDa1KotTk
ujjQi9DTStRpJ7v6Zk67
=9s6J
-----END PGP SIGNATURE-----

cubit

unread,
Jan 3, 2017, 4:46:23 PM1/3/17
to Andrew David Wong, Qubes Users
3. Jan 2017 21:05 by a...@qubes-os.org:

Not sure why the removal failed, but you can clean up any remnants by following these instructions:

https://www.qubes-os.org/doc/remove-vm-manually



Fixed,  the dnf remove cleaned up everything but the .desktop files.  rm'ing those got rid of the app menu entries





raah...@gmail.com

unread,
Mar 9, 2017, 12:32:44 AM3/9/17
to qubes-users, a...@qubes-os.org, cu...@tutanota.com
it just happened to me

raah...@gmail.com

unread,
Mar 9, 2017, 12:41:11 AM3/9/17
to qubes-users, a...@qubes-os.org, cu...@tutanota.com, raah...@gmail.com
you might want to give example template name cause I was typing qubes-template-fedora-23 before realizing needed to be just fedora-23.

Grzesiek Chodzicki

unread,
Mar 9, 2017, 11:10:04 AM3/9/17
to qubes-users, cu...@tutanota.com
Hi Andrew,

THe provided insutrctions still leave the fedora-23 entry in the Applications Menu. Any hint on how to remove that?

Andrew David Wong

unread,
Mar 9, 2017, 11:19:31 AM3/9/17
to Grzesiek Chodzicki, qubes-users, cu...@tutanota.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

> Hi Andrew,
>
> THe provided insutrctions still leave the fedora-23 entry in the Applications Menu. Any hint on how to remove that?
>

I recall a message or thread recently that explained how to remove that. You might want to try searching the archives.

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYwYCAAAoJENtN07w5UDAwgkUP/12GUoHRpgnFjNWq/3WjoTsi
0Rb1g7I8gPMJKKWew1BKdEt0i7IJW+mhUL8XWZu+h429jxX+gOV7n/z21yimGV/1
8v/25HXvSft9G5FYxW2BG2UtsX+2a1DHnidz46w8kKD6SdfPCVJAdt6Lu50fjRdH
qWkkx50bDHAApMh05pGfLTVftqkZUiT5AuQxdTItRbcLerx4PQ/KTeHtImN6OoJS
k+4LJOeCbXZ/ksowgU0xLpBhE+LDbtQ+3egTwtY6jrHaTObB8jK8Z/sN2oEYbO+1
LiVfvosYFBEn087M8Cxrzd4ly7QqXOj8M+KlR39P6Z3cTNBQJtUxRDwUvgcjbAG3
aK4GTHr+XSCz5zQyNEvRC8cLtQ+ggP5G6T40QvrqvQ7QVCCyc/cRGvXaQiMf2KQN
zUQDWjcrOq9MYByzkCQIRKFZ70gbAHl3UO7eZikFtA+2BneMlLMKdaWAU5pJhm2Y
zhAzJJy1aKgpVmm+NWbupPmBEoXeydlGRkDOFDQ6JRfzn8VDisq0E9uaY+1A5t0M
Yzb0y1UdB4gChJKX7HBzCigp/T9tPJ/E2KaZ/MXx/Al/8mw48cd31hshlu2xxcJk
WrLkEs+DLSp8DFke2rkt6rrJHRrUilZQ7PAqJr7P9/JSynLOS5XAAJ+JgA74W6D9
/zgtq0Whg8J1NRqjQ4Ig
=aVkZ
-----END PGP SIGNATURE-----

Grzesiek Chodzicki

unread,
Mar 9, 2017, 11:28:18 AM3/9/17
to qubes-users, grzegorz....@gmail.com, cu...@tutanota.com
Found it!
sudo rm /etc/xdg/menus/applications-merged/fedora-23-vm.menu
I'll send a PR to the appropriate page.

Andrew David Wong

unread,
Mar 9, 2017, 11:32:13 AM3/9/17
to Grzesiek Chodzicki, qubes-users, cu...@tutanota.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 2017-03-09 08:28, Grzesiek Chodzicki wrote:
> W dniu czwartek, 9 marca 2017 17:19:31 UTC+1 użytkownik Andrew
> David Wong napisał: On 2017-03-09 08:10, Grzesiek Chodzicki wrote:
>>>> W dniu wtorek, 3 stycznia 2017 22:06:05 UTC+1 użytkownik
>>>> Andrew David Wong napisał: On 2017-01-03 11:48, cubit wrote:
>>>>>>> Has anyone else run into this. I was attempting to
>>>>>>> remove the Fedora 23 template as I no longer use it.
>>>>>>>
>>>>>>> I removed my cloned F23 templates with the gui manager
>>>>>>> and that went OK but when I did a dnf remove from
>>>>>>> terminal in dom0 for the main template I got a bunch
>>>>>>> of file not found errors and even though it says it
>>>>>>> removed the template and can't be found with dnf list
>>>>>>> or in qubes manager, the template entry is still in my
>>>>>>> application menu.
>>>>>>>
>>>>>>> Any suggestions on how to clean this up properly would
>>>>>>> be appreciated
>>>>>>>
>>>>>>> Below if the output of dnf remove
>>>>>>>
>>>>>>> [...]
>>>>
>>>> Not sure why the removal failed, but you can clean up any
>>>> remnants by following these instructions:
>>>>
>>>> https://www.qubes-os.org/doc/remove-vm-manually/
>>>>
>>>>
>>>> Hi Andrew,
>>>>
>>>> THe provided insutrctions still leave the fedora-23 entry in
>>>> the Applications Menu. Any hint on how to remove that?
>>>>
>
> I recall a message or thread recently that explained how to remove
> that. You might want to try searching the archives.
>
>
> Found it! sudo rm
> /etc/xdg/menus/applications-merged/fedora-23-vm.menu I'll send a PR
> to the appropriate page.
>

Thanks!

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYwYN0AAoJENtN07w5UDAw3LAQAJMGr0A84rp2W1Nx58l7nbhM
N4ZhIzUARzhSDmugJd34wBKSNXqaeP95jpZflKP9MnlnHOpH+bcRNHazbuRYVdra
T7OgiToocxFPhk+7P7C+tfkQm8CBJv1LxcxXmU8t8DYprrWll45FfbSCtd6i9tzd
ql01bZKKCEqj8MGKlomnxena+IGGJCZiPeKLpi653kdUg7zJedhHtcbFfNnMOg1Q
HZ0mZTE3745Z1tnKqlVCiYDdvsp70bqxFVk4PexGTFL1LgTdcoSJj8TpShJlEZzx
NAicwb+yT2u4JNjumMV5rWAv9i/Fr/OYZ3Wcjm30r2B3vHn3pKK/4+BTNq8kjHgZ
Ku7jcu5jvOWdCA5rftD87350U4QUeuob0N0pBrEjk48q8uNu0JJKrjWISqv9fkqk
FcDqw92fUkOH3OZyWjaVlQab3/wxtV9rLhxovZn+omxFFB72emffra8wVqd6gVGJ
W/NHKxuTaGiRscyBvlsfjkUIfrsaXp0iw/GjacjGRG/vAzH7herfc1T13lpLU10R
gx5JxOHXuVpXZ93/KwYwRTumYOsr6UO29d89x9CuT9z1BO9ldlRlqFpc1XAH5qNl
5I3Pmi9S2xxNluhjlVKdVbXBjEXHfhPr/3jJb1ggN/LNTWm1fyCkqAznBmIN0ER3
fSXPEfVh4Z0eJgmkm6v2
=hQjB
-----END PGP SIGNATURE-----

Andrew David Wong

unread,
Mar 9, 2017, 11:35:51 AM3/9/17
to Grzesiek Chodzicki, qubes-users, cu...@tutanota.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I've confirmed that the fourth steps fixes the issue. This bug is
being tracked here:

https://github.com/QubesOS/qubes-issues/issues/2689

- --
Andrew David Wong (Axon)
Community Manager, Qubes OS
https://www.qubes-os.org
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJYwYRUAAoJENtN07w5UDAwuKEQALS8BTOSSQGm/gT9TkJcZZzQ
kWTPmF1nPi+EP9H0A1tOPA1y/Ttd3lG9A/rrFGCo4IN159DYZrJUx6jmyGhuJKvC
Z2/npXg4tvdzssY7j2/1MffTXGPMxtaQabINojZoD4ENaIRUBcs7kXEhO3l0SSbU
/hJAahDw+qYD0/B12unuGrYAFRQ/BbQa/fczP98zwjPOe9bVHJZoWyAn+kzMMhGK
lUciEfoj2XTrSD8sab/AjM6Cg2ghg/qZmLbOVtjlEPNz+0xZOtQE4NoMDnEpbM2K
aHKnhJ5BHnblnwC7Xzbcn+8FYTVY9prlsJtPZoBgbYhIUHE9OzqVWdMqfToEcr19
cFQoXkUUjC+3PahZUchIF0o9P/3oIQyBRkBRN2hqHC0dmR5EQsGLfFzi/uk+0Xzc
y/NQo+qymLiIdUFvavcTLV6R9pimNGutY9AsK9IuosRicsVr7asoHfA2HGB7lbEB
mREoNAsZGbu0FSbwueiDd+6KtkCHfrXPppJHq3QuregLU6rwx+bVAMARa96nbPIV
iutxiqY93c8Agfl7BwrGuSwYLPOIx7iMT5z0h66pKvZJGbVYDcnWBcIHzjKPJWBB
a5NCtVwxRgog3LBr6dywXNsMLbMAKtXIV+MwqBYEbvA07KM95sbHHtWygI9n3K7a
hf78XbXng/NlQvApnweQ
=euWJ
-----END PGP SIGNATURE-----

raah...@gmail.com

unread,
Mar 9, 2017, 1:08:47 PM3/9/17
to qubes-users, grzegorz....@gmail.com, cu...@tutanota.com
thanks!!

raah...@gmail.com

unread,
Mar 9, 2017, 1:19:08 PM3/9/17
to qubes-users, grzegorz....@gmail.com, cu...@tutanota.com
not working for me man even after a reboot fedora-23 still in the start menu. any ideas? I looked in the applications-merged directory and don't see it?

raah...@gmail.com

unread,
Mar 9, 2017, 1:21:54 PM3/9/17
to qubes-users, grzegorz....@gmail.com, cu...@tutanota.com, raah...@gmail.com
actually I see debian, qubes, and whonix files in there. I don't even see fedora-24 in that directory.

raah...@gmail.com

unread,
Mar 9, 2017, 1:31:59 PM3/9/17
to qubes-users, grzegorz....@gmail.com, cu...@tutanota.com, raah...@gmail.com
On Thursday, March 9, 2017 at 1:21:54 PM UTC-5, raah...@gmail.com wrote:
> actually I see debian, qubes, and whonix files in there. I don't even see fedora-24 in that directory.

oh sorry this is another machine I just happened to notice fedora-23 on start menu. I never noticed before lol one of the steps 1-3 did it on here.

I'll try step 4 on the other machine that has fedora-23 in start menu which I've already tried steps 1-3 on.

Reply all
Reply to author
Forward
0 new messages