[HOME] [DOWNLOAD] [DOCS] [NEWS] [SUPPORT] [TIPS] [ISSUES] [DONATE]

Whonix Build-Script fails

I tried to build Whonix from source on debian wheezy as described in https://www.whonix.org/wiki/Dev/Build_Documentation/8_short but it doesn’t work. I got the following build-log:

+ true 'Currently running script: ./whonix_build --build' --tor-gateway
+ set -o pipefail
+++ dirname ./whonix_build
++ cd .
++ pwd
+ MYDIR=/home/username/Whonix
++ dirname /home/username/Whonix
+ MY_PARENTDIR=/home/username
+ cd /home/username/Whonix
+ source ./help-steps/pre
++ set +x
+ export WHONIX_BUILD_MAIN_SCRIPT_STARTED=1
+ WHONIX_BUILD_MAIN_SCRIPT_STARTED=1
+ whonix_build_preparation --build --tor-gateway
+ trap error_handler_general ERR INT TERM
+ cd help-steps
+ source parse-cmd
++ whonix_build_cmdoptions --build --tor-gateway
++ trap error_handler_general ERR INT TERM
++ '[' '--build --tor-gateway' = '' ']'
++ :
++ case $1 in
++ export WHONIX_BUILD_BUILD=1
++ WHONIX_BUILD_BUILD=1
++ shift
++ :
++ case $1 in
++ export WHONIX_BUILD_GATEWAY=1
++ WHONIX_BUILD_GATEWAY=1
++ shift
++ :
++ case $1 in
++ break
++ '[' '' = 1 ']'
++ '[' '!' '' = 1 ']'
++ '[' '!' 1 = 1 ']'
++ '[' '' = 1 ']'
++ '[' '' = 1 ']'
++ '[' 1 = 1 ']'
++ '[' '' = 1 ']'
++ '[' 1 = 1 ']'
++ true
+ export WHONIX_BUILD_PARSED=1
+ WHONIX_BUILD_PARSED=1
+ source pre
++ set +x
+ cd ..
+ '[' '' = 1 ']'
+ '[' 1 = 1 ']'
+ '[' '' = 1 ']'
+ '[' 1 = 1 ']'
+ whonix_build_machine
+ trap error_handler_build-machine ERR INT TERM
+ run-parts --verbose --test ./build-steps.d
./build-steps.d/1100_prepare-build-machine
./build-steps.d/1200_create-debian-packages
./build-steps.d/1300_create-debian-img
./build-steps.d/1400_backup-img-after-grml-debootstrap
./build-steps.d/1700_install-meta-packages
./build-steps.d/1800_backup-img-after-meta-package-install
./build-steps.d/1900_run-chroot-scripts-pre-d
./build-steps.d/2000_install-files-packages
./build-steps.d/2100_verify-files
./build-steps.d/2300_run-chroot-scripts-post-d
./build-steps.d/2400_convert-img-to-qcow2
./build-steps.d/2500_convert-img-to-vdi
./build-steps.d/2600_create-vbox-vm
./build-steps.d/2700_export-vbox-vm
./build-steps.d/2800_create-report
+ run-parts --verbose --exit-on-error ./build-steps.d
run-parts: executing ./build-steps.d/1100_prepare-build-machine
+ true 'Currently running script: ./build-steps.d/1100_prepare-build-machine '
+++ dirname ./build-steps.d/1100_prepare-build-machine
++ cd ./build-steps.d
++ pwd
+ MYDIR=/home/username/Whonix/build-steps.d
+ cd /home/username/Whonix/build-steps.d
+ cd ..
+ cd help-steps
+ WHONIX_BUILD_PARSED=1
+ VMNAME=internalrun
+ no_git=1
+ no_dpkg_parsechangelog=1
+ whonix_build_on_operating_system_detect_skip=1
+ source pre
++ set +x
+ source variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 
whonix_build_new_changelog_version: 2:-debpackage1
+ true 'INFO: Currently running script: ./build-steps.d/1100_prepare-build-machine '
+ prepare-build-machine
+ trap error_handler_general ERR INT TERM
+ :
+ case $1 in
+ break
+ check-virtualbox-vm-exists
+ trap error_handler_general ERR INT TERM
+ '[' 0 = 1 ']'
+ local command_v_exit_code=0
+ command -v VBoxManage
+ '[' '!' 0 = 0 ']'
+ echo 'INFO: Checking, if a VirtualBox VM named Whonix-Gateway already exists...'
INFO: Checking, if a VirtualBox VM named Whonix-Gateway already exists...
+ local vboxmanage_exit_code
+ vboxmanage_exit_code=0
+ sudo -u username VBoxManage showvminfo Whonix-Gateway
+ vboxmanage_exit_code=1
+ true
+ '[' 1 = 0 ']'
+ echo 'INFO: Done, no VirtualBox VM named Whonix-Gateway does exist, ok.'
INFO: Done, no VirtualBox VM named Whonix-Gateway does exist, ok.
+ '[' '' = 1 ']'
+ true 'INFO: PWD: /home/username/Whonix '
++ stat -c %U ./build-steps.d/1100_prepare-build-machine
+ stat_output_owner=username
++ stat -c %G ./build-steps.d/1100_prepare-build-machine
+ stat_output_group=username
+ '[' username = root ']'
+ '[' username = root ']'
+ local id_exit_code
+ id_exit_code=0
+ id username
uid=1000(pa) gid=1000(pa) groups=1000(pa),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),103(fuse),104(scanner),107(bluetooth),109(netdev),119(debian-tor)
+ '[' '!' 0 = 0 ']'
+ true 'INFO: Not creating user "username" with password "changeme", because it already exists.'
+ addgroup username sudo
The user `username' is already a member of `sudo'.
+ true 'INFO: Benchmarking "sudo -u "$user_name" echo "This is a test echo."" using "time"...'
+ sudo -u username echo 'This is a test echo.'
This is a test echo.

