Cannot download templates - 4.1-rc1

Hi,
my system is failing to download templates. It is showing the following error: “cannot open /etc/qubes-rpc/qubes.TemplateSearch: No such file”.
Any ideas?

Best regards

Minimal Template installation fails in Qubes 4.1rc1 - User Support / 4.1 - Qubes OS Forum (qubes-os.org)

Check this out, for full details :

  • Initial config use fedora-34 as default
  • Use sys-firewall to download templates.

This is an issue specific to dom0 UpdateVM’s TemplateVM.
Somewhy qvm-template install... (which qubes-dom0-update qubes-template-... is redirecting to on R4.1) doesn’t seem to work with Debian 10, Debian 11, Fedora 33 (restored from 4.0) or Whonix GW 16 (which is based on Debian 11) based UpdateVM’s for dom0 (sys-firewall, sys-whonix and such). Didn’t test restoring Fedora 34 from 4.0 but would presume that it wound’t work either.

So yes, technically selecting Fedora 34 as default TemplateVM during install and setting sys-firewall as an UpdateVM for dom0 solves this issue. The causation of it is not selecting Debian 11 as default TemplateVM during install.
As long as you install Fedora 34 template, you can install additional templates via qvm-templates command if your dom0’s UpdateVM is based on Fedora 34.

Related topics:

So I made my update vm fedora-34 based…it is working now.
Nevertheless it should be possible to update through whonix as well.

Thx for helping!