ymy
November 20, 2023, 10:53am
1
I downloaded the template and want to install it later but aparently the download seem to be going no where i when i install it just downloads the template installer again? Hmm
[user@dom0 ~]$ qvm-template download fedora-39-xfce
Downloading 'qubes-template-fedora-39-xfce-0:4.2.0-202311171322'...
qubes-template-fedora-39-xfce-0:4.2.0-202311171322: 100%|███████████████████████████████████████████████████████████████████████████████████████████████▉| 1.57G/1.57G [21:46<00:00, 1.20MB/s]
[user@dom0 ~]$ qvm-template install fedora-39-xfce
Downloading 'qubes-template-fedora-39-xfce-0:4.2.0-202311171322'...
qubes-template-fedora-39-xfce-0:4.2.0-202311171322: 1%|█ | 16.8M/1.57G [00:51<1:23:33, 310kB/s]
barto
November 20, 2023, 11:29am
2
man qvm-template
says that the default download dir is ‘.’ (current directory).
EDIT : You have to move the downloaded file to the cache directory.
[you@dom0 ~]$ mkdir -p .cache/qvm-template
[you@dom0 ~]$ mv {TEMPLATE FILENAME} .cache/qvm-template
[you@dom0 ~]$ qvm-install {TEMPLATE NAME}
Where {TEMPLATE NAME} is “fedora-39-xfce” in your case, and {TEMPLATE FILENAME} is
“qubes-template-fedora-39-xfce-0:4.2.0-202311171322…” (press Tab for completion).
1 Like
The downloaded .rpm file in the working directory can be passed to qvm-template install
directly.
$ qvm-template --keyring=/etc/qubes/repo-templates/keys/RPM-GPG-KEY-qubes-4.2-primary install 'qubes-template-fedora-39-xfce-0:4.2.0-202311171322.rpm'
--keyring=...
is only necessary at the moment due to an R4.2 bug:
QubesOS:main
← rustybird:qvm-template_keyring_r4.2
opened 07:37PM - 17 Nov 23 UTC
3 Likes
ymy
November 20, 2023, 4:46pm
4
thank you both so much, some time you dont see the tree in the woods. (:
also good to know that there is an issue allready worked on.
1 Like