Explain no match when installing TemplateVM

https://github.com/QubesOS/qubes-issues/issues/4858
This commit is contained in:
Andrew David Wong 2020-09-07 00:09:47 -05:00
parent 899c839885
commit c7c4063654
No known key found for this signature in database
GPG Key ID: 8CE137352A019A17
2 changed files with 19 additions and 2 deletions

View File

@ -645,6 +645,22 @@ From a `dom0` prompt, enter:
qvm-prefs <HVMname> kernel ""
### When I try to install a TemplateVM, it says no match is found.
For example:
```
[user@dom0 ~]$ sudo qubes-dom0-update --enablerepo=qubes-templates-itl qubes-template-debian-10
Using sys-whonix as UpdateVM to download updates for Dom0; this may take some time...
No Match for argument qubes-template-debian-10
Nothing to download
```
This normally means you already have the template installed.
It may be that you have the matching package installed, but you removed or renamed the template.
Check `rpm -q qubes-template-<name>`.
If it lists the package, but you don't really have the template present (`qvm-ls` doesn't list it), you need to clean up leftovers of the package with `rpm -e --noscripts qubes-template-<name>`, then install it normally.
### I keep getting "Failed to synchronize cache for repo" errors when trying to update my Fedora templates
This is general Fedora issue, not a Qubes-specific issue.

View File

@ -78,8 +78,8 @@ Usually, the installation method is to execute the following type of command in
$ sudo qubes-dom0-update qubes-template-<name>
(where `qubes-template-<name>` is the name of your TemplateVM package)
where `qubes-template-<name>` is the name of your TemplateVM package.
If you receive the message that no match is found for `qubes-template-<name>`, see [here][no-match].
## After Installing
@ -274,3 +274,4 @@ Note the word "clean" means in this context: the same as their template filesyst
[uninstall the old TemplateVM]: #uninstalling
[Updating software in TemplateVMs]: /doc/software-update-domu/#updating-software-in-templatevms
[How to Reinstall a TemplateVM]: /doc/reinstall-template/
[no-match]: /faq/#when-i-try-to-install-a-templatevm-it-says-no-match-is-found