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

After reinstalling then removing Debian 9 TemplateVM, unable to install the template from the repository. #3477

Closed
duncanguthrie opened this Issue Jan 18, 2018 · 9 comments

Comments

Projects
None yet
5 participants
@duncanguthrie

duncanguthrie commented Jan 18, 2018

Qubes OS version:

R4.0-rc3

Affected TemplateVMs:

debian-9


Steps to reproduce the behavior:

I encountered the behavior twice across two independent [re]installs.
The approximate steps to reproduce it (although it seems fairly random) are as follows:
Reinstall the debian-9 TemplateVM. Then, remove the debian-9 TemplateVM. This did in fact result in me seeing #3294, which I was able to work around the second time.
After removing it, I found I was unable to fetch the TemplateVM from the repository. However, I could search for qubes-template via qubes-dom0-update and a few results would return, but not all of the expected results.

Expected behavior:

sudo qubes-dom0-update qubes-template-debian-9 should install the Debian 9 template.

Actual behavior:

sudo qubes-dom0-update qubes-template-debian-9 presents the error message "No match for argument: qubes-template-debian-9", because it cannot find the package for some reason. Trying it with --enablerepo qubes-templates-itl or --enablerepo qubes-templates-community presents an identical result.

The output of sudo qubes-dom0-update --action=search qubes-template is as follows:
Using sys-firewall as UpdateVM to download updates for Dom0; this may take some time...
Last metadata expiration check: 0:02:00 ago on Thu Jan 18 00:00:01 2018.
=============== Name Matched: qubes-template ====================
qubes-template-debian-8.noarch : Qubes template for debian-8
qubes-template-fedora-25-minimal.noarch: Qubes template for fedora-25-minimal
qubes-template-fedora-26-minimal.noarch: Qubes template for fedora-26-minimal
No packages downloaded
[...]
Error: No matches found.

General notes:


Related issues:

#3294

@duncanguthrie duncanguthrie changed the title from After removing Debian 9 TemplateVM, unable to fetch any templates from the templates repository. to After reinstalling then removing Debian 9 TemplateVM, unable to install the template from the repository. Jan 18, 2018

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Jan 19, 2018

Member

Have you removed debian-9 template using qvm-remove, or dnf remove? If the former, you need to remove qubes-template-debian-9 package to be able to reinstall it back.

Member

marmarek commented Jan 19, 2018

Have you removed debian-9 template using qvm-remove, or dnf remove? If the former, you need to remove qubes-template-debian-9 package to be able to reinstall it back.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Jan 19, 2018

Member

Have you removed debian-9 template using qvm-remove, or dnf remove? If the former, you need to remove qubes-template-debian-9 package to be able to reinstall it back.

Indeed, and the full procedure is documented here:

https://www.qubes-os.org/doc/reinstall-template/

Member

andrewdavidwong commented Jan 19, 2018

Have you removed debian-9 template using qvm-remove, or dnf remove? If the former, you need to remove qubes-template-debian-9 package to be able to reinstall it back.

Indeed, and the full procedure is documented here:

https://www.qubes-os.org/doc/reinstall-template/

@andrewdavidwong andrewdavidwong added this to the Release 4.0 milestone Jan 19, 2018

@tasket

This comment has been minimized.

Show comment
Hide comment
@tasket

tasket Jan 24, 2018

This may be related to issue #3435

tasket commented Jan 24, 2018

This may be related to issue #3435

@lunarthegrey

This comment has been minimized.

Show comment
Hide comment
@lunarthegrey

lunarthegrey Feb 12, 2018

Should be able to close this one right?

Should be able to close this one right?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Feb 12, 2018

Member

Should be able to close this one right?

Why?

Member

andrewdavidwong commented Feb 12, 2018

Should be able to close this one right?

Why?

@lunarthegrey

This comment has been minimized.

Show comment
Hide comment
@lunarthegrey

lunarthegrey Feb 12, 2018

@andrewdavidwong user didn't follow documentation?

@andrewdavidwong user didn't follow documentation?

@duncanguthrie

This comment has been minimized.

Show comment
Hide comment
@duncanguthrie

duncanguthrie Feb 12, 2018

Hi,

I did a bit more testing. Here's what I had to report.

I had removed all other domains' dependency on the debian-9 template.

I then proceeded to remove the template with qvm-remove.

I then proceeded to remove the template package with dnf remove.

This seemed to succeed. Except that certain files had not in fact been deleted, so this had actually failed.

This resulted in me getting confused about being unable to reinstall the template correctly.

Apologies for the late reply.

Hi,

I did a bit more testing. Here's what I had to report.

I had removed all other domains' dependency on the debian-9 template.

I then proceeded to remove the template with qvm-remove.

I then proceeded to remove the template package with dnf remove.

This seemed to succeed. Except that certain files had not in fact been deleted, so this had actually failed.

This resulted in me getting confused about being unable to reinstall the template correctly.

Apologies for the late reply.

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Feb 13, 2018

Member

@duncanguthrie: Well, were you able to reinstall the template or not?

Member

andrewdavidwong commented Feb 13, 2018

@duncanguthrie: Well, were you able to reinstall the template or not?

@andrewdavidwong

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Mar 31, 2018

Member

Closing this for now due to the lack of response. If you revisit the matter in the future, or if anyone would like the issue to remain open, please leave a comment, and we'll be happy to reopen this. Thank you.

Member

andrewdavidwong commented Mar 31, 2018

Closing this for now due to the lack of response. If you revisit the matter in the future, or if anyone would like the issue to remain open, please leave a comment, and we'll be happy to reopen this. Thank you.

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