real	0m0.006s
user	0m0.004s
sys	0m0.000s
+ '[' '!' 1 = 1 ']'
+ true 'INFO: Using longer timeout to allow more reliably downloading using apt-get over Tor. Feel free to out comment apt_timeout_opts in help-steps/variables.'
+ local dpkg_exit_code
+ dpkg_exit_code=0
+ dpkg-query -Wf '${db:Status-abbrev}' apt-cacher-ng
+ grep -q '^i'
+ dpkg_exit_code=1
+ true
+ '[' '!' 1 = 0 ']'
+ apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 update
Get:1 http://security.debian.org stable/updates Release.gpg [836 B]
Hit http://ftp2.de.debian.org stable Release.gpg
Get:2 http://security.debian.org stable/updates Release [102 kB]
Get:3 http://ftp2.de.debian.org stable-updates Release.gpg [836 B]
Get:4 http://ftp2.de.debian.org wheezy-backports Release.gpg [836 B]
Get:5 http://ftp2.de.debian.org unstable Release.gpg [836 B]
Hit http://ftp2.de.debian.org stable Release
Get:6 http://ftp2.de.debian.org stable-updates Release [124 kB]
Get:7 http://security.debian.org stable/updates/main Sources [127 kB]
Get:8 http://ftp2.de.debian.org wheezy-backports Release [147 kB]
Get:9 http://security.debian.org stable/updates/main amd64 Packages [215 kB]
Get:10 http://ftp2.de.debian.org unstable Release [232 kB]
Get:11 http://security.debian.org stable/updates/main Translation-en [121 kB]
Hit http://ftp2.de.debian.org stable/main Sources
Hit http://ftp2.de.debian.org stable/main amd64 Packages
Hit http://ftp2.de.debian.org stable/main Translation-en
Get:12 http://ftp2.de.debian.org stable/main Translation-de_DE [830 B]
Hit http://ftp2.de.debian.org stable/main Translation-de
Get:13 http://ftp2.de.debian.org wheezy-backports/main Sources/DiffIndex [7819 B]
Get:14 http://ftp2.de.debian.org wheezy-backports/main amd64 Packages/DiffIndex [7819 B]
Get:15 http://ftp2.de.debian.org wheezy-backports/main Translation-en/DiffIndex [7819 B]
Get:16 http://ftp2.de.debian.org unstable/main amd64 Packages/DiffIndex [7876 B]
Get:17 http://ftp2.de.debian.org unstable/main Translation-en/DiffIndex [7876 B]
Get:18 http://ftp2.de.debian.org unstable/main Translation-de_DE [830 B]
Get:19 http://ftp2.de.debian.org unstable/main Translation-de/DiffIndex [7819 B]
Get:20 http://ftp2.de.debian.org wheezy-backports/main 2014-08-12-2347.50.pdiff [1443 B]
Get:21 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-12-2347.50.pdiff [1267 B]
Get:22 http://ftp2.de.debian.org wheezy-backports/main 2014-08-12-2347.50.pdiff [1443 B]
Get:23 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-12-2347.50.pdiff [1267 B]
Get:24 http://ftp2.de.debian.org wheezy-backports/main 2014-08-15-1459.35.pdiff [1055 B]
Get:25 http://ftp2.de.debian.org wheezy-backports/main 2014-08-15-1459.35.pdiff [1055 B]
Get:26 http://ftp2.de.debian.org unstable/main Translation-en [4721 kB]
Get:27 http://ftp2.de.debian.org unstable/main 2014-08-13-0853.45.pdiff [757 B]
Get:28 http://ftp2.de.debian.org unstable/main 2014-08-13-0853.45.pdiff [757 B]
Get:29 http://ftp2.de.debian.org wheezy-backports/main 2014-08-13-1457.08.pdiff [31 B]
Get:30 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-13-2057.52.pdiff [588 B]
Get:31 http://ftp2.de.debian.org wheezy-backports/main 2014-08-13-1457.08.pdiff [31 B]
Get:32 http://ftp2.de.debian.org wheezy-backports/main 2014-08-17-2024.37.pdiff [485 B]
Get:33 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-13-2057.52.pdiff [588 B]
Get:34 http://ftp2.de.debian.org unstable/main amd64 Packages [6960 kB]
Get:35 http://ftp2.de.debian.org wheezy-backports/main 2014-08-17-2024.37.pdiff [485 B]
Get:36 http://ftp2.de.debian.org unstable/main 2014-08-14-0855.07.pdiff [356 B]
Get:37 http://ftp2.de.debian.org unstable/main 2014-08-14-0855.07.pdiff [356 B]
Get:38 http://ftp2.de.debian.org wheezy-backports/main 2014-08-13-2057.52.pdiff [400 B]
Get:39 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-14-0255.19.pdiff [247 B]
Get:40 http://ftp2.de.debian.org wheezy-backports/main 2014-08-19-2028.04.pdiff [33 B]
Get:41 http://ftp2.de.debian.org wheezy-backports/main 2014-08-13-2057.52.pdiff [400 B]
Get:42 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-14-0255.19.pdiff [247 B]
Get:43 http://ftp2.de.debian.org unstable/main 2014-08-15-0853.52.pdiff [456 B]
Get:44 http://ftp2.de.debian.org wheezy-backports/main 2014-08-14-0255.19.pdiff [443 B]
Get:45 http://ftp2.de.debian.org wheezy-backports/main 2014-08-19-2028.04.pdiff [33 B]
Get:46 http://ftp2.de.debian.org unstable/main 2014-08-15-0853.52.pdiff [456 B]
Get:47 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-14-0855.07.pdiff [247 B]
Get:48 http://ftp2.de.debian.org wheezy-backports/main 2014-08-24-0227.32.pdiff [443 B]
Get:49 http://ftp2.de.debian.org wheezy-backports/main 2014-08-14-0255.19.pdiff [443 B]
Get:50 http://ftp2.de.debian.org unstable/main 2014-08-16-0835.47.pdiff [1859 B]
Get:51 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-14-0855.07.pdiff [247 B]
Get:52 http://ftp2.de.debian.org wheezy-backports/main 2014-08-14-0855.07.pdiff [1851 B]
Get:53 http://ftp2.de.debian.org wheezy-backports/main 2014-08-24-0227.32.pdiff [443 B]
Get:54 http://ftp2.de.debian.org unstable/main 2014-08-16-0835.47.pdiff [1859 B]
Get:55 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-14-1455.35.pdiff [2428 B]
Get:56 http://ftp2.de.debian.org wheezy-backports/main 2014-08-25-0826.23.pdiff [4850 B]
Get:57 http://ftp2.de.debian.org wheezy-backports/main 2014-08-14-0855.07.pdiff [1851 B]
Get:58 http://ftp2.de.debian.org unstable/main 2014-08-17-0824.38.pdiff [1066 B]
Get:59 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-14-1455.35.pdiff [2428 B]
Get:60 http://ftp2.de.debian.org wheezy-backports/main 2014-08-14-1455.35.pdiff [31 B]
Get:61 http://ftp2.de.debian.org wheezy-backports/main 2014-08-25-0826.23.pdiff [4850 B]
Get:62 http://ftp2.de.debian.org unstable/main 2014-08-17-0824.38.pdiff [1066 B]
Get:63 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-15-1459.35.pdiff [1865 B]
Get:64 http://ftp2.de.debian.org wheezy-backports/main 2014-08-27-0227.45.pdiff [33 B]
Get:65 http://ftp2.de.debian.org wheezy-backports/main 2014-08-14-1455.35.pdiff [31 B]
Get:66 http://ftp2.de.debian.org unstable/main 2014-08-18-0826.08.pdiff [1089 B]
Get:67 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-15-1459.35.pdiff [1865 B]
Get:68 http://ftp2.de.debian.org wheezy-backports/main 2014-08-27-0227.45.pdiff [33 B]
Get:69 http://ftp2.de.debian.org unstable/main 2014-08-18-0826.08.pdiff [1089 B]
Get:70 http://ftp2.de.debian.org wheezy-backports/main 2014-08-15-1459.35.pdiff [2363 B]
Get:71 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-17-2024.37.pdiff [1509 B]
Get:72 http://ftp2.de.debian.org wheezy-backports/main 2014-08-28-2025.30.pdiff [2841 B]
Get:73 http://ftp2.de.debian.org wheezy-backports/main 2014-08-15-1459.35.pdiff [2363 B]
Get:74 http://ftp2.de.debian.org unstable/main 2014-08-19-0826.40.pdiff [1357 B]
Get:75 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-17-2024.37.pdiff [1509 B]
Get:76 http://ftp2.de.debian.org wheezy-backports/main 2014-08-17-2024.37.pdiff [1893 B]
Get:77 http://ftp2.de.debian.org wheezy-backports/main 2014-08-28-2025.30.pdiff [2841 B]
Get:78 http://ftp2.de.debian.org unstable/main 2014-08-19-0826.40.pdiff [1357 B]
Get:79 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-18-0227.39.pdiff [284 B]
Get:80 http://ftp2.de.debian.org wheezy-backports/main 2014-08-31-2027.07.pdiff [463 B]
Get:81 http://ftp2.de.debian.org wheezy-backports/main 2014-08-17-2024.37.pdiff [1893 B]
Get:82 http://ftp2.de.debian.org unstable/main 2014-08-20-0826.21.pdiff [3468 B]
Get:83 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-18-0227.39.pdiff [284 B]
Get:84 http://ftp2.de.debian.org wheezy-backports/main 2014-08-18-0227.39.pdiff [4369 B]
Get:85 http://ftp2.de.debian.org wheezy-backports/main 2014-08-31-2027.07.pdiff [463 B]
Get:86 http://ftp2.de.debian.org unstable/main 2014-08-20-0826.21.pdiff [3468 B]
Get:87 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-18-1426.04.pdiff [238 B]
Get:88 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-0225.52.pdiff [4056 B]
Get:89 http://ftp2.de.debian.org wheezy-backports/main 2014-08-18-0227.39.pdiff [4369 B]
Get:90 http://ftp2.de.debian.org unstable/main 2014-08-21-0829.37.pdiff [33 B]
Get:91 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-18-1426.04.pdiff [238 B]
Get:92 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-0225.52.pdiff [4056 B]
Get:93 http://ftp2.de.debian.org wheezy-backports/main 2014-08-18-1426.04.pdiff [401 B]
Get:94 http://ftp2.de.debian.org unstable/main 2014-08-21-0829.37.pdiff [33 B]
Get:95 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-19-0225.43.pdiff [25.2 kB]
Get:96 http://ftp2.de.debian.org wheezy-backports/main 2014-08-18-1426.04.pdiff [401 B]
Get:97 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-19-0225.43.pdiff [25.2 kB]
Get:98 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-0829.57.pdiff [33 B]
Get:99 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-0829.57.pdiff [33 B]
Get:100 http://ftp2.de.debian.org unstable/main 2014-08-22-0826.30.pdiff [70 B]
Get:101 http://ftp2.de.debian.org unstable/main 2014-08-22-0826.30.pdiff [70 B]
Get:102 http://ftp2.de.debian.org wheezy-backports/main 2014-08-19-2028.04.pdiff [33 B]
Get:103 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-19-2028.04.pdiff [33 B]
Get:104 http://ftp2.de.debian.org wheezy-backports/main 2014-09-09-2032.07.pdiff [1435 B]
Get:105 http://ftp2.de.debian.org wheezy-backports/main 2014-08-19-2028.04.pdiff [33 B]
Get:106 http://ftp2.de.debian.org unstable/main 2014-08-23-0824.06.pdiff [3428 B]
Get:107 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-19-2028.04.pdiff [33 B]
Get:108 http://ftp2.de.debian.org wheezy-backports/main 2014-08-20-0826.21.pdiff [389 B]
Get:109 http://ftp2.de.debian.org wheezy-backports/main 2014-09-09-2032.07.pdiff [1435 B]
Get:110 http://ftp2.de.debian.org unstable/main 2014-08-23-0824.06.pdiff [3428 B]
Get:111 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-20-0826.21.pdiff [603 B]
Get:112 http://ftp2.de.debian.org wheezy-backports/main 2014-09-11-2030.26.pdiff [33 B]
Get:113 http://ftp2.de.debian.org wheezy-backports/main 2014-08-20-0826.21.pdiff [389 B]
Get:114 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-20-0826.21.pdiff [603 B]
Get:115 http://ftp2.de.debian.org unstable/main 2014-08-24-0826.39.pdiff [1808 B]
Get:116 http://ftp2.de.debian.org wheezy-backports/main 2014-08-21-0225.28.pdiff [2344 B]
Get:117 http://ftp2.de.debian.org wheezy-backports/main 2014-09-11-2030.26.pdiff [33 B]
Get:118 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-21-0225.28.pdiff [5745 B]
Get:119 http://ftp2.de.debian.org unstable/main 2014-08-24-0826.39.pdiff [1808 B]
Get:120 http://ftp2.de.debian.org wheezy-backports/main 2014-08-21-0225.28.pdiff [2344 B]
Get:121 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-21-0225.28.pdiff [5745 B]
Get:122 http://ftp2.de.debian.org unstable/main 2014-08-25-0826.23.pdiff [360 B]
Get:123 http://ftp2.de.debian.org wheezy-backports/main 2014-08-22-0226.01.pdiff [408 B]
Get:124 http://ftp2.de.debian.org unstable/main 2014-08-25-0826.23.pdiff [360 B]
Get:125 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-22-0226.01.pdiff [524 B]
Get:126 http://ftp2.de.debian.org wheezy-backports/main 2014-08-22-0226.01.pdiff [408 B]
Get:127 http://ftp2.de.debian.org unstable/main 2014-08-26-0828.21.pdiff [3429 B]
Get:128 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-22-0226.01.pdiff [524 B]
Get:129 http://ftp2.de.debian.org wheezy-backports/main 2014-08-24-0227.32.pdiff [306 B]
Get:130 http://ftp2.de.debian.org unstable/main 2014-08-26-0828.21.pdiff [3429 B]
Get:131 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-24-0227.32.pdiff [995 B]
Get:132 http://ftp2.de.debian.org wheezy-backports/main 2014-08-24-0227.32.pdiff [306 B]
Get:133 http://ftp2.de.debian.org unstable/main 2014-08-27-0826.29.pdiff [1005 B]
Get:134 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-24-0227.32.pdiff [995 B]
Get:135 http://ftp2.de.debian.org wheezy-backports/main 2014-08-24-2028.13.pdiff [1480 B]
Get:136 http://ftp2.de.debian.org unstable/main 2014-08-27-0826.29.pdiff [1005 B]
Get:137 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-24-2028.13.pdiff [1499 B]
Get:138 http://ftp2.de.debian.org wheezy-backports/main 2014-08-24-2028.13.pdiff [1480 B]
Get:139 http://ftp2.de.debian.org unstable/main 2014-08-28-0827.57.pdiff [3343 B]
Get:140 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-24-2028.13.pdiff [1499 B]
Get:141 http://ftp2.de.debian.org wheezy-backports/main 2014-08-25-0227.27.pdiff [1310 B]
Get:142 http://ftp2.de.debian.org unstable/main 2014-08-28-0827.57.pdiff [3343 B]
Get:143 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-25-0227.27.pdiff [4478 B]
Get:144 http://ftp2.de.debian.org wheezy-backports/main 2014-08-25-0227.27.pdiff [1310 B]
Get:145 http://ftp2.de.debian.org unstable/main 2014-08-29-0827.33.pdiff [624 B]
Get:146 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-25-0227.27.pdiff [4478 B]
Get:147 http://ftp2.de.debian.org wheezy-backports/main 2014-08-25-0826.23.pdiff [14.6 kB]
Get:148 http://ftp2.de.debian.org unstable/main 2014-08-29-0827.33.pdiff [624 B]
Get:149 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-25-0826.23.pdiff [4328 B]
Get:150 http://ftp2.de.debian.org wheezy-backports/main 2014-08-25-0826.23.pdiff [14.6 kB]
Get:151 http://ftp2.de.debian.org unstable/main 2014-08-30-0829.48.pdiff [3739 B]
Get:152 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-25-0826.23.pdiff [4328 B]
Get:153 http://ftp2.de.debian.org wheezy-backports/main 2014-08-27-0227.45.pdiff [1249 B]
Get:154 http://ftp2.de.debian.org unstable/main 2014-08-30-0829.48.pdiff [3739 B]
Get:155 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-25-1429.43.pdiff [4741 B]
Get:156 http://ftp2.de.debian.org wheezy-backports/main 2014-08-27-0227.45.pdiff [1249 B]
Get:157 http://ftp2.de.debian.org unstable/main 2014-08-31-0826.40.pdiff [2656 B]
Get:158 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-25-1429.43.pdiff [4741 B]
Get:159 http://ftp2.de.debian.org wheezy-backports/main 2014-08-27-1426.47.pdiff [500 B]
Get:160 http://ftp2.de.debian.org unstable/main 2014-08-31-0826.40.pdiff [2656 B]
Get:161 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-27-0227.45.pdiff [1236 B]
Get:162 http://ftp2.de.debian.org wheezy-backports/main 2014-08-27-1426.47.pdiff [500 B]
Get:163 http://ftp2.de.debian.org unstable/main 2014-09-01-0828.42.pdiff [1170 B]
Get:164 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-27-0227.45.pdiff [1236 B]
Get:165 http://ftp2.de.debian.org wheezy-backports/main 2014-08-27-2026.49.pdiff [789 B]
Get:166 http://ftp2.de.debian.org unstable/main 2014-09-01-0828.42.pdiff [1170 B]
Get:167 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-27-1426.47.pdiff [291 B]
Get:168 http://ftp2.de.debian.org wheezy-backports/main 2014-08-27-2026.49.pdiff [789 B]
Get:169 http://ftp2.de.debian.org unstable/main 2014-09-02-0827.50.pdiff [1781 B]
Get:170 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-27-1426.47.pdiff [291 B]
Get:171 http://ftp2.de.debian.org wheezy-backports/main 2014-08-28-2025.30.pdiff [4781 B]
Get:172 http://ftp2.de.debian.org unstable/main 2014-09-02-0827.50.pdiff [1781 B]
Get:173 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-27-2026.49.pdiff [230 B]
Get:174 http://ftp2.de.debian.org wheezy-backports/main 2014-08-28-2025.30.pdiff [4781 B]
Get:175 http://ftp2.de.debian.org unstable/main 2014-09-03-0833.04.pdiff [68 B]
Get:176 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-27-2026.49.pdiff [230 B]
Get:177 http://ftp2.de.debian.org wheezy-backports/main 2014-08-29-0827.33.pdiff [488 B]
Get:178 http://ftp2.de.debian.org unstable/main 2014-09-03-0833.04.pdiff [68 B]
Get:179 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-28-2025.30.pdiff [6086 B]
Get:180 http://ftp2.de.debian.org wheezy-backports/main 2014-08-29-0827.33.pdiff [488 B]
Get:181 http://ftp2.de.debian.org unstable/main 2014-09-04-0831.05.pdiff [1903 B]
Get:182 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-28-2025.30.pdiff [6086 B]
Get:183 http://ftp2.de.debian.org wheezy-backports/main 2014-08-30-1425.18.pdiff [398 B]
Get:184 http://ftp2.de.debian.org unstable/main 2014-09-04-0831.05.pdiff [1903 B]
Get:185 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-29-0827.33.pdiff [248 B]
Get:186 http://ftp2.de.debian.org wheezy-backports/main 2014-08-30-1425.18.pdiff [398 B]
Get:187 http://ftp2.de.debian.org unstable/main 2014-09-05-0831.28.pdiff [676 B]
Get:188 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-29-0827.33.pdiff [248 B]
Get:189 http://ftp2.de.debian.org wheezy-backports/main 2014-08-31-2027.07.pdiff [894 B]
Get:190 http://ftp2.de.debian.org unstable/main 2014-09-05-0831.28.pdiff [676 B]
Get:191 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-30-1425.18.pdiff [254 B]
Get:192 http://ftp2.de.debian.org wheezy-backports/main 2014-08-31-2027.07.pdiff [894 B]
Get:193 http://ftp2.de.debian.org unstable/main 2014-09-06-0829.57.pdiff [642 B]
Get:194 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-30-1425.18.pdiff [254 B]
Get:195 http://ftp2.de.debian.org wheezy-backports/main 2014-09-01-0225.40.pdiff [2355 B]
Get:196 http://ftp2.de.debian.org unstable/main 2014-09-06-0829.57.pdiff [642 B]
Get:197 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-31-2027.07.pdiff [1357 B]
Get:198 http://ftp2.de.debian.org wheezy-backports/main 2014-09-01-0225.40.pdiff [2355 B]
Get:199 http://ftp2.de.debian.org unstable/main 2014-09-07-0829.20.pdiff [5376 B]
Get:200 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-08-31-2027.07.pdiff [1357 B]
Get:201 http://ftp2.de.debian.org wheezy-backports/main 2014-09-02-0227.39.pdiff [882 B]
Get:202 http://ftp2.de.debian.org unstable/main 2014-09-07-0829.20.pdiff [5376 B]
Get:203 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-01-0225.40.pdiff [1930 B]
Get:204 http://ftp2.de.debian.org wheezy-backports/main 2014-09-02-0227.39.pdiff [882 B]
Get:205 http://ftp2.de.debian.org unstable/main 2014-09-08-0830.44.pdiff [3605 B]
Get:206 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-01-0225.40.pdiff [1930 B]
Get:207 http://ftp2.de.debian.org wheezy-backports/main 2014-09-03-0228.32.pdiff [905 B]
Get:208 http://ftp2.de.debian.org unstable/main 2014-09-08-0830.44.pdiff [3605 B]
Get:209 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-01-0828.42.pdiff [2248 B]
Get:210 http://ftp2.de.debian.org wheezy-backports/main 2014-09-03-0228.32.pdiff [905 B]
Get:211 http://ftp2.de.debian.org unstable/main 2014-09-09-0831.06.pdiff [511 B]
Get:212 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-01-0828.42.pdiff [2248 B]
Get:213 http://ftp2.de.debian.org unstable/main 2014-09-09-0831.06.pdiff [511 B]
Get:214 http://ftp2.de.debian.org wheezy-backports/main 2014-09-03-0833.04.pdiff [296 B]
Get:215 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-02-0827.50.pdiff [355 B]
Get:216 http://ftp2.de.debian.org wheezy-backports/main 2014-09-03-0833.04.pdiff [296 B]
Get:217 http://ftp2.de.debian.org unstable/main 2014-09-10-0829.26.pdiff [3494 B]
Get:218 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-02-0827.50.pdiff [355 B]
Get:219 http://ftp2.de.debian.org wheezy-backports/main 2014-09-04-2028.28.pdiff [288 B]
Get:220 http://ftp2.de.debian.org unstable/main 2014-09-10-0829.26.pdiff [3494 B]
Get:221 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-03-0228.32.pdiff [469 B]
Get:222 http://ftp2.de.debian.org wheezy-backports/main 2014-09-04-2028.28.pdiff [288 B]
Get:223 http://ftp2.de.debian.org unstable/main 2014-09-11-0830.33.pdiff [608 B]
Get:224 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-03-0228.32.pdiff [469 B]
Get:225 http://ftp2.de.debian.org wheezy-backports/main 2014-09-05-0831.28.pdiff [33 B]
Get:226 http://ftp2.de.debian.org unstable/main 2014-09-11-0830.33.pdiff [608 B]
Get:227 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-03-0833.04.pdiff [247 B]
Get:228 http://ftp2.de.debian.org wheezy-backports/main 2014-09-05-0831.28.pdiff [33 B]
Get:229 http://ftp2.de.debian.org unstable/main 2014-09-12-0828.46.pdiff [3759 B]
Get:230 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-03-0833.04.pdiff [247 B]
Get:231 http://ftp2.de.debian.org wheezy-backports/main 2014-09-05-1431.08.pdiff [44 B]
Get:232 http://ftp2.de.debian.org unstable/main 2014-09-12-0828.46.pdiff [3759 B]
Get:233 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-04-2028.28.pdiff [233 B]
Get:234 http://ftp2.de.debian.org wheezy-backports/main 2014-09-05-1431.08.pdiff [44 B]
Get:235 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-04-2028.28.pdiff [233 B]
Get:236 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-0225.52.pdiff [6604 B]
Get:237 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-0225.52.pdiff [6604 B]
Get:238 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-06-0225.52.pdiff [5601 B]
Get:239 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-06-0225.52.pdiff [5601 B]
Get:240 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-0829.57.pdiff [33 B]
Get:241 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-0829.57.pdiff [33 B]
Get:242 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-06-0829.57.pdiff [1618 B]
Get:243 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-06-0829.57.pdiff [1618 B]
Get:244 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-1430.46.pdiff [734 B]
Get:245 http://ftp2.de.debian.org wheezy-backports/main 2014-09-06-1430.46.pdiff [734 B]
Get:246 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-06-1430.46.pdiff [280 B]
Get:247 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-06-1430.46.pdiff [280 B]
Get:248 http://ftp2.de.debian.org wheezy-backports/main 2014-09-07-0229.44.pdiff [879 B]
Get:249 http://ftp2.de.debian.org wheezy-backports/main 2014-09-07-0229.44.pdiff [879 B]
Get:250 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-07-0829.20.pdiff [356 B]
Get:251 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-07-0829.20.pdiff [356 B]
Get:252 http://ftp2.de.debian.org wheezy-backports/main 2014-09-07-1430.02.pdiff [1171 B]
Get:253 http://ftp2.de.debian.org wheezy-backports/main 2014-09-07-1430.02.pdiff [1171 B]
Get:254 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-07-2028.39.pdiff [2389 B]
Get:255 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-07-2028.39.pdiff [2389 B]
Get:256 http://ftp2.de.debian.org wheezy-backports/main 2014-09-07-2028.39.pdiff [416 B]
Get:257 http://ftp2.de.debian.org wheezy-backports/main 2014-09-07-2028.39.pdiff [416 B]
Get:258 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-08-0830.44.pdiff [1874 B]
Get:259 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-08-0830.44.pdiff [1874 B]
Get:260 http://ftp2.de.debian.org wheezy-backports/main 2014-09-08-0830.44.pdiff [1057 B]
Get:261 http://ftp2.de.debian.org wheezy-backports/main 2014-09-08-0830.44.pdiff [1057 B]
Get:262 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-08-1430.21.pdiff [915 B]
Get:263 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-08-1430.21.pdiff [915 B]
Get:264 http://ftp2.de.debian.org wheezy-backports/main 2014-09-08-1430.21.pdiff [1364 B]
Get:265 http://ftp2.de.debian.org wheezy-backports/main 2014-09-08-1430.21.pdiff [1364 B]
Get:266 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-08-2030.18.pdiff [365 B]
Get:267 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-08-2030.18.pdiff [365 B]
Get:268 http://ftp2.de.debian.org wheezy-backports/main 2014-09-09-1429.37.pdiff [289 B]
Get:269 http://ftp2.de.debian.org wheezy-backports/main 2014-09-09-1429.37.pdiff [289 B]
Get:270 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-09-1429.37.pdiff [304 B]
Get:271 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-09-1429.37.pdiff [304 B]
Get:272 http://ftp2.de.debian.org wheezy-backports/main 2014-09-09-2032.07.pdiff [2808 B]
Get:273 http://ftp2.de.debian.org wheezy-backports/main 2014-09-09-2032.07.pdiff [2808 B]
Get:274 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-09-2032.07.pdiff [618 B]
Get:275 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-09-2032.07.pdiff [618 B]
Get:276 http://ftp2.de.debian.org wheezy-backports/main 2014-09-10-0232.12.pdiff [33 B]
Get:277 http://ftp2.de.debian.org wheezy-backports/main 2014-09-10-0232.12.pdiff [33 B]
Get:278 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-10-0232.12.pdiff [2608 B]
Get:279 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-10-0232.12.pdiff [2608 B]
Get:280 http://ftp2.de.debian.org wheezy-backports/main 2014-09-10-0829.26.pdiff [31 B]
Get:281 http://ftp2.de.debian.org wheezy-backports/main 2014-09-10-0829.26.pdiff [31 B]
Get:282 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-11-0231.14.pdiff [391 B]
Get:283 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-11-0231.14.pdiff [391 B]
Get:284 http://ftp2.de.debian.org wheezy-backports/main 2014-09-10-2031.32.pdiff [862 B]
Get:285 http://ftp2.de.debian.org wheezy-backports/main 2014-09-10-2031.32.pdiff [862 B]
Get:286 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-11-1428.27.pdiff [982 B]
Get:287 http://ftp2.de.debian.org wheezy-backports/main amd64 2014-09-11-1428.27.pdiff [982 B]
Get:288 http://ftp2.de.debian.org wheezy-backports/main 2014-09-11-1428.27.pdiff [1045 B]
Get:289 http://ftp2.de.debian.org wheezy-backports/main 2014-09-11-1428.27.pdiff [1045 B]
Get:290 http://ftp2.de.debian.org wheezy-backports/main 2014-09-11-2030.26.pdiff [44 B]
Get:291 http://ftp2.de.debian.org wheezy-backports/main 2014-09-11-2030.26.pdiff [44 B]
Get:292 http://ftp2.de.debian.org wheezy-backports/main 2014-09-12-0828.46.pdiff [957 B]
Get:293 http://ftp2.de.debian.org wheezy-backports/main 2014-09-12-0828.46.pdiff [957 B]
Fetched 13.0 MB in 5min 7s (42.4 kB/s)
W: Failed to fetch http://ftp2.de.debian.org/debian/dists/stable-updates/Release  Unable to find expected entry 'maindeb/source/Sources' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
++ error_handler_general
++ error_handler_shared
++ last_exit_code=100
++ last_bash_command='apt-get $apt_timeout_opts update'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in ./build-steps.d/1100_prepare-build-machine detected!
Please have a look above "error_handler_general", note the command that failed, its output and last_exit_code.
- Please enter c and press enter to continue. (Recommended against!)
- Please press enter to cleanup and exit. +++ caller
++ last_caller='96 pre'
++ last_script=./build-steps.d/1100_prepare-build-machine
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ error_handler_exit
++ '[' false = true ']'
++ abort_or_continue=Aborted
++ true '
############################################################
ERROR in ./build-steps.d/1100_prepare-build-machine detected! Aborted!
(benchmark: 00:05:10)
BASH_COMMAND: apt-get $apt_timeout_opts update
last_exit_code: 100
caller: 96 pre
ERROR in ./build-steps.d/1100_prepare-build-machine! Aborted!
############################################################
'
++ '[' false = true ']'
++ exit 1
run-parts: ./build-steps.d/1100_prepare-build-machine exited with return code 1
++ error_handler_build-machine
+++ caller
++ : echo '
BASH_COMMAND: run-parts --verbose --exit-on-error ./build-steps.d
ERROR ./whonix_build: | caller: 45 ./whonix_build
'
++ exit 1

By reading the log, the underlying issue is an apt-get error you would likely also get without Whonix’s build script being involved, I think.

If you were to run

Or simpler

You likely would get this error.

W: Failed to fetch http://ftp2.de.debian.org/debian/dists/stable-updates/Release Unable to find expected entry 'maindeb/source/Sources' in Release file (Wrong sources.list entry or malformed file)

So please fix your /etc/apt/sources.list and eventually /etc/apt/sources.list.d/. After fixing your system issues, you’re free to again try to build Whonix.

[Imprint] [Privacy Policy] [Cookie Policy] [Terms of Use] [E-Sign Consent] [DMCA] [Investors] [Priority Support] [Professional Support]