Qvm-template command line error

Hello,

I have the following error :

[user@dom0 ~]$ qvm-template info
[Qrexec] /usr/lib/qubes/qvm-template-repo-query: line 40: dnf: command not found
ERROR: qrexec call 'qubes.TemplateSearch' failed.
[user@dom0 ~]$ sudo qvm-template info
[Qrexec] /usr/lib/qubes/qvm-template-repo-query: line 40: dnf: command not found
ERROR: qrexec call 'qubes.TemplateSearch' failed.
[user@dom0 ~]$ sudo qvm-template list -v
[Qrexec] /usr/lib/qubes/qvm-template-repo-query: line 40: dnf: command not found
ERROR: qrexec call 'qubes.TemplateSearch' failed.
2021-06-03 19:44:54,417 [MainProcess qvm_template.main:1544] app: qrexec call 'qubes.TemplateSearch' failed.
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/qubesadmin/tools/qvm_template.py", line 1527, in main
    list_templates(p_args, app, 'list')
  File "/usr/lib/python3.8/site-packages/qubesadmin/tools/qvm_template.py", line 1177, in list_templates
    query_res = qrexec_repoquery(args, app)
  File "/usr/lib/python3.8/site-packages/qubesadmin/tools/qvm_template.py", line 490, in qrexec_repoquery
    raise ConnectionError("qrexec call 'qubes.TemplateSearch' failed.")
ConnectionError: qrexec call 'qubes.TemplateSearch' failed