Whonix 17 install issue

I guess 1.4 GB is still not enough and template may need 2-2.5 GB of free space.

Remove the kernel-6.1.62-1 packages and try to install whonix-gateway-17 template again.

[Main@dom0 ~]$ sudo dnf remove kernel-6.1.62-1.qubes.fc32 kernel-devel-6.1.57-1.qubes.fc32 kernel-modules-6.1.62-1.qubes.fc32
No match for argument: kernel-devel-6.1.57-1.qubes.fc32
Dependencies resolved.

Package Arch Version Repository Size

Removing:
kernel x86_64 1000:6.1.62-1.qubes.fc32 @qubes-dom0-cached 36 M
kernel-modules x86_64 1000:6.1.62-1.qubes.fc32 @qubes-dom0-cached 361 M

Transaction Summary

Remove 2 Packages

Freed space: 397 M
Is this ok [y/N]: y
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: kernel-1000:6.1.62-1.qubes.fc32.x86_64 1/2
Generating grub configuration file …
Found theme: /boot/grub2/themes/qubes/theme.txt
Found linux image: /boot/vmlinuz-6.1.75-1.qubes.fc32.x86_64
Found initrd image: /boot/initramfs-6.1.75-1.qubes.fc32.x86_64.img
Found linux image: /boot/vmlinuz-6.1.75-1.qubes.fc32.x86_64
Found initrd image: /boot/initramfs-6.1.75-1.qubes.fc32.x86_64.img
done

Erasing : kernel-1000:6.1.62-1.qubes.fc32.x86_64 1/2
warning: file /boot/vmlinuz-6.1.62-1.qubes.fc32.x86_64: remove failed: No such file or directory
warning: file /boot/config-6.1.62-1.qubes.fc32.x86_64: remove failed: No such file or directory
warning: file /boot/System.map-6.1.62-1.qubes.fc32.x86_64: remove failed: No such file or directory

Erasing : kernel-modules-1000:6.1.62-1.qubes.fc32.x86_64 2/2
warning: file /lib/modules/6.1.62-1.qubes.fc32.x86_64/modules.softdep: remove failed: No such file or directory
warning: file /lib/modules/6.1.62-1.qubes.fc32.x86_64/modules.devname: remove failed: No such file or directory
warning: file /lib/modules/6.1.62-1.qubes.fc32.x86_64/modules.builtin.bin: remove failed: No such file or directory

Running scriptlet: kernel-modules-1000:6.1.62-1.qubes.fc32.x86_64 2/2
Verifying : kernel-1000:6.1.62-1.qubes.fc32.x86_64 1/2
Verifying : kernel-modules-1000:6.1.62-1.qubes.fc32.x86_64 2/2

Removed:
kernel-1000:6.1.62-1.qubes.fc32.x86_64 kernel-modules-1000:6.1.62-1.qubes.fc32.x86_64

Complete!

same issue

[Main@dom0 ~]$ qvm-template install --enablerepo=qubes-templates-community whonix-gateway-17
‘/home/Main/.cache/qvm-template/qubes-template-whonix-gateway-17-0:4.0.6-202402022331.rpm’ already exists, skipping…
Installing template ‘whonix-gateway-17’…
tar: ./var/lib/qubes/vm-templates/whonix-gateway-17/root.img.part.01: Wrote only 8704 of 10240 bytes
tar: ./var/lib/qubes/vm-templates/whonix-gateway-17/vm-whitelisted-appmenus.list: Cannot write: No space left on device
tar: ./var/lib/qubes/vm-templates/whonix-gateway-17/whitelisted-appmenus.list: Cannot write: No space left on device
tar: Exiting with failure status due to previous errors
ERROR: Failed to extract whonix-gateway-17 template

It seem it needs a little more free space.
What’s the output of these commands?

du -sh /home/*/.[^.]* /home/*/*
sudo du -sh /var/log/*

Did you maybe install some software in dom0? I just don’t know where did all the free space in dom0 go.
Or maybe you’ve created a backup of your qubes in dom0?

If you have some free space in your volume group, you can resize the pool and the root volume itself. Check with sudo vgs in dom0.

[Main@dom0 ~]$ sudo vgs
VG #PV #LV #SN Attr VSize VFree
qubes_dom0 1 68 0 wz–n- <237.46g 43.48g

idk know why either. I did create a backup but i was having an issue with the backup since i dont have enough space. Maybe something is wrong?

Did you select the backup destination as dom0 instead of some qube?
In that case there may be some leftover unfinished backup files stored in dom0.
Try to find them using this command, it’ll print all the files in your system sorted by their size:

sudo find / -type f -exec du -h {} + | sort -h

Check the files that have the most size and remove them if they are related to failed backup.

Sorry do i have it correct?
sudo find / -type f -exec du -h {} + | sprt -h

sort, not sprt

ok

470M /home/Main/.cache/qvm-template/qubes-template-whonix-gateway-17-0:4.0.6-202402022331.rpm
527M /var/lib/qubes/vm-kernels/6.1.75-1.fc32/modules.img
767M /home/Main/.cache/qvm-template/qubes-template-whonix-workstation-17-0:4.0.6-202402022119.rpm
12G /etc/qubes/backup/qubes-2024-02-01

Remove this file:

sudo rm -rf /etc/qubes/backup/qubes-2024-02-01

Done. It was removed.

I should also remove these?

470M /home/Main/.cache/qvm-template/qubes-template-whonix-gateway-17-0:4.0.6-202402022331.rpm

767M /home/Main/.cache/qvm-template/qubes-template-whonix-workstation-17-0:4.0.6-202402022119.rpm

No, they will be removed automatically after the templates will be installed.
Try to install the templates.

ok.

Problem has been solved. Thank you for your time and patience.

1 Like

Any reason why qubes update proxy is being denied? The intall is fine but couldnt updateI guess,