Here is the output of the requested command:
$ vboxmanage showvminfo Whonix-Gateway-Xfce
Name: Whonix-Gateway-Xfce
Groups: /
Guest OS: Debian (64-bit)
UUID: redacted
Config file: /home/ubuntu/VirtualBox VMs/Whonix-Gateway-Xfce/Whonix-Gateway-Xfce.vbox
Snapshot folder: /home/ubuntu/VirtualBox VMs/Whonix-Gateway-Xfce/Snapshots
Log folder: /home/ubuntu/VirtualBox VMs/Whonix-Gateway-Xfce/Logs
Hardware UUID: redacted
Memory size: 1280MB
Page Fusion: disabled
VRAM size: 128MB
CPU exec cap: 100%
HPET: disabled
CPUProfile: host
Chipset: piix3
Firmware: BIOS
Number of CPUs: 3
PAE: enabled
Long Mode: enabled
Triple Fault Reset: disabled
APIC: enabled
X2APIC: disabled
Nested VT-x/AMD-V: disabled
CPUID Portability Level: 0
CPUID overrides: None
Boot menu mode: message and menu
Boot Device 1: HardDisk
Boot Device 2: Not Assigned
Boot Device 3: Not Assigned
Boot Device 4: Not Assigned
ACPI: enabled
IOAPIC: enabled
BIOS APIC mode: APIC
Time offset: 0ms
RTC: UTC
Hardware Virtualization: enabled
Nested Paging: enabled
Large Pages: enabled
VT-x VPID: enabled
VT-x Unrestricted Exec.: enabled
Paravirt. Provider: Default
Effective Paravirt. Prov.: KVM
State: powered off (since 2023-09-01T13:24:14.000000000)
Graphics Controller: VMSVGA
Monitor count: 1
3D Acceleration: disabled
2D Video Acceleration: disabled
Teleporter Enabled: disabled
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: disabled
Allow Tracing to Access VM: disabled
Tracing Configuration:
Autostart Enabled: disabled
Autostart Delay: 0
Default Frontend:
VM process priority: default
Storage Controller Name (0): controller
Storage Controller Type (0): IntelAhci
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 30
Storage Controller Port Count (0): 4
Storage Controller Bootable (0): on
controller (0, 0): /home/ubuntu/VirtualBox VMs/Whonix-Gateway-Xfce/Whonix-Xfce-17.0.4.5-disk001.vmdk (UUID: redacted)
NIC 1: MAC: redacted, Attachment: NAT, Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 1 Settings: MTU: 0, Socket (send: 64, receive: 64), TCP Window (send:64, receive: 64)
NIC 2: MAC: 080027201E6A, Attachment: Internal Network 'Whonix', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: PS/2 Mouse
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
UART 3: disabled
UART 4: disabled
LPT 1: disabled
LPT 2: disabled
Audio: enabled (Driver: PulseAudio, Controller: AC97, Codec: STAC9700)
Audio playback: enabled
Audio capture: disabled
Clipboard Mode: Bidirectional
Drag and drop Mode: HostToGuest
VRDE: disabled
OHCI USB: disabled
EHCI USB: disabled
xHCI USB: disabled
USB Device Filters:
<none>
Bandwidth groups: <none>
Shared folders:<none>
Recording enabled: no
Recording screens: 1
Screen 0:
Enabled: yes
ID: 0
Record video: yes
Record audio: no
Destination: File
File: /home/ubuntu/VirtualBox VMs/Whonix-Gateway-Xfce/Whonix-Gateway-Xfce-screen0.webm
Options: vc_enabled=true,ac_enabled=false,ac_profile=med
Video dimensions: 1024x768
Video rate: 512kbps
Video FPS: 25fps
Description:
Build Version [A]: 17.0.4.5
Stay tuned! [B]
Please donate! [C]
[A] https://www.whonix.org/wiki/Build_Version
[B] https://www.whonix.org/wiki/Stay_Tuned
[C] https://www.whonix.org/wiki/Donate
Guest:
Configured memory balloon size: 0MB
And here is the first log file at the location ~/dist-installer-cli-download/logs/1$ cat debug.log
in case this one is different. I ran the install command three times in a row (with the same error each time) and this should correspond to the first attempt:
~/dist-installer-cli-download/logs/1$ cat debug.log
+ xtrace=1
+ touch /home/ubuntu/dist-installer-cli-download/logs/1/debug.log
+ return 0
+ get_utilities
+ get_su_cmd
+ true
+ has sudo
++ command -v sudo
+ _cmd=/usr/bin/sudo
+ '[' -x /usr/bin/sudo ']'
+ sucmd=sudo
+ break
+ log info 'Testing root_cmd function'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ root_cmd echo test
+ test -z echo
+ case "${sucmd}" in
+ log_run notice sudo -- echo test
+ level=notice
+ shift
++ echo sudo -- echo test
++ tr -s ' '
+ command_without_extrarenous_spaces='sudo -- echo test'
+ test '' = 1
+ test '' = 1
+ log notice 'Running: $ sudo -- echo test'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ sudo -- echo test
+ test '' = 1
+ test sudo = sudo
+ timeout --kill-after 5 5 sudo --non-interactive -- test -d /usr
+ log info 'User system is using credential caching: Yes'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
++ timeout --kill-after 5 5 sudo -- test -d /usr
+ root_output=
+ test -n ''
+ get_checkhash_cmd
+ test '' = 1
+ true
+ has sha512sum
++ command -v sha512sum
+ _cmd=/usr/bin/sha512sum
+ '[' -x /usr/bin/sha512sum ']'
+ checkhash='sha512sum --check --strict --warn'
+ break
+ get_transfer_cmd
+ transfer_utility=rsync
+ case "${transfer_utility}" in
+ rsync=1
+ transfer_max_time_large_file=2700
+ transfer_max_time_small_file=180
+ transfer_io_timeout=600
+ transfer_connect_timeout=180
+ transfer_size_test_connection=200K
+ transfer_size_small_file=2K
+ transfer_size_large_file=3G
+ case ${transfer_utility} in
+ transfer_io_timeout_opt='--timeout 600'
+ transfer_size_opt=--max-size
+ transfer_dryrun_opt=--dry-run
+ transfer_output_dir_opt=
+ transfer_output_file_opt=
+ transfer_verbosity_opt='--no-motd --progress --verbose --verbose'
+ transfer_speed_optimization_opt='--compress --partial'
+ get_download_links
+ site_clearnet_whonix=whonix.org
+ site_onion_whonix=dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion
+ site_clearnet_kicksecure=kicksecure.com
+ site_onion_kicksecure=w5j6stm77zs6652pgsij4awcjeel3eco7kvipheu6mtr623eyyehj4yd.onion
+ case "${guest}" in
+ site_clearnet=whonix.org
+ site_onion=dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion
+ test -z ''
+ mirror=0
+ case "${mirror}" in
+ site_download_clearnet=whonix.org/whonix
+ site_download_onion=dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion/whonix
+ case "${transfer_utility}" in
+ protocol_prefix_clearnet=rsync
+ protocol_prefix_onion=rsync
+ url_download_clearnet=rsync://whonix.org/whonix
+ url_download_onion=rsync://dds6qkxpwdeubwucdiaord2xgbbeyds25rbsgr73tbfpqpt4a6vjwsyd.onion/whonix
+ case "${onion}" in
+ log info 'Clearnet preferred.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ test rsync = rsync
+ transfer_utility=rsync-ssl
+ curl_opt_ssl='--tlsv1.3 --proto =https'
+ url_origin=rsync://www.whonix.org
+ url_download=rsync://whonix.org/whonix
+ url_version_domain=https://www.whonix.org
+ case "${hypervisor}" in
+ test '' = 1
+ url_version_template=VersionNew
+ signify_key='untrusted comment: Patrick Schleizer adrelanos@whonix.org signify public key
RWQ6KRormNEETq+M8IysxRe/HAWlqZRlO8u7ACIiv5poAW0ztsirOjCQ'
+ signify_signer=adrelanos
+ url_domain=rsync://whonix.org/whonix/ova
+ guest_file_ext=ova
+ url_version_prefix='w/index.php?title=Template:'
+ url_version_suffix='&stable=0&action=raw'
+ url_version='https://www.whonix.org/w/index.php?title=Template:VersionNew&stable=0&action=raw'
+ main
+ log notice 'Saving user log to: '\''/home/ubuntu/dist-installer-cli-download/logs/1/user.log'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ test -f /home/ubuntu/dist-installer-cli-download/logs/1/debug.log
+ log notice 'Saving debug log to: '\''/home/ubuntu/dist-installer-cli-download/logs/1/debug.log'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ log info 'Starting main function.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
++ capitalize_first_char whonix
++ echo whonix
++ awk '{$1=toupper(substr($1,0,1))substr($1,2)}1'
+ guest_pretty=Whonix
+ case "${hypervisor}" in
+ hypervisor_pretty=VirtualBox
+ log info 'Parsed options:'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ for item in ${arg_saved}
+ log info ' directory_prefix="/home/ubuntu/dist-installer-cli-download"'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ for item in ${arg_saved}
+ log info ' guest="whonix"'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ for item in ${arg_saved}
+ log info ' hypervisor="virtualbox"'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ for item in ${arg_saved}
+ log info ' interface="xfce"'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ for item in ${arg_saved}
+ log info ' log_level="notice"'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ test '' = 1
+ log notice '\033[4mInstaller:\033[24m \033[1m'\''Whonix Xfce for VirtualBox Installer'\''\033[22m'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ test '' '!=' 1
+ log notice 'If you wish to cancel installation, press Ctrl+C.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ check_license
+ '[' '' = 1 ']'
+ log notice 'The license will be shown in 5 seconds.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ log notice '(Use -n or --non-interactive for non-interactive mode.)'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ test '' '!=' 1
+ sleep 5
+ true
+ has dialog
++ command -v dialog
+ _cmd=
+ return 1
+ has whiptail
++ command -v whiptail
+ _cmd=/usr/bin/whiptail
+ '[' -x /usr/bin/whiptail ']'
+ dialog_box=whiptail
+ break
+ case "${dialog_box}" in
+ whiptail --scrolltext --title 'License agreement (scroll with arrows)' --yes-button Agree --no-button Disagree --yesno '
Please do NOT continue unless you understand everything!
DISCLAIMER OF WARRANTY.
.
THE PROGRAM IS PROVIDED WITHOUT ANY WARRANTIES, WHETHER EXPRESSED OR IMPLIED,
INCLUDING, WITHOUT LIMITATION, IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR
PURPOSE, NON-INFRINGEMENT, TITLE AND MERCHANTABILITY. THE PROGRAM IS BEING
DELIVERED OR MADE AVAILABLE '\''AS IS'\'', '\''WITH ALL FAULTS'\'' AND WITHOUT WARRANTY OR
REPRESENTATION. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
.
LIMITATION OF LIABILITY.
.
UNDER NO CIRCUMSTANCES SHALL ANY COPYRIGHT HOLDER OR ITS AFFILIATES, OR ANY
OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE
LIABLE TO YOU, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, FOR ANY
DAMAGES OR OTHER LIABILITY, INCLUDING ANY GENERAL, DIRECT, INDIRECT, SPECIAL,
INCIDENTAL, CONSEQUENTIAL OR PUNITIVE DAMAGES ARISING FROM, OUT OF OR IN
CONNECTION WITH THE USE OR INABILITY TO USE THE PROGRAM OR OTHER DEALINGS WITH
THE PROGRAM(INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), WHETHER OR NOT ANY COPYRIGHT HOLDER
OR SUCH OTHER PARTY RECEIVES NOTICE OF ANY SUCH DAMAGES AND WHETHER OR NOT SUCH
DAMAGES COULD HAVE BEEN FORESEEN.
.
INDEMNIFICATION.
.
IF YOU CONVEY A COVERED WORK AND AGREE WITH ANY RECIPIENT
OF THAT COVERED WORK THAT YOU WILL ASSUME ANY LIABILITY FOR THAT COVERED WORK,
YOU HEREBY AGREE TO INDEMNIFY, DEFEND AND HOLD HARMLESS THE OTHER LICENSORS AND
AUTHORS OF THAT COVERED WORK FOR ANY DAMAGES, DEMANDS, CLAIMS, LOSSES, CAUSES OF
ACTION, LAWSUITS, JUDGMENTS EXPENSES (INCLUDING WITHOUT LIMITATION REASONABLE
ATTORNEYS'\'' FEES AND EXPENSES) OR ANY OTHER LIABILITY ARISING FROM, RELATED TO OR
IN CONNECTION WITH YOUR ASSUMPTIONS OF LIABILITY.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
' 24 80
+ log notice '\033[4mLicense Check:\033[24m '\''success'\'' - User has accepted the license.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ pre_check
+ get_os
++ uname -s
+ os=Linux
++ uname -r
+ kernel=6.2.0-34-generic
++ uname -m
+ arch=x86_64
+ distro=
+ distro_version=
+ debian_testing_or_unstable_detected=
+ case ${os} in
+ has lsb_release
++ command -v lsb_release
+ _cmd=/usr/bin/lsb_release
+ '[' -x /usr/bin/lsb_release ']'
++ lsb_release --short --description
+ distro='Ubuntu 22.04.3 LTS'
++ lsb_release --short --release
+ distro_version=22.04
+ distro='Ubuntu 22.04.3 LTS'
+ distro='Ubuntu 22.04.3 LTS'
+ case ${PATH} in
+ '[' '' ']'
+ '[' -z 6.2.0-34-generic ']'
+ echo 'Ubuntu 22.04.3 LTS'
+ grep --quiet /sid
+ distro_derivative_name_pretty='(No derivative detected.)'
+ distro_derivative_version='(No derivative detected.)'
+ test -f /usr/share/kicksecure/marker
+ test -f /usr/share/whonix/marker
+ log notice 'Detected architecture: '\''x86_64'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ log notice 'Detected system: '\''Linux'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ log notice 'Detected distribution / derivative name: '\''Ubuntu 22.04.3 LTS'\'' / '\''(No derivative detected.)'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ log notice 'Detected distribution / derivative version: '\''22.04'\'' / '\''(No derivative detected.)'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ '[' '' = true ']'
+ log info 'Debian testing or unstable detection: '\''Not detected.'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ '[' -z 22.04 ']'
++ echo 22.04
++ tr -d .
+ distro_version_without_dot=2204
+ is_integer 2204
+ printf %d 2204
+ get_system_stat
+ '[' x86_64 '!=' x86_64 ']'
+ case "${interface}" in
+ min_ram_mb=3328
+ test '' = 1
++ awk '/MemTotal/{print $2}' /proc/meminfo
+ total_mem_kB=8027892
+ total_mem=8027
+ '[' 8027 -lt 4200 ']'
++ df --output=avail -BG /home/ubuntu/dist-installer-cli-download
+ df_output='Avail
858G'
++ echo 'Avail
858G'
++ awk '/G$/{print substr($1, 1, length($1)-1)}'
+ free_space_available=858
+ free_space_required=10
+ case "${guest}" in
+ case "${interface}" in
+ free_space_required=5
+ test '' = 1
+ test '' = 1
+ '[' 858 -lt 5 ']'
+ get_host_pkgs
+ true 'distro: Ubuntu 22.04.3 LTS'
+ case "${os}" in
+ case "${distro}" in
+ '[' 2204 -lt 2204 ']'
+ log notice 'Preparing to install packages required for the hypervisor usage, this may take some time.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ debian_derivative_detected=1
+ install_package_debian_common
+ pkg_mngr=apt-get
+ pkg_mngr_install='apt-get install --yes --no-install-recommends'
+ pkg_mngr_update='apt-get update --yes --error-on=any'
+ pkg_mngr_check_installed=check_installed_debian
++ dpkg --audit
+ dpkg_audit_output=
+ test -n ''
+ test '' = 1
+ update_sources
+ log notice 'Updating package list.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ tty
+ console_write_command='tee /dev/tty'
++ root_cmd apt-get update --yes --error-on=any
++ test -z apt-get
++ tee /dev/tty
++ case "${sucmd}" in
++ log_run notice sudo -- apt-get update --yes --error-on=any
++ level=notice
++ shift
+++ echo sudo -- apt-get update --yes --error-on=any
+++ tr -s ' '
++ command_without_extrarenous_spaces='sudo -- apt-get update --yes --error-on=any'
++ test '' = 1
++ test '' = 1
++ log notice 'Running: $ sudo -- apt-get update --yes --error-on=any'
++ test 1 = 1
++ true 'Removing xtrace for log() function.'
++ set +o xtrace
++ sudo -- apt-get update --yes --error-on=any
+ update_output='whonix-xfce-installer-cli: [NOTICE]: Running: $ sudo -- apt-get update --yes --error-on=any
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists...'
+ true 'INFO: Exit code is zero but that does not guarantee in case of dnf that there is no error.'
+ echo 'whonix-xfce-installer-cli: [NOTICE]: Running: $ sudo -- apt-get update --yes --error-on=any
Hit:1 http://us.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists...'
+ grep --quiet --ignore-case Error:
+ true 'INFO: No error found in update output, ok.'
+ return 0
+ install_pkg lsb-release
+ pkgs=lsb-release
+ pkg_not_installed=
+ for pkg in ${pkgs}
+ check_installed_debian lsb-release
++ dpkg-query --show '--showformat=${db:Status-Status}' lsb-release
+ status=installed
+ test 0 '!=' 0
+ test installed '!=' installed
+ return 0
+ log info 'Package already installed: '\''lsb-release'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ continue
+ test -n ''
+ test '' = 1
+ install_pkg torsocks
+ pkgs=torsocks
+ pkg_not_installed=
+ for pkg in ${pkgs}
+ check_installed_debian torsocks
++ dpkg-query --show '--showformat=${db:Status-Status}' torsocks
+ status='dpkg-query: no packages found matching torsocks'
+ test 1 '!=' 0
+ return 1
+ has torsocks
++ command -v torsocks
+ _cmd=
+ return 1
+ pkg_not_installed=' torsocks'
+ test -n ' torsocks'
+ test '' = 1
+ log notice 'Installing package(s): '\'' torsocks'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ root_cmd apt-get install --yes --no-install-recommends torsocks
+ test -z apt-get
+ case "${sucmd}" in
+ log_run notice sudo -- apt-get install --yes --no-install-recommends torsocks
+ level=notice
+ shift
++ echo sudo -- apt-get install --yes --no-install-recommends torsocks
++ tr -s ' '
+ command_without_extrarenous_spaces='sudo -- apt-get install --yes --no-install-recommends torsocks'
+ test '' = 1
+ test '' = 1
+ log notice 'Running: $ sudo -- apt-get install --yes --no-install-recommends torsocks'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ sudo -- apt-get install --yes --no-install-recommends torsocks
+ test_pkg ' torsocks'
+ pkgs=' torsocks'
+ pkg_not_installed=
+ for pkg in ${pkgs}
+ has torsocks
++ command -v torsocks
+ _cmd=/usr/bin/torsocks
+ '[' -x /usr/bin/torsocks ']'
+ test -n ''
+ install_signify signify-openbsd
+ pkg_name=signify-openbsd
+ has signify-openbsd
++ command -v signify-openbsd
+ _cmd=
+ return 1
+ install_pkg signify-openbsd
+ pkgs=signify-openbsd
+ pkg_not_installed=
+ for pkg in ${pkgs}
+ check_installed_debian signify-openbsd
++ dpkg-query --show '--showformat=${db:Status-Status}' signify-openbsd
+ status='dpkg-query: no packages found matching signify-openbsd'
+ test 1 '!=' 0
+ return 1
+ has signify-openbsd
++ command -v signify-openbsd
+ _cmd=
+ return 1
+ pkg_not_installed=' signify-openbsd'
+ test -n ' signify-openbsd'
+ test '' = 1
+ log notice 'Installing package(s): '\'' signify-openbsd'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ root_cmd apt-get install --yes --no-install-recommends signify-openbsd
+ test -z apt-get
+ case "${sucmd}" in
+ log_run notice sudo -- apt-get install --yes --no-install-recommends signify-openbsd
+ level=notice
+ shift
++ echo sudo -- apt-get install --yes --no-install-recommends signify-openbsd
++ tr -s ' '
+ command_without_extrarenous_spaces='sudo -- apt-get install --yes --no-install-recommends signify-openbsd'
+ test '' = 1
+ test '' = 1
+ log notice 'Running: $ sudo -- apt-get install --yes --no-install-recommends signify-openbsd'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ sudo -- apt-get install --yes --no-install-recommends signify-openbsd
+ test_pkg ' signify-openbsd'
+ pkgs=' signify-openbsd'
+ pkg_not_installed=
+ for pkg in ${pkgs}
+ has signify-openbsd
++ command -v signify-openbsd
+ _cmd=/usr/bin/signify-openbsd
+ '[' -x /usr/bin/signify-openbsd ']'
+ test -n ''
+ install_virtualbox_ubuntu
+ has vboxmanage
++ command -v vboxmanage
+ _cmd=
+ return 1
+ install_pkg virtualbox linux-headers-generic
+ pkgs='virtualbox linux-headers-generic'
+ pkg_not_installed=
+ for pkg in ${pkgs}
+ check_installed_debian virtualbox
++ dpkg-query --show '--showformat=${db:Status-Status}' virtualbox
+ status='dpkg-query: no packages found matching virtualbox'
+ test 1 '!=' 0
+ return 1
+ has virtualbox
++ command -v virtualbox
+ _cmd=
+ return 1
+ pkg_not_installed=' virtualbox'
+ for pkg in ${pkgs}
+ check_installed_debian linux-headers-generic
++ dpkg-query --show '--showformat=${db:Status-Status}' linux-headers-generic
+ status=not-installed
+ test 0 '!=' 0
+ test not-installed '!=' installed
+ return 1
+ has linux-headers-generic
++ command -v linux-headers-generic
+ _cmd=
+ return 1
+ pkg_not_installed=' virtualbox linux-headers-generic'
+ test -n ' virtualbox linux-headers-generic'
+ test '' = 1
+ log notice 'Installing package(s): '\'' virtualbox linux-headers-generic'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ root_cmd apt-get install --yes --no-install-recommends virtualbox linux-headers-generic
+ test -z apt-get
+ case "${sucmd}" in
+ log_run notice sudo -- apt-get install --yes --no-install-recommends virtualbox linux-headers-generic
+ level=notice
+ shift
++ echo sudo -- apt-get install --yes --no-install-recommends virtualbox linux-headers-generic
++ tr -s ' '
+ command_without_extrarenous_spaces='sudo -- apt-get install --yes --no-install-recommends virtualbox linux-headers-generic'
+ test '' = 1
+ test '' = 1
+ log notice 'Running: $ sudo -- apt-get install --yes --no-install-recommends virtualbox linux-headers-generic'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ sudo -- apt-get install --yes --no-install-recommends virtualbox linux-headers-generic
+ test_pkg ' virtualbox linux-headers-generic'
+ pkgs=' virtualbox linux-headers-generic'
+ pkg_not_installed=
+ for pkg in ${pkgs}
+ has virtualbox
++ command -v virtualbox
+ _cmd=
+ return 1
+ check_installed_debian virtualbox
++ dpkg-query --show '--showformat=${db:Status-Status}' virtualbox
+ status=installed
+ test 0 '!=' 0
+ test installed '!=' installed
+ return 0
+ for pkg in ${pkgs}
+ has linux-headers-generic
++ command -v linux-headers-generic
+ _cmd=
+ return 1
+ check_installed_debian linux-headers-generic
++ dpkg-query --show '--showformat=${db:Status-Status}' linux-headers-generic
+ status=installed
+ test 0 '!=' 0
+ test installed '!=' installed
+ return 0
+ test -n ''
+ install_virtualbox_debian_common_end
+ has vboxmanage
++ command -v vboxmanage
+ _cmd=/usr/bin/vboxmanage
+ '[' -x /usr/bin/vboxmanage ']'
+ add_user_to_vbox_group
++ id --name --user
+ id_of_user=ubuntu
+ id -nG ubuntu
+ grep -qw 'vboxusers$'
+ test 1 = 1
+ root_cmd adduser ubuntu vboxusers
+ test -z adduser
+ case "${sucmd}" in
+ log_run notice sudo -- adduser ubuntu vboxusers
+ level=notice
+ shift
++ echo sudo -- adduser ubuntu vboxusers
++ tr -s ' '
+ command_without_extrarenous_spaces='sudo -- adduser ubuntu vboxusers'
+ test '' = 1
+ test '' = 1
+ log notice 'Running: $ sudo -- adduser ubuntu vboxusers'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ sudo -- adduser ubuntu vboxusers
+ get_independent_host_pkgs
+ has signify-openbsd
++ command -v signify-openbsd
+ _cmd=/usr/bin/signify-openbsd
+ '[' -x /usr/bin/signify-openbsd ']'
+ has timeout
++ command -v timeout
+ _cmd=/usr/bin/timeout
+ '[' -x /usr/bin/timeout ']'
+ has curl
++ command -v curl
+ _cmd=/usr/bin/curl
+ '[' -x /usr/bin/curl ']'
+ has rsync
++ command -v rsync
+ _cmd=/usr/bin/rsync
+ '[' -x /usr/bin/rsync ']'
+ has mokutil
++ command -v mokutil
+ _cmd=/usr/bin/mokutil
+ '[' -x /usr/bin/mokutil ']'
+ install_pkg openssl ca-certificates
+ pkgs='openssl ca-certificates'
+ pkg_not_installed=
+ for pkg in ${pkgs}
+ check_installed_debian openssl
++ dpkg-query --show '--showformat=${db:Status-Status}' openssl
+ status=installed
+ test 0 '!=' 0
+ test installed '!=' installed
+ return 0
+ log info 'Package already installed: '\''openssl'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ continue
+ for pkg in ${pkgs}
+ check_installed_debian ca-certificates
++ dpkg-query --show '--showformat=${db:Status-Status}' ca-certificates
+ status=installed
+ test 0 '!=' 0
+ test installed '!=' installed
+ return 0
+ log info 'Package already installed: '\''ca-certificates'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ continue
+ test -n ''
+ true
+ has systemd-detect-virt
++ command -v systemd-detect-virt
+ _cmd=/usr/bin/systemd-detect-virt
+ '[' -x /usr/bin/systemd-detect-virt ']'
+ nested_virt_tool=systemd-detect-virt
+ break
+ nested_virtualization_test
+ nested_virtualization_detected=
+ test -z systemd-detect-virt
+ test '' = 1
+ root_cmd systemd-detect-virt
+ test -z systemd-detect-virt
+ case "${sucmd}" in
+ log_run notice sudo -- systemd-detect-virt
+ level=notice
+ shift
++ echo sudo -- systemd-detect-virt
++ tr -s ' '
+ command_without_extrarenous_spaces='sudo -- systemd-detect-virt'
+ test '' = 1
+ test '' = 1
+ log notice 'Running: $ sudo -- systemd-detect-virt'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ sudo -- systemd-detect-virt
+ return 1
+ test -f /usr/share/qubes/marker-vm
+ secure_boot_test
+ local mokutil_output
++ mokutil --sb-state
+ mokutil_output='This system doesn'\''t support Secure Boot'
+ log info '\033[4mSecure Boot Check Result:\033[24m '\''disabled'\'' (mokutil_output: '\''This system doesn'\''t support Secure Boot'\'') Ok.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ case "${onion}" in
+ test -n ''
+ test '' = 1
+ get_virtualization
++ root_cmd grep -m1 -w '^flags[[:blank:]]*:' /proc/cpuinfo
++ grep -wo -E '(vmx|svm)'
++ test -z grep
++ case "${sucmd}" in
++ log_run notice sudo -- grep -m1 -w '^flags[[:blank:]]*:' /proc/cpuinfo
++ level=notice
++ shift
+++ echo sudo -- grep -m1 -w '^flags[[:blank:]]*:' /proc/cpuinfo
+++ tr -s ' '
++ command_without_extrarenous_spaces='sudo -- grep -m1 -w ^flags[[:blank:]]*: /proc/cpuinfo'
++ test '' = 1
++ test '' = 1
++ log notice 'Running: $ sudo -- grep -m1 -w ^flags[[:blank:]]*: /proc/cpuinfo'
++ test 1 = 1
++ true 'Removing xtrace for log() function.'
++ set +o xtrace
++ sudo -- grep -m1 -w '^flags[[:blank:]]*:' /proc/cpuinfo
+ virt_flag=vmx
+ case "${virt_flag:=}" in
+ brand=intel
+ case "${virt_flag:=}" in
+ log notice '\033[4mVirtualization Support Test:\033[24m Your CPU supports virtualization: '\''intel'\'': '\''vmx'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ virt_detection_success=true
+ return 0
+ log_time
++ get_elapsed_time
+++ date +%s
++ printf '%s\n' 230
+ log info 'Elapsed time: 230s.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ test '' '!=' 1
+ check_vm_exists
+ test '' = 1
+ log info 'Checking if Virtual Machine(s) have been already imported.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ case "${hypervisor}" in
+ check_vm_exists_virtualbox
+ test '' = 1
+ case "${guest}" in
+ workstation_exists=0
+ gateway_exists=0
+ vboxmanage showvminfo Whonix-Gateway-Xfce
+ vboxmanage showvminfo Whonix-Workstation-Xfce
+ test 0 = 0
+ test 0 = 1
+ test 0 = 1
+ test 0 = 1
+ test 0 = 1
+ test -n ''
+ should_download
+ test '' = 1
+ test '' = 1
+ test -f ''
+ return 0
+ test '' '!=' 1
+ log notice 'Testing internet connection...'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ cmd_check_internet='timeout --foreground 180 rsync-ssl --dry-run --max-size 200K rsync://www.whonix.org'
+ log info 'Executing: $ timeout --foreground 180 rsync-ssl --dry-run --max-size 200K rsync://www.whonix.org'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ timeout --foreground 180 rsync-ssl --dry-run --max-size 200K rsync://www.whonix.org
+ log notice 'Connection to rsync://www.whonix.org succeeded.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ get_version 'https://www.whonix.org/w/index.php?title=Template:VersionNew&stable=0&action=raw'
+ log notice 'Detecting guest version...'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ test -n ''
+ log info 'Acquiring guest version from API...'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ log info 'API host: https://www.whonix.org/w/index.php?title=Template:VersionNew&stable=0&action=raw'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
++ get_proxy_cred version
++ test rsync-ssl '!=' curl
++ return 0
+ cmd_raw_version='curl --tlsv1.3 --proto =https --max-time 180 --max-filesize 2K --url https://www.whonix.org/w/index.php?title=Template:VersionNew&stable=0&action=raw'
+ test '' = 1
++ curl --tlsv1.3 --proto =https --max-time 180 --max-filesize 2K --url 'https://www.whonix.org/w/index.php?title=Template:VersionNew&stable=0&action=raw'
+ raw_version='17.0.4.5<noinclude>[[Category:MultiWiki]]
{{mbox
| image = [[File:Ambox_warning_pn.svg.png|40px|link=]]
| text =
<span class="fontsize19>'\'''\'''\''NOTE FOR ADMIN: If you change this version, please make sure to also change [[Template:VersionTesters]]'\'''\'''\''</span>
}}
</noinclude>'
++ echo '17.0.4.5<noinclude>[[Category:MultiWiki]]
{{mbox
| image = [[File:Ambox_warning_pn.svg.png|40px|link=]]
| text =
<span class="fontsize19>'\'''\'''\''NOTE FOR ADMIN: If you change this version, please make sure to also change [[Template:VersionTesters]]'\'''\'''\''</span>
}}
</noinclude>'
++ head -n 1
+ guest_version='17.0.4.5<noinclude>[[Category:MultiWiki]]'
++ printf '%s\n' '17.0.4.5<noinclude>[[Category:MultiWiki]]'
++ sed 's/<.*//'
+ guest_version=17.0.4.5
+ '[' 17.0.4.5 ']'
+ '[' 8 -le 12 ']'
+ log notice 'Version: '\''17.0.4.5'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ guest_file=Whonix-Xfce-17.0.4.5
+ download_flag=/home/ubuntu/dist-installer-cli-download/Whonix-Xfce-17.0.4.5.ova.flag
+ url_domain=rsync://whonix.org/whonix/ova/17.0.4.5
+ url_guest_file=rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5
+ should_download
+ test '' = 1
+ test '' = 1
+ test -f /home/ubuntu/dist-installer-cli-download/Whonix-Xfce-17.0.4.5.ova.flag
+ return 0
+ download_files
+ log_time
++ get_elapsed_time
+++ date +%s
++ printf '%s\n' 233
+ log info 'Elapsed time: 233s.'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ log notice 'Downloads will be stored in the directory: '\''/home/ubuntu/dist-installer-cli-download'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ get_file large rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5.ova
+ size=large
+ url=rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5.ova
+ test -z ''
+ round=10
+ round=11
+ case "${size}" in
+ download_opt_prefix='timeout --foreground 2700'
+ download_opt='--compress --partial --max-size 3G'
++ get_proxy_cred 11
++ test rsync-ssl '!=' curl
++ return 0
+ download_opt_full='timeout --foreground 2700 rsync-ssl --no-motd --progress --verbose --verbose --timeout 600 --compress --partial --max-size 3G rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5.ova /home/ubuntu/dist-installer-cli-download'
+ log notice 'Downloading: '\''rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5.ova'\'''
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ log_run notice timeout --foreground 2700 rsync-ssl --no-motd --progress --verbose --verbose --timeout 600 --compress --partial --max-size 3G rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5.ova /home/ubuntu/dist-installer-cli-download
+ level=notice
+ shift
++ echo timeout --foreground 2700 rsync-ssl --no-motd --progress --verbose --verbose --timeout 600 --compress --partial --max-size 3G rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5.ova /home/ubuntu/dist-installer-cli-download
++ tr -s ' '
+ command_without_extrarenous_spaces='timeout --foreground 2700 rsync-ssl --no-motd --progress --verbose --verbose --timeout 600 --compress --partial --max-size 3G rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5.ova /home/ubuntu/dist-installer-cli-download'
+ test '' = 1
+ test '' = 1
+ log notice 'Running: $ timeout --foreground 2700 rsync-ssl --no-motd --progress --verbose --verbose --timeout 600 --compress --partial --max-size 3G rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5.ova /home/ubuntu/dist-installer-cli-download'
+ test 1 = 1
+ true 'Removing xtrace for log() function.'
+ set +o xtrace
+ timeout --foreground 2700 rsync-ssl --no-motd --progress --verbose --verbose --timeout 600 --compress --partial --max-size 3G rsync://whonix.org/whonix/ova/17.0.4.5/Whonix-Xfce-17.0.4.5.ova /home/ubuntu/dist-installer-cli-download
++ handle_exit 20 1
++ true 'BEGIN handle_exit() with args: 20 1'
++ last_exit=20
++ line_number=1
++ log_time
+++ get_elapsed_time
++++ date +%s
+++ printf '%s\n' 765
++ log info 'Elapsed time: 765s.'
++ test 1 = 1
++ true 'Removing xtrace for log() function.'
++ set +o xtrace
++ test 20 = 0
++ test 20 = 106
++ test 20 = 107
++ test -n '"${@}"'
++ log notice 'Executed script, function, command: '\''./whonix-xfce-installer-cli'\'' '\''log_run'\'' '\''"${@}"'\'''
++ test 1 = 1
++ true 'Removing xtrace for log() function.'
++ set +o xtrace
++ test 1 -gt 2
++ '[' 20 -gt 128 ']'
++ log error 'Exit code: '\''20'\'''
++ test 1 = 1
++ true 'Removing xtrace for log() function.'
++ set +o xtrace
Please let me know if you need anything else.