[qubes-users] qubes.TemplateSearch is missing

The process of upgrading my debian-11 and fedora-34 templates to 4.1 did
not work out, and I need to reinstall those templates.

When I go to do
  sudo qubes-dom0-update --action=reinstall qubes-template-debian-11

I get the error:

$ sudo qubes-dom0-update --action=reinstall qubes-template-debian-11
Redirecting to 'qvm-template reinstall debian-11'
[Qrexec] /bin/sh: /etc/qubes-rpc/qubes.TemplateSearch: No such file or directory
ERROR: qrexec call 'qubes.TemplateSearch' failed.

Where can I get the TemplateSearch service?