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

template package removal failing - make template package removal code more resilient #3155

Open
adrelanos opened this Issue Oct 8, 2017 · 1 comment

Comments

Projects
None yet
3 participants
@adrelanos
Member

adrelanos commented Oct 8, 2017

Qubes OS version (e.g., R3.2):

R4 RV1

Affected TemplateVMs (e.g., fedora-23, if applicable):

dom0


Steps to reproduce the behavior:

  1. Not sure. Start from a "messed up" state. In my case tmp-tmp-debian-8 existed but debian-8 not (as a follow up issue of #3153). Or force remove (perhaps with illegal developer-only method) the debian-8 template behind qvm tools back.

sudo dnf remove qubes-template-debian-8

sudo qubes-dom0-update --action=reinstall qubes-template-debian-8 also fails.

Expected behavior:

Package should be removed anyhow.

Actual behavior:

Package not removed because rpm prerun scriptlet fails. It fails because it runs qvm-shutrun debian-8 which fails since there is no such template.

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Oct 8, 2017

Member

Just happened to me exactly the same. Workaround: rpm -e --noscripts qubes-template-debian-8, then install package with qubes-dom0-update normally.

Member

marmarek commented Oct 8, 2017

Just happened to me exactly the same. Workaround: rpm -e --noscripts qubes-template-debian-8, then install package with qubes-dom0-update normally.

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