diff --git a/introduction/faq.md b/introduction/faq.md index b020eef1..516491a7 100644 --- a/introduction/faq.md +++ b/introduction/faq.md @@ -645,6 +645,22 @@ From a `dom0` prompt, enter: qvm-prefs 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-`. +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-`, 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. diff --git a/user/managing-os/templates.md b/user/managing-os/templates.md index b092dc93..89e6d9ed 100644 --- a/user/managing-os/templates.md +++ b/user/managing-os/templates.md @@ -78,8 +78,8 @@ Usually, the installation method is to execute the following type of command in $ sudo qubes-dom0-update qubes-template- -(where `qubes-template-` is the name of your TemplateVM package) - +where `qubes-template-` is the name of your TemplateVM package. +If you receive the message that no match is found for `qubes-template-`, 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