Error when trying to install template?

For what ever reason I get this error when I try install a new template have no clue why. Oddly enough I was able to download debian-12-minimal.

sudo qubes-dom0-update qubes-template-debian-12
Using sys-firewall as UpdateVM for Dom0
Downloading packages. This may take a while...
Redirecting to 'qvm-template install  debian-12'
usage: qvm-template [--verbose] [--quiet] [--help] [--repo-files REPO_FILES]
                    [--keyring KEYRING] [--updatevm UPDATEVM]
                    [--enablerepo REPOID] [--disablerepo REPOID]
                    [--repoid REPOS] [--releasever RELEASEVER] [--refresh]
                    [--cachedir CACHEDIR] [--keep-cache] [--yes]
                    {install,reinstall,downgrade,upgrade,download,list,info,search,remove,purge,clean,repolist,migrate-from-rpmdb} ...
qvm-template: error: Template 'debian-12' not found.


sudo qubes-dom0-update qubes-template-fedora-41
Using sys-firewall as UpdateVM for Dom0
Downloading packages. This may take a while...
Redirecting to 'qvm-template install  fedora-41'
usage: qvm-template [--verbose] [--quiet] [--help] [--repo-files REPO_FILES]
                    [--keyring KEYRING] [--updatevm UPDATEVM]
                    [--enablerepo REPOID] [--disablerepo REPOID]
                    [--repoid REPOS] [--releasever RELEASEVER] [--refresh]
                    [--cachedir CACHEDIR] [--keep-cache] [--yes]
                    {install,reinstall,downgrade,upgrade,download,list,info,search,remove,purge,clean,repolist,migrate-from-rpmdb} ...
qvm-template: error: Template 'fedora-41' not found.


sudo qubes-dom0-update qubes-template-fedora-41-minimal
Using sys-firewall as UpdateVM for Dom0
Downloading packages. This may take a while...
Redirecting to 'qvm-template install  fedora-41-minimal'
usage: qvm-template [--verbose] [--quiet] [--help] [--repo-files REPO_FILES]
                    [--keyring KEYRING] [--updatevm UPDATEVM]
                    [--enablerepo REPOID] [--disablerepo REPOID]
                    [--repoid REPOS] [--releasever RELEASEVER] [--refresh]
                    [--cachedir CACHEDIR] [--keep-cache] [--yes]
                    {install,reinstall,downgrade,upgrade,download,list,info,search,remove,purge,clean,repolist,migrate-from-rpmdb} ...
qvm-template: error: Template 'fedora-41-minimal' not found.

qvm-template list
Installed Templates
debian-12-minimal      0:4.3.0-202405272135  qubes-templates-itl
debian-12-xfce         0:4.3.0-202411060308  @commandline
fedora-41-xfce         0:4.3.0-202411300956  @commandline
whonix-gateway-17      0:4.3.0-202405261335  @commandline
whonix-workstation-17  0:4.3.0-202405261335  @commandline
Available Templates
debian-12-minimal  0:4.3.0-202405272135  qubes-templates-itl
1 Like

Based on your qvm-template list, you are using Qubes 4.3 repositories which have not yet been released. debian-12 and fedora-41, which are the gnome template flavor, are not available for this release. That’s why you can’t download them.

1 Like

Hi,
I am getting same error message for upgrading fedora-40 to -41 and using 4.2 rep for fedora (4.0 for the rest).

Any ideas what to do here?

Thanks!

If you are trying to install a Fedora-41 template , use qvm-template install fedora-41

I never presume to speak for the Qubes team.
When I comment in the Forum I speak for myself.

I did try that, but it didn’t work. I couldn’t find it in the template manager either… BUT(!), when I rebooted, the template did come up so I just upgraded from there. Good old reboot, huh?? :slight_smile: