New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reinstalling template is broken #3666

Closed
hyperfekt opened this Issue Mar 7, 2018 · 6 comments

Comments

Projects
None yet
3 participants
@hyperfekt

hyperfekt commented Mar 7, 2018

Qubes OS version:

R4.0rc5

Affected component(s):

qubes-dom0-update


Steps to reproduce the behavior:

As described in the documentation,
execute the command sudo qubes-dom0-update --action=reinstall qubes-template-[template name]

Expected behavior:

The template is reinstalled, only affecting the template's part of the application menu.
Afterwards, the template can be started and used normally.

Actual behavior:

The entire System Tools category as well as the Log Out menu, the Run Program dialog and the Create Qubes VM dialog are gone from the dom0 application menu, which instead displays No applications found.
Upon further inspection, all the .desktop files turn out to be missing.
Additionally, trying to start the template fails with VM directory does not exist: /var/lib/qubes/vm-templates/[template name].

General notes:

The application menu entries can be restored by reinstalling the relevant packages with sudo qubes-dom0-update --action=reinstall $(rpm -qa | grep 'qubes\|xfce4' | grep -v 'template\|kernel').


Related issues:

@hyperfekt hyperfekt changed the title from Reinstalling template deletes dom0 application menu to Reinstalling template deletes dom0 application menu entries Mar 7, 2018

@hyperfekt hyperfekt changed the title from Reinstalling template deletes dom0 application menu entries to Reinstalling template is broken Mar 7, 2018

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Mar 7, 2018

Current title and description = Duplicate of issue #3169

@hyperfekt - This could be rephrased more like original title to address the problem of erasing menu entries when a template-related operation fails.

tasket commented Mar 7, 2018

Current title and description = Duplicate of issue #3169

@hyperfekt - This could be rephrased more like original title to address the problem of erasing menu entries when a template-related operation fails.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 8, 2018

Member

This could be rephrased more like original title to address the problem of erasing menu entries when a template-related operation fails.

I think that should be taken care of #3169 too. Once reinstallation works correctly, erasing menu entries on failure shouldn't be an issue anymore, right?

Member

andrewdavidwong commented Mar 8, 2018

This could be rephrased more like original title to address the problem of erasing menu entries when a template-related operation fails.

I think that should be taken care of #3169 too. Once reinstallation works correctly, erasing menu entries on failure shouldn't be an issue anymore, right?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 8, 2018

Member

Duplicate of #3169

Member

andrewdavidwong commented Mar 8, 2018

Duplicate of #3169

@andrewdavidwong andrewdavidwong marked this as a duplicate of #3169 Mar 8, 2018

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 8, 2018

Member

This appears to be a duplicate of an existing issue. If you believe this is not really a duplicate, please leave a comment briefly explaining why. We'll be happy to take another look and, if appropriate, reopen this issue. Thank you.

Member

andrewdavidwong commented Mar 8, 2018

This appears to be a duplicate of an existing issue. If you believe this is not really a duplicate, please leave a comment briefly explaining why. We'll be happy to take another look and, if appropriate, reopen this issue. Thank you.

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Mar 8, 2018

Once reinstallation works correctly, erasing menu entries on failure shouldn't be an issue anymore, right?

Issue #3169 triggers it, but underlying problem is #3294 where the rpm script doesn't work right. We should be able to get install errors without unrelated menus disappearing.

tasket commented Mar 8, 2018

Once reinstallation works correctly, erasing menu entries on failure shouldn't be an issue anymore, right?

Issue #3169 triggers it, but underlying problem is #3294 where the rpm script doesn't work right. We should be able to get install errors without unrelated menus disappearing.

@hyperfekt

This comment has been minimized.

Show comment
Hide comment
@hyperfekt

hyperfekt Mar 8, 2018

I see. Sorry for the duplicate, as you can see it started out with the application menu which I didn't find an issue for and I didn't search again when I discovered it had failed completely. Thanks for the pointers!

hyperfekt commented Mar 8, 2018

I see. Sorry for the duplicate, as you can see it started out with the application menu which I didn't find an issue for and I didn't search again when I discovered it had failed completely. Thanks for the pointers!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment