4.1 kali template bug

Hi,

i have a kali HVM with the name “kali”.

In this configuration the kali community template will not install.

[root@dom0 user]# qubes-dom0-update --enablerepo=qubes-templates-community-testing qubes-template-kali
Redirecting to 'qvm-template install --enablerepo=qubes-templates-community-testing kali'
Template 'kali' already installed, skipping... (You may want to use the {reinstall,upgrade,downgrade} operations.)

After renaming the HVM to “kali2” stuff happens, but it does not work either.

[root@dom0 user]# sudo qubes-dom0-update --enablerepo=qubes-templates-community-testing qubes-template-kali
Redirecting to 'qvm-template install --enablerepo=qubes-templates-community-testing kali'
Downloading 'qubes-template-kali-0:4.0.6-202106171816'...
qubes-template-kali-0:4.0.6-202106171816:   0%|                                                                                              | 0.00/3.32G [00:00<?, ?B/s]
'qubes-template-kali-0:4.0.6-202106171816' download failed, retrying...
qubes-template-kali-0:4.0.6-202106171816:   0%|                                                                                              | 0.00/3.32G [00:00<?, ?B/s]
'qubes-template-kali-0:4.0.6-202106171816' download failed, retrying...
qubes-template-kali-0:4.0.6-202106171816:   0%|                                                                                              | 0.00/3.32G [00:00<?, ?B/s]
'qubes-template-kali-0:4.0.6-202106171816' download failed, retrying...
qubes-template-kali-0:4.0.6-202106171816:   0%|                                                                                              | 0.00/3.32G [00:00<?, ?B/s]
'qubes-template-kali-0:4.0.6-202106171816' download failed, retrying...
qubes-template-kali-0:4.0.6-202106171816:   0%|                                                                                              | 0.00/3.32G [00:00<?, ?B/s]
Error: 'qubes-template-kali-0:4.0.6-202106171816' download failed.

Any idea on what this could be?

Updates over tor is enabled, restarting sys-whonix does not help.

  1. The problem is qvm-template checked template name before installing, if the given name exist, it will return an error.

  2. There’s a problem with 4.1rc especially with qvm-template command :

  • Your base template is debian > error.
  • Your base template is fedora but using debian based on networking (whonix too) > error.
  • If your base template is fedora, change dom0 updatevm with fedora based network. This only apply with qvm-template, dom0 update with sys-whonix is fine.