[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

Error on installing Whonix on Hardware


#1

Hi All,
Greetings from Lizard.
I am trying to install Whonix for Physical Isolation. Tried installing from Ubuntu and now installing on Debian 9. But ended up with the following error. Could someone please help me?

  • set -e
  • true ‘INFO: Currently running script: ./whonix_build --flavour’ whonix_gateway – --target root --build
    +++ dirname ./whonix_build
    ++ cd .
    ++ pwd
  • MYDIR=/home/xxxxx/Whonix
  • cd /home/xxxxx/Whonix
  • source ./help-steps/pre
    ++ ‘[’ ‘!’ ‘’ = true ‘]’
    ++ set +x
  • source ./help-steps/colors
    ++ ‘[’ ‘!’ ‘’ = true ‘]’
    ++ colors
    ++ ‘[’ xterm-256color = ‘’ ‘]’
    ++ [[ -t 2 ]]
    ++ export whonix_build_already_defined_colors=true
    ++ whonix_build_already_defined_colors=true
  • trap error_handler_whonix_build_one ERR
  • export WHONIX_BUILD_ONE_SCRIPT_STARTED=1
  • WHONIX_BUILD_ONE_SCRIPT_STARTED=1
  • main --flavour whonix_gateway – --target root --build
  • root_check
    ++ id -u
  • ‘[’ 0 ‘!=’ 0 ‘]’
  • echo ‘INFO: Script running as root.’
    INFO: Script running as root.
  • args=’–flavour whonix_gateway – --target root --build’
  • whonix_build_preparation --flavour whonix_gateway – --target root --build
  • cd help-steps
  • source parse-cmd
  • whonix_build_one_parse_cmd --flavour whonix_gateway – --target root --build
  • ‘[’ ‘!’ ‘’ = 1 ‘]’
  • ‘[’ ‘–flavour whonix_gateway – --target root --build’ = ‘’ ‘]’
  • local build_machines_counter=0
  • local build_target_counter=0
  • :
  • case $1 in
  • echo ‘unknown option (1): --flavour’
    unknown option (1): --flavour
  • error ‘unknown option (1): --flavour’
  • echo ‘############################################################’
    ############################################################
  • echo ‘ERROR: unknown option (1): --flavour’
    ERROR: unknown option (1): --flavour
  • echo ‘############################################################’
    ############################################################
  • error_ ‘See above! (There should be a bold, red message surrounded by blue hashtags (#).)’
    ./help-steps/pre: line 30: error_: command not found
    ++ error_handler_whonix_build_one
    ++ true ‘ERROR in ./whonix_build’
    ++ true ‘BASH_COMMAND: error_ “See above! (There should be a bold, red message surrounded by blue hashtags (#).)”’
    ++ true 'whonix_build_one_build_step_current: ’
    ++ true ‘args: --flavour whonix_gateway – --target root --build’
    ++ true ‘INFO: Now exiting from ./whonix_build (because error was detected, see above).’
    ++ exit 1
  • exithandler
  • local exit_code=1
  • ‘[’ ‘!’ 1 = 0 ‘]’
  • exit 1

#2

The build command is wrong. Try:

sudo ./whonix_build --flavor whonix-gateway – --target root --build


#3

@Algernon Thanks, it seems to be running now without the addition dashdash(–) before target. Will get back to you with further blockers if any. Really appreciate your reply.

Just out of the box question, do we have something like a irc/discord/slack?


#4

@Algernon, ended up with this. Retried once… What might have had gone wrong? :frowning:

last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::State="$WHONIX_BINARY/apt_state" -o Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg" -o Dir::Etc::trusted.d="-" -o Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup=“0” update
last_failed_exit_code: 100
ERROR in ././build-steps.d/1200_create-debian-packages detected!
############################################################

++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = INT ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = TERM ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ true ‘INFO: trap_signal_type_last: NONE_(called_by_errorhandlerretry), considering auto retry…’
++ ‘[’ ‘!’ 1 = 0 ‘]’
++ ‘[’ 2 = ‘’ ‘]’
++ ‘[’ -n 1 ‘]’
++ ‘[’ -n 5 ‘]’
++ local first
++ read -r first _
++ ‘[’ ‘$apt_get_update_wrapper_source_path_full’ = error_ ‘]’
++ ‘[’ 2 -gt 1 ‘]’
++ true 'INFO: Auto retried (–retry-max) already 1 times. No more auto retry. ’
++ unset whonix_build_auto_retry_counter
++ true
++ ignore_error=false
++ answer=
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ true 'INFO: whonix_build_non_interactive: ’
++ ‘[’ ‘’ = true ‘]’
++ ‘[’ -t 0 ‘]’
++ true ‘INFO: stdin connected to terminal, using interactive error handler.’
++ true ’ ERROR in ././build-steps.d/1200_create-debian-packages detected!
Please have a look above (the block within ###…), note the command that failed, last_failed_exit_code and its output (further above).

  • Please enter c and press enter to ignore the error and continue building. (Recommended against!)
  • Please press r and enter to retry.
  • Please press s and enter to open an chroot interactive shell.
  • Please press a and enter to abort.’

#5

The dash should be “- -” (without space) instead. But those get somehow merged by the forum software during the post. It also works without them though.
The error is the same issue as here: the following signatures were invalid: EXPKEYSIG 74A941BA219EC810 deb.torproject.org archive signing key
You can try to install the latest deb.torproject.org-keyring package and see if it gets fixed.


#6

@Algernon , forgive me if I am pestering you. tried the signatures invalid patch from the following signatures were invalid: EXPKEYSIG 74A941BA219EC810 deb.torproject.org archive signing key

(
sudo apt-key --keyring /etc/apt/trusted.gpg.d/torprojectarchive.gpg adv --keyserver hkp://ipv4.pool.sks-keyservers.net:80 --recv-keys A3C4F0F979CAA22CDBA8F512EE8CBC9E886DDD89
)

But ended up with next error (pasted below).

ERROR in ././build-steps.d/1200_create-debian-packages detected!
anon_dist_build_version: 14.0.0.8.1
(whonix_build_error_counter: 2)
(benchmark: 00:02:28)
trap_signal_type_previous: ERR
trap_signal_type_last : NONE_(called_by_errorhandlerretry)
process_backtrace_result:
1: : /sbin/init
2: : xfce4-terminal
3: : bash
4: : sudo ./whonix_build --flavor whonix-gateway --target root --build
5: : /bin/bash ./whonix_build --flavor whonix-gateway --target root --build
6: : /bin/bash ././build-steps.d/1200_create-debian-packages
function_trace_result:
main (line number: 371)
main (line number: 367)
create-debian-packages (line number: 357)
get_tpo_packages (line number: 195)
errorhandlergeneral (line number: 334)
errorhandlerprocessshared (line number: 220)
errorhandlerretry (line number: 154)
errorhandlerprocessshared (line number: 169)
errorhandlerprocessshared (line number: 169)
errorhandlergeneral (line number: 334)
get_tpo_packages (line number: 195)
create-debian-packages (line number: 357)
main (line number: 367)
main (line number: 371)
last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::State="$WHONIX_BINARY/apt_state" -o Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg" -o Dir::Etc::trusted.d="-" -o Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup=“0” update
last_failed_exit_code: 100
ERROR in ././build-steps.d/1200_create-debian-packages detected!
############################################################

++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = INT ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = TERM ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ true ‘INFO: trap_signal_type_last: NONE_(called_by_errorhandlerretry), considering auto retry…’
++ ‘[’ ‘!’ 1 = 0 ‘]’
++ ‘[’ 2 = ‘’ ‘]’
++ ‘[’ -n 1 ‘]’
++ ‘[’ -n 5 ‘]’
++ local first
++ read -r first _
++ ‘[’ ‘$apt_get_update_wrapper_source_path_full’ = error_ ‘]’
++ ‘[’ 2 -gt 1 ‘]’
++ true 'INFO: Auto retried (–retry-max) already 1 times. No more auto retry. ’
++ unset whonix_build_auto_retry_counter
++ true
++ ignore_error=false
++ answer=
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ true 'INFO: whonix_build_non_interactive: ’
++ ‘[’ ‘’ = true ‘]’
++ ‘[’ -t 0 ‘]’
++ true ‘INFO: stdin connected to terminal, using interactive error handler.’
++ true ’ ERROR in ././build-steps.d/1200_create-debian-packages detected!
Please have a look above (the block within ###…), note the command that failed, last_failed_exit_code and its output (further above).

  • Please enter c and press enter to ignore the error and continue building. (Recommended against!)
  • Please press r and enter to retry.
  • Please press s and enter to open an chroot interactive shell.
  • Please press a and enter to abort.’
    ++ read -p 'Answer? ’ answer

I am not sure if this is something in what I do so I will repeat my steps.

  • I created a Debian 9 OS (installed off usb)
  • I followed the post https://www.whonix.org/wiki/Dev/Build_Documentation/Physical_Isolation
  • Added new repo source.
  • updated && upgraded
  • intstalled microcode (amd64-microcode 3.20160316.3 i386)
  • created a non sudo user and provided sudo priv
  • downloaded the signing Key
  • cloned the repo and checked out the developer version ( as I couldnt find stable :disappointed_relieved: )
  • And ended up with this tread with you :slight_smile:

Is there anything I missed / did wrong?


#7

You need to post more of the error/log.
Did you also try to install the keyring deb package?
In particular this one : https://deb.torproject.org/torproject.org/pool/main/d/deb.torproject.org-keyring/deb.torproject.org-keyring_2018.08.06_all.deb


#8

Just installed the Keyring package. (now only, sorry) rebooted and trying again. Will post longer logs if it errs again. (probably a post.debian paste?)


#9

@Algernon, Did that, ended up with this. :frowning:
Pasting the whole error file slows down the window.

############################################################
ERROR in ././build-steps.d/1200_create-debian-packages detected!
anon_dist_build_version: 14.0.0.8.1
(whonix_build_error_counter: 1)
(benchmark: 00:02:48)
trap_signal_type_previous: unset
trap_signal_type_last : ERR
process_backtrace_result:
1: : /sbin/init
2: : xfce4-terminal
3: : bash
4: : sudo ./whonix_build --flavor whonix-gateway --target root --build
5: : /bin/bash ./whonix_build --flavor whonix-gateway --target root --build
6: : /bin/bash ././build-steps.d/1200_create-debian-packages
function_trace_result:
main (line number: 371)
main (line number: 367)
create-debian-packages (line number: 357)
get_tpo_packages (line number: 195)
errorhandlergeneral (line number: 334)
errorhandlerprocessshared (line number: 169)
last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::State="$WHONIX_BINARY/apt_state" -o Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg" -o Dir::Etc::trusted.d="-" -o Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup=“0” update
last_failed_exit_code: 100
ERROR in ././build-steps.d/1200_create-debian-packages detected!
############################################################

++ ‘[’ ERR = INT ‘]’
++ ‘[’ ERR = TERM ‘]’
++ ‘[’ ERR = ERR ‘]’
++ true ‘INFO: trap_signal_type_last: ERR, considering auto retry…’
++ ‘[’ ‘!’ 1 = 0 ‘]’
++ ‘[’ ‘’ = ‘’ ‘]’
++ whonix_build_auto_retry_counter=1
++ ‘[’ -n 1 ‘]’
++ ‘[’ -n 5 ‘]’
++ local first
++ read -r first _
++ ‘[’ ‘$apt_get_update_wrapper_source_path_full’ = error_ ‘]’
++ ‘[’ 1 -gt 1 ‘]’
++ true 'INFO: Auto retry attempt number: 1. Max retry attempts: 1 (–retry-max). Auto retry… ’
++ whonix_build_auto_retry_counter=2
++ ‘[’ ‘!’ 5 = 0 ‘]’
++ true 'INFO: Waiting (–retry-wait) 5 seconds before auto retry… ’
++ wait 2004
++ sleep 5
++ ignore_error=true
++ error_handler_do_retry=true
++ errorhandlerretry
++ ‘[’ ‘!’ ‘’ = ‘’ ‘]’
++ true ‘INFO: Skipping whonix_build_dispatch_before_retry (–retry-before), because empty, ok.’
++ true ‘INFO: Retrying last_failed_bash_command…: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::State="$WHONIX_BINARY/apt_state" -o Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg" -o Dir::Etc::trusted.d="-" -o Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup=“0” update ’
++ retry_last_failed_bash_command_exit_code=0
++ eval ‘$apt_get_update_wrapper_source_path_full’ -o ‘Dir::State="$WHONIX_BINARY/apt_state"’ -o ‘Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg"’ -o ‘Dir::Etc::trusted.d="-"’ -o ‘Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list"’ -o ‘Dir::Etc::sourceparts="-"’ -o ‘APT::Get::List-Cleanup=“0”’ update
+++ /home/thelizard/Whonix/packages/security-misc//usr/lib/security-misc/apt-get-wrapper -o Dir::State=/home/thelizard/whonix_binary/apt_state -o Dir::Etc::trusted=/tmp/tmp.i1TVTLxfU7/pubring.gpg -o Dir::Etc::trusted.d=- -o Dir::Etc::sourcelist=/home/thelizard/Whonix/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list -o Dir::Etc::sourceparts=- -o APT::Get::List-Cleanup=0 update
Get:1 http://deb.torproject.org/torproject.org stretch InRelease
Err:1 http://deb.torproject.org/torproject.org stretch InRelease
Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?)
Fetched 263 B in 10s (24 B/s)
Reading package lists…
E: Failed to fetch http://deb.torproject.org/torproject.org/dists/stretch/InRelease Clearsigned file isn’t valid, got ‘NOSPLIT’ (does the network require authentication?)
E: Some index files failed to download. They have been ignored, or old ones used instead.
++ retry_last_failed_bash_command_exit_code=100
++ true
++ ‘[’ 100 = 0 ‘]’
++ true ‘INFO: Retry failed. exit code of last_failed_bash_command: 100 ’
++ last_failed_exit_code=100
++ last_failed_bash_command=’$apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::State="$WHONIX_BINARY/apt_state" -o Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg" -o Dir::Etc::trusted.d="-" -o Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup=“0” update’
++ ‘[’ ‘!’ ‘’ = ‘’ ‘]’
++ true ‘INFO: Skipping whonix_build_dispatch_after_retry (–retry-after), because empty, ok.’
++ ‘[’ 100 = 0 ‘]’
++ errorhandlerprocessshared ‘NONE_(called_by_errorhandlerretry)’
++ last_script=././build-steps.d/1200_create-debian-packages
++ trap_signal_type_previous=ERR
++ ‘[’ ERR = ‘’ ‘]’
++ trap_signal_type_last=‘NONE_(called_by_errorhandlerretry)’
++ whonix_build_error_counter=2
+++ benchmarktimeend 1536141412
++++ date +%s
+++ benchmarktimeend=1536141596
+++ benchmark_took_seconds=184
++++ convertsecs 184
++++ local h m s
++++ (( h=184/3600 ))
++++ true
++++ (( m=(184%3600)/60 ))
++++ (( s=184%60 ))
++++ printf ‘%02d:%02d:%02d\n’ 0 3 4
+++ echo 00:03:04
++ benchmark_took_time=00:03:04
++ processbacktracefunction
++ true ‘INFO: BEGIN: processbacktracefunction’
++ ‘[’ -o xtrace ‘]’
++ set +x
++ true ‘INFO: END : processbacktracefunction’
++ functiontracefunction
++ true ‘INFO: BEGIN: functiontracefunction’
++ ‘[’ -o xtrace ‘]’
++ set +x
++ true ‘INFO: END : functiontracefunction’
++ output_cmd_set
++ ‘[’ -o xtrace ‘]’
++ output_cmd=true
++ true ’
############################################################
ERROR in ././build-steps.d/1200_create-debian-packages detected!
anon_dist_build_version: 14.0.0.8.1
(whonix_build_error_counter: 2)
(benchmark: 00:03:04)
trap_signal_type_previous: ERR
trap_signal_type_last : NONE_(called_by_errorhandlerretry)
process_backtrace_result:
1: : /sbin/init
2: : xfce4-terminal
3: : bash
4: : sudo ./whonix_build --flavor whonix-gateway --target root --build
5: : /bin/bash ./whonix_build --flavor whonix-gateway --target root --build
6: : /bin/bash ././build-steps.d/1200_create-debian-packages
function_trace_result:
main (line number: 371)
main (line number: 367)
create-debian-packages (line number: 357)
get_tpo_packages (line number: 195)
errorhandlergeneral (line number: 334)
errorhandlerprocessshared (line number: 220)
errorhandlerretry (line number: 154)
errorhandlerprocessshared (line number: 169)
errorhandlerprocessshared (line number: 169)
errorhandlergeneral (line number: 334)
get_tpo_packages (line number: 195)
create-debian-packages (line number: 357)
main (line number: 367)
main (line number: 371)
last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::State="$WHONIX_BINARY/apt_state" -o Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg" -o Dir::Etc::trusted.d="-" -o Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup=“0” update
last_failed_exit_code: 100
ERROR in ././build-steps.d/1200_create-debian-packages detected!
############################################################

++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = INT ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = TERM ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ true ‘INFO: trap_signal_type_last: NONE_(called_by_errorhandlerretry), considering auto retry…’
++ ‘[’ ‘!’ 1 = 0 ‘]’
++ ‘[’ 2 = ‘’ ‘]’
++ ‘[’ -n 1 ‘]’
++ ‘[’ -n 5 ‘]’
++ local first
++ read -r first _
++ ‘[’ ‘$apt_get_update_wrapper_source_path_full’ = error_ ‘]’
++ ‘[’ 2 -gt 1 ‘]’
++ true 'INFO: Auto retried (–retry-max) already 1 times. No more auto retry. ’
++ unset whonix_build_auto_retry_counter
++ true
++ ignore_error=false
++ answer=
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ERR ‘]’
++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
++ true 'INFO: whonix_build_non_interactive: ’
++ ‘[’ ‘’ = true ‘]’
++ ‘[’ -t 0 ‘]’
++ true ‘INFO: stdin connected to terminal, using interactive error handler.’
++ true ’ ERROR in ././build-steps.d/1200_create-debian-packages detected!
Please have a look above (the block within ###…), note the command that failed, last_failed_exit_code and its output (further above).

  • Please enter c and press enter to ignore the error and continue building. (Recommended against!)
  • Please press r and enter to retry.
  • Please press s and enter to open an chroot interactive shell.
  • Please press a and enter to abort.’
    ++ read -p ‘Answer? ’ answer
    Answer? +++ errorhandlergeneral INT
    +++ last_failed_exit_code=0
    +++ last_failed_bash_command=’$apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::State="$WHONIX_BINARY/apt_state" -o Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg" -o Dir::Etc::trusted.d="-" -o Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup=“0” update’
    +++ output_cmd_set
    +++ ‘[’ -o xtrace ‘]’
    +++ output_cmd=true
    +++ true ‘INFO: Middle of function errorhandlergeneral of ././build-steps.d/1200_create-debian-packages.’
    +++ errorhandlerprocessshared INT
    +++ last_script=././build-steps.d/1200_create-debian-packages
    +++ trap_signal_type_previous=‘NONE_(called_by_errorhandlerretry)’
    +++ ‘[’ ‘NONE_(called_by_errorhandlerretry)’ = ‘’ ‘]’
    +++ trap_signal_type_last=INT
    +++ whonix_build_error_counter=3
    ++++ benchmarktimeend 1536141412
    +++++ date +%s
    ++++ benchmarktimeend=1536141623
    ++++ benchmark_took_seconds=211
    +++++ convertsecs 211
    +++++ local h m s
    +++++ (( h=211/3600 ))
    +++++ true
    +++++ (( m=(211%3600)/60 ))
    +++++ (( s=211%60 ))
    +++++ printf ‘%02d:%02d:%02d\n’ 0 3 31
    ++++ echo 00:03:31
    +++ benchmark_took_time=00:03:31
    +++ processbacktracefunction
    +++ true ‘INFO: BEGIN: processbacktracefunction’
    +++ ‘[’ -o xtrace ‘]’
    +++ set +x
    +++ true ‘INFO: END : processbacktracefunction’
    +++ functiontracefunction
    +++ true ‘INFO: BEGIN: functiontracefunction’
    +++ ‘[’ -o xtrace ‘]’
    +++ set +x
    +++ true ‘INFO: END : functiontracefunction’
    +++ output_cmd_set
    +++ ‘[’ -o xtrace ‘]’
    +++ output_cmd=true
    +++ true ’
    ############################################################
    ERROR in ././build-steps.d/1200_create-debian-packages detected!
    anon_dist_build_version: 14.0.0.8.1
    (whonix_build_error_counter: 3)
    (benchmark: 00:03:31)
    trap_signal_type_previous: NONE_(called_by_errorhandlerretry)
    trap_signal_type_last : INT
    process_backtrace_result:
    1: : /sbin/init
    2: : xfce4-terminal
    3: : bash
    4: : sudo ./whonix_build --flavor whonix-gateway --target root --build
    5: : /bin/bash ./whonix_build --flavor whonix-gateway --target root --build
    6: : /bin/bash ././build-steps.d/1200_create-debian-packages
    function_trace_result:
    main (line number: 371)
    main (line number: 367)
    create-debian-packages (line number: 357)
    get_tpo_packages (line number: 195)
    errorhandlergeneral (line number: 334)
    errorhandlerprocessshared (line number: 220)
    errorhandlerretry (line number: 154)
    errorhandlerprocessshared (line number: 1)
    errorhandlergeneral (line number: 334)
    errorhandlerprocessshared (line number: 169)
    main (line number: 371)
    main (line number: 367)
    create-debian-packages (line number: 357)
    get_tpo_packages (line number: 195)
    errorhandlergeneral (line number: 334)
    errorhandlerprocessshared (line number: 169)
    errorhandlerprocessshared (line number: 169)
    errorhandlerretry (line number: 154)
    errorhandlerprocessshared (line number: 220)
    errorhandlergeneral (line number: 334)
    get_tpo_packages (line number: 195)
    create-debian-packages (line number: 357)
    main (line number: 367)
    main (line number: 371)
    last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::State="$WHONIX_BINARY/apt_state" -o Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg" -o Dir::Etc::trusted.d="-" -o Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup=“0” update
    last_failed_exit_code: 0
    ERROR in ././build-steps.d/1200_create-debian-packages detected!
    ############################################################

    +++ ‘[’ INT = INT ‘]’
    +++ true ‘INFO: signal INT received.’
    +++ errorhandlerprocessshared ‘NONE_(called_because_int_or_term)’
    +++ last_script=././build-steps.d/1200_create-debian-packages
    +++ trap_signal_type_previous=INT
    +++ ‘[’ INT = ‘’ ‘]’
    +++ trap_signal_type_last=‘NONE_(called_because_int_or_term)’
    +++ whonix_build_error_counter=4
    ++++ benchmarktimeend 1536141412
    +++++ date +%s
    ++++ benchmarktimeend=1536141623
    ++++ benchmark_took_seconds=211
    +++++ convertsecs 211
    +++++ local h m s
    +++++ (( h=211/3600 ))
    +++++ true
    +++++ (( m=(211%3600)/60 ))
    +++++ (( s=211%60 ))
    +++++ printf ‘%02d:%02d:%02d\n’ 0 3 31
    ++++ echo 00:03:31
    +++ benchmark_took_time=00:03:31
    +++ processbacktracefunction
    +++ true ‘INFO: BEGIN: processbacktracefunction’
    +++ ‘[’ -o xtrace ‘]’
    +++ set +x
    +++ true ‘INFO: END : processbacktracefunction’
    +++ functiontracefunction
    +++ true ‘INFO: BEGIN: functiontracefunction’
    +++ ‘[’ -o xtrace ‘]’
    +++ set +x
    +++ true ‘INFO: END : functiontracefunction’
    +++ output_cmd_set
    +++ ‘[’ -o xtrace ‘]’
    +++ output_cmd=true
    +++ true ’
    ############################################################
    ERROR in ././build-steps.d/1200_create-debian-packages detected!
    anon_dist_build_version: 14.0.0.8.1
    (whonix_build_error_counter: 4)
    (benchmark: 00:03:31)
    trap_signal_type_previous: INT
    trap_signal_type_last : NONE_(called_because_int_or_term)
    process_backtrace_result:
    1: : /sbin/init
    2: : xfce4-terminal
    3: : bash
    4: : sudo ./whonix_build --flavor whonix-gateway --target root --build
    5: : /bin/bash ./whonix_build --flavor whonix-gateway --target root --build
    6: : /bin/bash ././build-steps.d/1200_create-debian-packages
    function_trace_result:
    main (line number: 371)
    main (line number: 367)
    create-debian-packages (line number: 357)
    get_tpo_packages (line number: 195)
    errorhandlergeneral (line number: 334)
    errorhandlerprocessshared (line number: 220)
    errorhandlerretry (line number: 154)
    errorhandlerprocessshared (line number: 1)
    errorhandlergeneral (line number: 334)
    errorhandlerprocessshared (line number: 191)
    errorhandlerprocessshared (line number: 169)
    main (line number: 371)
    main (line number: 367)
    create-debian-packages (line number: 357)
    get_tpo_packages (line number: 195)
    errorhandlergeneral (line number: 334)
    errorhandlerprocessshared (line number: 220)
    errorhandlerretry (line number: 154)
    errorhandlerprocessshared (line number: 169)
    errorhandlerprocessshared (line number: 169)
    errorhandlergeneral (line number: 334)
    get_tpo_packages (line number: 195)
    create-debian-packages (line number: 357)
    main (line number: 367)
    main (line number: 371)
    errorhandlerprocessshared (line number: 169)
    errorhandlergeneral (line number: 334)
    errorhandlerprocessshared (line number: 1)
    errorhandlerretry (line number: 154)
    errorhandlerprocessshared (line number: 220)
    errorhandlergeneral (line number: 334)
    get_tpo_packages (line number: 195)
    create-debian-packages (line number: 357)
    main (line number: 367)
    main (line number: 371)
    last_failed_bash_command: $apt_get_update_wrapper_source_path_full ${APTGETOPT[@]} -o Dir::State="$WHONIX_BINARY/apt_state" -o Dir::Etc::trusted="$gpg_temp_dir/pubring.gpg" -o Dir::Etc::trusted.d="-" -o Dir::Etc::sourcelist="$WHONIX_SOURCE_FOLDER/packages/anon-shared-build-apt-sources-tpo/etc/apt/sources.list.d/torproject.list" -o Dir::Etc::sourceparts="-" -o APT::Get::List-Cleanup=“0” update
    last_failed_exit_code: 0
    ERROR in ././build-steps.d/1200_create-debian-packages detected!
    ############################################################

    +++ ‘[’ ‘NONE_(called_because_int_or_term)’ = INT ‘]’
    +++ ‘[’ ‘NONE_(called_because_int_or_term)’ = TERM ‘]’
    +++ ‘[’ ‘NONE_(called_because_int_or_term)’ = ERR ‘]’
    +++ ‘[’ ‘NONE_(called_because_int_or_term)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
    +++ true ‘INFO: No auto retry for non ERR signal type: NONE_(called_because_int_or_term)’
    +++ unset whonix_build_auto_retry_counter
    +++ true
    +++ ignore_error=false
    +++ answer=
    +++ ‘[’ ‘NONE_(called_because_int_or_term)’ = ERR ‘]’
    +++ ‘[’ ‘NONE_(called_because_int_or_term)’ = ‘NONE_(called_by_errorhandlerretry)’ ‘]’
    +++ ‘[’ ‘NONE_(called_because_int_or_term)’ = ‘NONE_(called_because_int_or_term)’ ‘]’
    +++ true 'INFO: whonix_build_non_interactive: ’
    +++ ‘[’ ‘’ = true ‘]’
    +++ ‘[’ -t 0 ‘]’
    +++ true ‘INFO: stdin connected to terminal, using interactive error handler.’
    +++ true ’ ERROR in ././build-steps.d/1200_create-debian-packages detected!
    Please have a look above (the block within ###…), note the command that failed, last_failed_exit_code and its output (further above).
  • Please enter c and press enter to ignore the error and continue building. (Recommended against!)
  • Please press r and enter to retry.
  • Please press s and enter to open an chroot interactive shell.
  • Please press a and enter to abort.’
    +++ read -p 'Answer? ’ answer
    Answer?

#10

Did you follow instructions from https://www.whonix.org/wiki/Tor_Versioning first?


#11

Yes I did.

I did quite a number of loops on the same system. Do you think I should start over? May be from the very beginning, start with Deb9 again and proceed once again?


#12

Certainly, everything is supposed to be run on Debian 9 / stretch.