$ sudo dnf info qubes-template-fedora-35
Qubes OS Repository for Dom0 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository ‘qubes-dom0-cached’:
Curl error (37): Couldn’t read a file:// file for file:///var/lib/qubes/updates/repodata/repomd.xml [Couldn’t open file /var/lib/qubes/updates/repodata/repomd.xml]
Error: Failed to download metadata for repo ‘qubes-dom0-cached’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: qubes-dom0-cached
Error: No matching Packages to list
Still kinda confusing, as i run different fedora templates, one is untouched and does the sys-net, sys-fw, sys-usb AppVMs and then i either run in template updates for the others and during last fedora upgraded i noticed that my extra packages were missing which made the whole point of upgrading in template pointless and more time consuming.
Basically if you install a template in dom0, say fedora-34, the package name will be qubes-template-fedora-34. If you perform an in-place upgrade from within the template, the template itself will upgrade to fedora-35 but the package in dom0 will still have the same name, because the actions you perform will be done inside the template.
If you want the package name to be updated as well, you may have to run either sudo qubes-dom0-update qubes-template-fedora-35 or qvm-template install fedora-35 : the whole template will be downloaded and installed from source, with the default packages only.
It does though as i said i believe that i did that for the main AppVMs and still it is not shown listed as installed. It is faster to download the template then do an in-template-upgrade.
Unfortunately i cannot recollect 100% what exactly i did there back then on this particular machine.
Made the updates via Qube manager, right mouse click on new template, update.
All good. qvm-teplate list
shows f-36 as installed this time.
$ sudo dnf info qubes-template-fedora-36
Qubes OS Repository for Dom0
Errors during downloading metadata for repository ‘qubes-dom0-cached’:
Curl error (37): Couldn’t read a file:// file for file:///var/lib/qubes/updates/repodata/repomd.xml [Couldn’t open file /var/lib/qubes/updates/repodata/repomd.xml]
Error: Failed to download metadata for repo ‘qubes-dom0-cached’: Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: qubes-dom0-cached
Error: No matching Packages to list
So it seems that this error does show up even wit correct update command.