https://web.archive.org/web/https://github.com/utmapp/UTM/releases/latest/download/UTM.dmg
Link is not broken. There is no need to use the web archived version.
Iām consistently getting the same error as fractalshine
'ERROR: Failed to install '\''dracut' dracut-live dracut-config-generic dracut-config-rescue binutils dmsetup pigz linux-image-arm64 linux-headers-arm64 sbsigntool efibootmgr mokutil keyutils shim-signed-common efivar fwupd fwupd-signed spice-vdagent 'non-qubes-whonix-gateway-cli'\''. (apt_get_exit_code: 100) Attempting to gather debug output to diagnose the problem...'
Hereās more debug log excerpts:
permission-hardener: [NOTICE]: Executing: setcap -r /bin/ping
permission-hardener: [NOTICE]: To compare the current and previous permission modes, install 'meld' (or preferred diff tool) for comparison of file mode changes:
sudo apt install --no-install-recommends meld
meld /var/lib/permission-hardener/existing_mode/statoverride /var/lib/permission-hardener/new_mode/statoverride
/var/lib/dpkg/info/security-misc.postinst: INFO: Permission hardening success.
Errors were encountered while processing:
tirdad-dkms
tirdad
non-qubes-enhancements-cli
non-qubes-whonix-gateway-cli
E: Sub-process /usr/bin/dpkg returned an error code (1)
+ apt_get_exit_code=100
+ true
+ sudo --non-interactive --preserve-env=tbb_version,tb_onion,tpo_downloader_debug,tb_disable_anon_ws_dnf_conf,anon_shared_inst_tb,SKIP_SCRIPTS,SOURCE_DATE_EPOCH,dist_aptgetopt_file,dist_build_sources_list_primary,dist_mmdebstrap_build_sources_list_primary,dist_build_sources_list_primary_contents,dist_build_apt_sources_mirror,dist_build_apt_stable_release,dist_build_target_arch,dist_grml_mount_point,dist_source_help_steps_folder,dist_build_multiarch_package_item,dist_build_unsafe_io,dist_build_version,derivative_maker,user_name,LD_PRELOAD,LANG,LC_ALL,TZ,DEBDEBUG,XZ_OPT,REPO_PROXY,APTGETOPT,apt_unattended_opts,DERIVATIVE_APT_REPOSITORY_OPTS,DEBOOTSTRAP,http_proxy,https_proxy,ALL_PROXY,DEBIAN_FRONTEND,DEBIAN_PRIORITY,DEBCONF_NOWARNINGS,APT_LISTCHANGES_FRONTEND,INITRD env --unset TEMP --unset TEMPDIR --unset TMP --unset TMPDIR chroot /home/user/derivative-binary/Whonix-Gateway-CLI_image sync
+ sudo --non-interactive --preserve-env=tbb_version,tb_onion,tpo_downloader_debug,tb_disable_anon_ws_dnf_conf,anon_shared_inst_tb,SKIP_SCRIPTS,SOURCE_DATE_EPOCH,dist_aptgetopt_file,dist_build_sources_list_primary,dist_mmdebstrap_build_sources_list_primary,dist_build_sources_list_primary_contents,dist_build_apt_sources_mirror,dist_build_apt_stable_release,dist_build_target_arch,dist_grml_mount_point,dist_source_help_steps_folder,dist_build_multiarch_package_item,dist_build_unsafe_io,dist_build_version,derivative_maker,user_name,LD_PRELOAD,LANG,LC_ALL,TZ,DEBDEBUG,XZ_OPT,REPO_PROXY,APTGETOPT,apt_unattended_opts,DERIVATIVE_APT_REPOSITORY_OPTS,DEBOOTSTRAP,http_proxy,https_proxy,ALL_PROXY,DEBIAN_FRONTEND,DEBIAN_PRIORITY,DEBCONF_NOWARNINGS,APT_LISTCHANGES_FRONTEND,INITRD sync
+ '[' 100 = 0 ']'
+ true 'ERROR: Failed to install '\''dracut' dracut-live dracut-config-generic dracut-config-rescue binutils dmsetup pigz linux-image-arm64 linux-headers-arm64 sbsigntool efibootmgr mokutil keyutils shim-signed-common efivar fwupd fwupd-signed spice-vdagent 'non-qubes-whonix-gateway-cli'\''. (apt_get_exit_code: 100) Attempting to gather debug output to diagnose the problem...'
+ true 'INFO: Read output of apt-get-noninteractive trying to install '\''dracut' dracut-live dracut-config-generic dracut-config-rescue binutils dmsetup pigz linux-image-arm64 linux-headers-arm64 sbsigntool efibootmgr mokutil keyutils shim-signed-common efivar fwupd fwupd-signed spice-vdagent 'non-qubes-whonix-gateway-cli'\'' into a variable for debugging. This may take a while...'
+ local apt_get_exit_code=0
and
+ true 'ERROR: As expected, failed again to install '\''dracut' dracut-live dracut-config-generic dracut-config-rescue binutils dmsetup pigz linux-image-arm64 linux-headers-arm64 sbsigntool efibootmgr mokutil keyutils shim-signed-common efivar fwupd fwupd-signed spice-vdagent 'non-qubes-whonix-gateway-cli'\''. (apt_get_exit_code: 100) Trying to diagnose the problem using function apt_get_parse_unmet_dependency...'
+ apt_get_parse_unmet_dependency dracut dracut-live dracut-config-generic dracut-config-rescue binutils dmsetup pigz linux-image-arm64 linux-headers-arm64 sbsigntool efibootmgr mokutil keyutils shim-signed-common efivar fwupd fwupd-signed spice-vdagent non-qubes-whonix-gateway-cli
+ local pkg_unmet
+ pkg_unmet=dracut
+ true 'INFO: Running "dpkg -l | grep dracut"...'
+ sudo --non-interactive --preserve-env=tbb_version,tb_onion,tpo_downloader_debug,tb_disable_anon_ws_dnf_conf,anon_shared_inst_tb,SKIP_SCRIPTS,SOURCE_DATE_EPOCH,dist_aptgetopt_file,dist_build_sources_list_primary,dist_mmdebstrap_build_sources_list_primary,dist_build_sources_list_primary_contents,dist_build_apt_sources_mirror,dist_build_apt_stable_release,dist_build_target_arch,dist_grml_mount_point,dist_source_help_steps_folder,dist_build_multiarch_package_item,dist_build_unsafe_io,dist_build_version,derivative_maker,user_name,LD_PRELOAD,LANG,LC_ALL,TZ,DEBDEBUG,XZ_OPT,REPO_PROXY,APTGETOPT,apt_unattended_opts,DERIVATIVE_APT_REPOSITORY_OPTS,DEBOOTSTRAP,http_proxy,https_proxy,ALL_PROXY,DEBIAN_FRONTEND,DEBIAN_PRIORITY,DEBCONF_NOWARNINGS,APT_LISTCHANGES_FRONTEND,INITRD env --unset TEMP --unset TEMPDIR --unset TMP --unset TMPDIR chroot /home/user/derivative-binary/Whonix-Gateway-CLI_image dpkg -l
+ grep dracut
ii dracut 059-4 all Initramfs generator using udev
ii dracut-config-generic 059-4 all dracut is an event driven initramfs infrastructure
ii dracut-config-rescue 059-4 all dracut is an event driven initramfs infrastructure
ii dracut-core 059-4 arm64 dracut is an event driven initramfs infrastructure (core tools)
ii dracut-live 059-4 all dracut is an event driven initramfs infrastructure (live image modules)
ii grub-live-dracut 3:6.4-1 all grub live dracut dependencies
+ sudo --non-interactive --preserve-env=tbb_version,tb_onion,tpo_downloader_debug,tb_disable_anon_ws_dnf_conf,anon_shared_inst_tb,SKIP_SCRIPTS,SOURCE_DATE_EPOCH,dist_aptgetopt_file,dist_build_sources_list_primary,dist_mmdebstrap_build_sources_list_primary,dist_build_sources_list_primary_contents,dist_build_apt_sources_mirror,dist_build_apt_stable_release,dist_build_target_arch,dist_grml_mount_point,dist_source_help_steps_folder,dist_build_multiarch_package_item,dist_build_unsafe_io,dist_build_version,derivative_maker,user_name,LD_PRELOAD,LANG,LC_ALL,TZ,DEBDEBUG,XZ_OPT,REPO_PROXY,APTGETOPT,apt_unattended_opts,DERIVATIVE_APT_REPOSITORY_OPTS,DEBOOTSTRAP,http_proxy,https_proxy,ALL_PROXY,DEBIAN_FRONTEND,DEBIAN_PRIORITY,DEBCONF_NOWARNINGS,APT_LISTCHANGES_FRONTEND,INITRD env --unset TEMP --unset TEMPDIR --unset TMP --unset TMPDIR chroot /home/user/derivative-binary/Whonix-Gateway-CLI_image apt-cache policy dracut
dracut:
Installed: 059-4
Candidate: 059-4
Version table:
*** 059-4 100
100 /var/lib/dpkg/status
+ local line
+ set +x
+ true 'INFO: Tried to diagnose the problem using function apt_get_parse_unmet_dependency.'
+ error 'See above!'
+ output_cmd_set
+ '[' -o xtrace ']'
+ output_cmd=true
+ true '############################################################'
+ true 'ERROR:'
+ true ' $0: ././build-steps.d/3500_install-packages'
+ true '$BASH_SOURCE: pre'
+ true ' message: See above!'
+ true '############################################################'
and
#####
dist_build_version: 17.2.8.5
dist_build_error_counter: 1
benchmark: 00:01:40
last_failed_exit_code: 127
trap_signal_type_previous: unset
trap_signal_type_last : ERR
process_backtrace_result:
1: : init
2: : sshd: /usr/sbin/sshd -D [listener] 0 of 10-100 startups
3: : sshd: user [priv]
4: : sshd: user@pts/0
5: : -bash
6: : /bin/bash /home/user/derivative-maker/derivative-maker --flavor whonix-gateway-cli --type vm --target utm --arch arm64 --tb open --repo true --vmsize 15G
7: : /bin/bash ././build-steps.d/3500_install-packages --flavor whonix-gateway-cli --type vm --target utm --arch arm64 --tb open --repo true --vmsize 15G
function_trace_result:
main (line number: 569)
main (line number: 565)
install-packages (line number: 449)
pkg-list-install (line number: 187)
pkg-install (line number: 149)
error (line number: 73)
exception_handler_unchroot_unmount (line number: 73)
exception_handler_process_shared (line number: 73)
message: See above!
last_failed_bash_command: error_ "See above! (There should be a bold, red message surrounded by blue hashtags (#).)"
############################################################
'
++ unset error_reason
++ '[' ERR = INT ']'
++ '[' ERR = TERM ']'
++ '[' ERR = ERR ']'
++ '[' '!' 0 = 0 ']'
++ true 'INFO: dist_build_auto_retry set to 0 (--retry-max). No auto retry.'
++ unset dist_build_auto_retry_counter
++ true
++ ignore_error=false
++ answer=
++ '[' ERR = ERR ']'
++ '[' '' = true ']'
++ '[' -t 0 ']'
++ true 'INFO: stdin connected to terminal, using interactive error handler.'
++ true 'ERROR: An issue in ././build-steps.d/3500_install-packages has been detected!
please let me know what else I can provide or how else I can help!
if I continue through the errors, I get usable utm images, but cannot upgrade or install tirdad-dkms tirdad non-qubes-enhancements-cli or non-qubes-whonix-gateway-cli packages. Similar error for non-qubes-whonix-workstation-xfce
- VirtualBox was only released macOS ARM64.
- VirtualBox for Linux ARM64 still doesnāt exist at the time of writing.
- Since the build process by developers at time of writing is happening on Intel/AMD64, this had resulted in technical challenges.
I was able as you said to build the Whonix-LXQt-18.0.8.7.arm64.ova with a few errors but I could import it. However the ARM Virtualbox said it is a x64 Image and will not work. Are you sure your build is ARM? It looked like it ignored that build value.
Pretty sure.
Our Dev/Continuous Integration is actually using --arch arm64 and succeeded.
(Workflow runs Ā· Whonix/derivative-maker Ā· GitHub)
Latest CI build at the time of writing: bumped changelog version Ā· Whonix/derivative-maker@cd2c29d Ā· GitHub)
Log: https://github.com/Whonix/derivative-maker/actions/runs/20485492295/artifacts/4961811953 (Free github account required to view at the time of writing as per GitHub default/policy.)
The log clearly has arm64 all over the place. Some excerpts:
dist_build_multiarch_package_item=arm64 bash -x -e /usr/sbin/grml-debootstrap --arch arm64 --filesystem ext4 --vmefi --force --hostname localhost --password changeme --release trixie --keep_src_list --verbose --vmfile --vmsize 100G --packages /home/ansible/derivative-maker/grml_packages --mntpoint /mnt/derivative-maker-grml-debootstrap.82182 --target /home/ansible/derivative-binary/18.0.9.1/base-image.raw
Get:16 http://127.0.0.1:9977/debian-security trixie-security/main arm64 Packages [93.9 kB]
Get:5 http://127.0.0.1:9977/debian trixie/main arm64 base-files arm64 13.8+deb13u2 [73.2 kB]
grub-install --no-floppy --target=arm64-efi --force-extra-removable /dev/loop0
Ignoring the following type of errorsā¦
++ true 'ERROR: An issue in ./build-steps.d/... has been detected!
#####
User Help Message 1/2:
Please READ this message carefully.
Copying/pasting/screenshotting this error message alone will not be insightful, and no help can be provided with it alone as it does not contain comprehensive information by itself. Instead, please scroll up and review the block encapsulated within ### for more detailed information.
For support queries, it is essential to, at minimum, provide the portion of the log located above this message containing the actual error details. In many instances, providing a longer segment or the entire log may be necessary for an effective diagnosis.
Regrettably, assistance cannot be provided without the aforementioned details.
Options:
Choose either option A), B), C) or D).
- A) Press c and press enter to bypass this error and continue with the build. (For Developers Only!) (Strongly discouraged for regular users as it may lead to unstable builds! Please refrain from reporting any issues encountered subsequently!)
- B) Press r and enter to retry.
- C) Press s and enter to initiate a chroot interactive shell. (For Developers Only!)
- D) Press a and enter to abort.
#####'
ā¦can indeed lead to unbootable images.
The following is important:
- A) Press c and press enter to bypass this error and continue with the build. (For Developers Only!)
- (Strongly discouraged for regular users as it may lead to unstable builds!
- Please refrain from reporting any issues encountered subsequently!)
Hi there! Iām new in forum and dont know where should write my comment. So, I managed to install whonix on M1 macbook 16 pro (RTFM). I found one problem: I created a gateway, but it does not mount to UTM, figured out the error and realized that when generating the archive, the .plist file has a double extension in the name .raw.raw, and the image has a name with the extension .raw. Through simple manipulations, I changed the files in the archive and unzipped the UTM image. To whom it will be useful, pay attention! The guys from Whonix are the best! Good luck!
Found the source of the bug, just pushed a fix for Patrick to review. Thank you for the report!
Hi everyone. I built gateway CLI-18.0.8.7 and workstation LXQt-18.0.8.7 under UTM Version 4.7.5 (118).
made 15gb for gateway and 64gb for workstation
Apple M1 chip, built on Debian 13.2.
During the gateway build process, there were errors related to kloak.
āThe build script enters the kloak package directory and attempts to run a clean step, but the kloak package Makefile is configured to check for the presence of the pkg-config utility before doing anything. Since pkg-config is not installed in the host system (where the build was launched), make fails with an error, and consequently the entire Whonix build process fails.ā
What helped:
sudo apt install pkg-config build-essential libpcap-dev libevent-dev
After that, the build completed without any errors. I did the same for the workstation ā installed the missing dependencies in advance ā and the build also completed successfully without any errors.
Next, when starting Whonix gateway in UTM, after selecting Choose Boot mode (any option), an error always appears:
QEMU error: drive3A2D9A7B-62CC-4E13-92E2-222B2E29C569, #block593: Invalid argument
I press āOKā, it pops up once again, and after that it no longer appears.
At the same time, in the background the CLI starts normally, everything inside works fine, Tor runs correctly, and the system is stable.
When launching the workstation, a similar situation happens ā the error appears after selecting Choose Boot mode, but looks slightly different:
QEMU error: drive0, #block598: Invalid argument
In any case, everything still boots normally. Inside, the workstation connects to the gateway without issues, and network traffic goes through Tor correctly.
I tried troubleshooting this with LLMs, but nothing really helped (changing UTM settings didnāt make any difference).
Iād like to understand roughly what might be causing this. Has anyone encountered similar errors? They appear every time on startup.
yep i have same issue, workstation donāt have this .raw.raw problem
but this fix easy
i have also problem with āClipboard Sharingā
i donāt know why but the clipboard doesnāt work in workstation, although all the main dependencies in the form of spice-vdagent are installed
Broken by Wayland unfortunately. There are some manual workarounds you may be able to use. See:
(Note that this is the KVM documentation, but it sounds like UTM is using SPICE, in which case the same issues apply.)