Encountering Fatal Build Errors in VM Whonix-Workstation Build (8.2)

I’m working on getting bare metal build instructions working inside of a HVM/VM build.

While this is for my Qubes work, I don’t think the issue is Qubes-specific because I’m getting the same fatal build errors in VirtualBox.

With the exception of a couple minor errors in the “80_cleanup” script, which I can bypass with “c + enter”, the Whonix-Gateway build goes through and the system works fine.

The fatal errors occur when building the Whonix-Workstation, in the “1700_install-meta-packages” script.

The first error I encounter can be seemingly bypassed with the “c + enter” command.

Then, right after the first error, a second error prompts itself. I can input the “c + enter” command to ignore and continue on, but after doing so the entire build process errors out and quits back to a normal terminal prompt.

Here is the end of the “log-bare-metal” file where it errors out on the Whonix-Workstation build:

Setting up whonix-workstation-packages-recommended (2:8.2-debpackage1) ...
Processing triggers for menu ...
+ sync
+ sync
+ '[' 0 = 0 ']'
+ true 'INFO: Installed whonix-workstation-packages-recommended, no error detected.'
+ return 0
+ install-pkg whonix-workstation-default-applications
+ trap error_handler_unchroot_unprevent_unmount ERR INT TERM
+ pkg=whonix-workstation-default-applications
+ local skip_package
+ unset skip_package
+ true 'INFO: Installing whonix-workstation-default-applications, because whonix_build_script_whonix_package does not include it... This may take a while...'
+ local apt_get_exit_code=0
+ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes --no-install-recommends install whonix-workstation-default-applications
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 whonix-workstation-default-applications : Depends: vlc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
+ apt_get_exit_code=100
+ true
+ sync
+ sync
+ '[' 100 = 0 ']'
+ true 'ERROR: Failed to install whonix-workstation-default-applications. (apt_get_exit_code: 100) Attempting to gather debug output to diagnose the problem...'
+ true 'INFO: Read output of apt-get trying to install whonix-workstation-default-applications into a variable for debugging. This may take a while...'
+ local apt_get_exit_code=0
++ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes --no-install-recommends install whonix-workstation-default-applications
+ apt_get_output='          Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 whonix-workstation-default-applications : Depends: vlc but it is not going to be installed
E: Unable to correct problems, you have held broken packages.       '
+ apt_get_exit_code=100
+ true
+ sync
+ sync
+ '[' 100 = 0 ']'
+ true 'ERROR: As expected, failed again to install whonix-workstation-default-applications. (apt_get_exit_code: 100) Trying to diagnose the problem using function parse_apt_get_unmet_dependency...'
+ parse_apt_get_unmet_dependency
+ true 'INFO: Running "dpkg -l | grep whonix-workstation-default-applications"...'
+ grep whonix-workstation-default-applications
+ dpkg -l
+ apt-cache policy whonix-workstation-default-applications
whonix-workstation-default-applications:
  Installed: (none)
  Candidate: (none)
  Version table:
+ local line
+ OIFS=' 	
'
+ NIFS='
'
+ IFS='
'
+ set +x
INFO: Found unmet dependency: vlc. Will try to manually install it for debugging...
+ true 'INFO: Running "dpkg -l | grep vlc"...'
+ grep vlc
+ dpkg -l
ii  libvlc5                                  2.0.3-5+deb7u1                     i386         multimedia player and streamer library
ii  libvlccore5                              2.0.3-5+deb7u1                     i386         base library for VLC and its modules
ii  phonon-backend-vlc                       0.6.0-1                            i386         Phonon VLC backend
ii  vlc-data                                 2.0.3-5+deb7u1                     all          Common data for VLC
ii  vlc-nox                                  2.0.3-5+deb7u1                     i386         multimedia player and streamer (without X support)
+ apt-cache policy vlc
vlc:
  Installed: (none)
  Candidate: (none)
  Version table:
+ install-pkg vlc
+ trap error_handler_unchroot_unprevent_unmount ERR INT TERM
+ pkg=vlc
+ local skip_package
+ unset skip_package
+ true 'INFO: Installing vlc, because whonix_build_script_whonix_package does not include it... This may take a while...'
+ local apt_get_exit_code=0
+ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes --no-install-recommends install vlc
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vlc : Depends: vlc-nox (= 2.0.3-5) but 2.0.3-5+deb7u1 is to be installed
E: Unable to correct problems, you have held broken packages.
+ apt_get_exit_code=100
+ true
+ sync
+ sync
+ '[' 100 = 0 ']'
+ true 'ERROR: Failed to install vlc. (apt_get_exit_code: 100) Attempting to gather debug output to diagnose the problem...'
+ true 'INFO: Read output of apt-get trying to install vlc into a variable for debugging. This may take a while...'
+ local apt_get_exit_code=0
++ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes --no-install-recommends install vlc
+ apt_get_output='          Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vlc : Depends: vlc-nox (= 2.0.3-5) but 2.0.3-5+deb7u1 is to be installed
E: Unable to correct problems, you have held broken packages.       '
+ apt_get_exit_code=100
+ true
+ sync
+ sync
+ '[' 100 = 0 ']'
+ true 'ERROR: As expected, failed again to install vlc. (apt_get_exit_code: 100) Trying to diagnose the problem using function parse_apt_get_unmet_dependency...'
+ parse_apt_get_unmet_dependency
+ true 'INFO: Running "dpkg -l | grep vlc"...'
+ grep vlc
+ dpkg -l
ii  libvlc5                                  2.0.3-5+deb7u1                     i386         multimedia player and streamer library
ii  libvlccore5                              2.0.3-5+deb7u1                     i386         base library for VLC and its modules
ii  phonon-backend-vlc                       0.6.0-1                            i386         Phonon VLC backend
ii  vlc-data                                 2.0.3-5+deb7u1                     all          Common data for VLC
ii  vlc-nox                                  2.0.3-5+deb7u1                     i386         multimedia player and streamer (without X support)
+ apt-cache policy vlc
vlc:
  Installed: (none)
  Candidate: (none)
  Version table:
+ local line
+ OIFS=' 	
'
+ NIFS='
'
+ IFS='
'
+ set +x
INFO: Found unmet dependency: vlc-nox. Will try to manually install it for debugging...
+ true 'INFO: Running "dpkg -l | grep vlc-nox"...'
+ grep vlc-nox
+ dpkg -l
ii  vlc-nox                                  2.0.3-5+deb7u1                     i386         multimedia player and streamer (without X support)
+ apt-cache policy vlc-nox
vlc-nox:
  Installed: 2.0.3-5+deb7u1
  Candidate: 2.0.3-5+deb7u1
  Version table:
 *** 2.0.3-5+deb7u1 0
        100 /var/lib/dpkg/status
+ install-pkg vlc-nox
+ trap error_handler_unchroot_unprevent_unmount ERR INT TERM
+ pkg=vlc-nox
+ local skip_package
+ unset skip_package
+ true 'INFO: Installing vlc-nox, because whonix_build_script_whonix_package does not include it... This may take a while...'
+ local apt_get_exit_code=0
+ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes --no-install-recommends install vlc-nox
Reading package lists...
Building dependency tree...
Reading state information...
vlc-nox is already the newest version.
vlc-nox set to manually installed.
The following packages were automatically installed and are no longer required:
  autotools-dev cdbs
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ sync
+ sync
+ '[' 0 = 0 ']'
+ true 'INFO: Installed vlc-nox, no error detected.'
+ return 0
+ set +x
INFO: Attempt to install unmet_dependency: vlc-nox done.
ERROR in ./build-steps.d/1700_install-meta-packages 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='101 pre'
++ last_script=./build-steps.d/1700_install-meta-packages
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ '[' true = false ']'
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in ./build-steps.d/1700_install-meta-packages detected! Continue!
(benchmark: 00:06:29)
BASH_COMMAND: unmet_dependency="$(echo "${line}" | grep -o "Depends:.*" | awk '\''{print $2}'\'')"
last_exit_code: 1
caller: 101 pre
ERROR in ./build-steps.d/1700_install-meta-packages! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. + '[' '' = '' ']'
+ IFS='
'
+ continue
+ set -x
+ IFS=' 	
'
+ error 'See above!'
./build-steps.d/1700_install-meta-packages: line 146: error: command not found
++ error_handler_unchroot_unprevent_unmount
++ error_handler_shared
++ last_exit_code=127
++ last_bash_command='error "See above!"'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in ./build-steps.d/1700_install-meta-packages 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='101 pre'
++ last_script=./build-steps.d/1700_install-meta-packages
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ '[' true = false ']'
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in ./build-steps.d/1700_install-meta-packages detected! Continue!
(benchmark: 09:20:33)
BASH_COMMAND: error "See above!"
last_exit_code: 127
caller: 101 pre
ERROR in ./build-steps.d/1700_install-meta-packages! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. + exit 1
run-parts: ./build-steps.d/1700_install-meta-packages 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

Same errors happen every time in separate Qubes and VirtualBox systems for Whonix-Workstation 8.2.

Most likely indeed not specific to Qubes.

[The “that errors prompts itself again when package install failed” build script bug has been fixed at some point in later releases. In recent git tags already.]

I will be trying a VM build first and expect it will work. My hypothesis is, that your apt package sources are too recent, but the frozen (snapshot.debian.org) apt package sources are too old.

[Changing to frozen sources in the history of the build script was a good thing. Since then the build script broke much less frequent due to upstream changes [also was the foundation for verifiable builds]. However, the base system for physical isolation is as per instructions still manually installed from latest apt package sources, which may hit such upstream package changes sooner or later.]

If my hypothesis is right…

  • As a workaround skip installing whonix-workstation-default-applications (using build configuration)
  • or manually run “sudo apt-get install vlc” before running Whonix’s build script. That should satisfy the dependency.
  • As a real solution, we’d need to update the snapshot.debian.org sources. [Not sure that’d be worth the effort if the above workaround works.]

Good to know!

I was thinking similar thoughts.

I remember reading this a while ago. Certainly a good thing!

[quote=“Patrick, post:2, topic:466”]If my hypothesis is right…

  • As a workaround skip installing whonix-workstation-default-applications (using build configuration)
  • or manually run “sudo apt-get install vlc” before running Whonix’s build script. That should satisfy the dependency.
  • As a real solution, we’d need to update the snapshot.debian.org sources. [Not sure that’d be worth the effort if the above workaround works.][/quote]

I will try some workarounds and report back.

8.2 VM build still working which strengthens my hypothesis.

Installing VLC before the build process successfully resolves this fatal error.

sudo apt-get install vlc

Since VLC is not a critical component and Whonix 9 won’t completely fail because of it…

I think the easiest fix for now is to just instruct users to do the VLC update for 8.2 and maybe do the same or just bypass it in real-time with Whonix 9 instructions, if this is not critical or high priority to resolve for Whonix 9.

The only other errors I get are the same 2 errors I encountered with the Whonix-Gateway 8.2 bare metal build in “80_cleanup”, regarding “libc6” package versions.

The “libc6” packages were already at the newest versions before running the build process, so it might be looking (and not finding) download sources for earlier versions than the current ones.

Get:1 Downloading fontconfig 2.9.0-7.1 [348 kB]
Fetched 348 kB in 1s (274 kB/s)
+ downloaded[$package]=1
+ export DPKG_MAINTSCRIPT_PACKAGE=fontconfig
+ DPKG_MAINTSCRIPT_PACKAGE=fontconfig
+ export DPKG_MAINTSCRIPT_NAME=postrm
+ DPKG_MAINTSCRIPT_NAME=postrm
+ true 'INFO: Running... /var/lib/dpkg/info/fontconfig.postrm purge'
+ /var/lib/dpkg/info/fontconfig.postrm purge
+ unset script basename_script package DPKG_MAINTSCRIPT_PACKAGE DPKG_MAINTSCRIPT_NAME
+ shopt -u nullglob dotglob
+ maybe_run '/var/lib/dpkg/info/libc6*'
++ type -t error_handler_unchroot_unprevent_unmount
+ '[' function = function ']'
+ trap error_handler_unchroot_unprevent_unmount ERR
+ '[' '' = 1 ']'
+ local script basename_script package
+ shopt -s nullglob dotglob
+ for script in '$1.prerm'
++ basename /var/lib/dpkg/info/libc6:i386.prerm
+ basename_script=libc6:i386.prerm
+ basename_script_without_extension=libc6:i386
+ package=libc6:i386
+ '[' '!' -e /var/lib/dpkg/info/libc6:i386.prerm ']'
+ '[' '!' -x /var/lib/dpkg/info/libc6:i386.prerm ']'
+ download_package libc6:i386
++ type -t error_handler_unchroot_unprevent_unmount
+ '[' function = function ']'
+ trap error_handler_unchroot_unprevent_unmount ERR
+ local package=libc6:i386
+ '[' '' = 1 ']'
+ true 'INFO: Downloading libc6:i386...'
+ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false download libc6:i386
E: Can't find a source to download version '2.13-38+deb7u4' of 'libc6:i386'
++ error_handler_unchroot_unprevent_unmount
++ error_handler_shared
++ last_exit_code=100
++ last_bash_command='apt-get $apt_sourcelist_empty $apt_sourceparts $apt_timeout_opts $apt_verify_opts download "$package"'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in /usr/share/whonix/chroot-scripts-post.d/80_cleanup 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='0 NULL'
++ last_script=/usr/share/whonix/chroot-scripts-post.d/80_cleanup
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ '[' true = false ']'
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in /usr/share/whonix/chroot-scripts-post.d/80_cleanup detected! Continue!
(benchmark: 00:01:28)
BASH_COMMAND: apt-get $apt_sourcelist_empty $apt_sourceparts $apt_timeout_opts $apt_verify_opts download "$package"
last_exit_code: 100
caller: 0 NULL
ERROR in /usr/share/whonix/chroot-scripts-post.d/80_cleanup! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. + downloaded[$package]=1
+ true 'INFO: Running... /var/lib/dpkg/info/libc6:i386.prerm remove'
+ export DPKG_MAINTSCRIPT_PACKAGE=libc6:i386
+ DPKG_MAINTSCRIPT_PACKAGE=libc6:i386
+ export DPKG_MAINTSCRIPT_NAME=prerm
+ DPKG_MAINTSCRIPT_NAME=prerm
+ /var/lib/dpkg/info/libc6:i386.prerm remove
+ unset script basename_script package DPKG_MAINTSCRIPT_PACKAGE DPKG_MAINTSCRIPT_NAME
+ for script in '$1.postrm'
++ basename /var/lib/dpkg/info/libc6-i686:i386.postrm
+ basename_script=libc6-i686:i386.postrm
+ basename_script_without_extension=libc6-i686:i386
+ package=libc6-i686:i386
+ '[' '!' -e /var/lib/dpkg/info/libc6-i686:i386.postrm ']'
+ '[' '!' -x /var/lib/dpkg/info/libc6-i686:i386.postrm ']'
+ download_package libc6-i686:i386
++ type -t error_handler_unchroot_unprevent_unmount
+ '[' function = function ']'
+ trap error_handler_unchroot_unprevent_unmount ERR
+ local package=libc6-i686:i386
+ '[' '' = 1 ']'
+ true 'INFO: Downloading libc6-i686:i386...'
+ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false download libc6-i686:i386
E: Can't find a source to download version '2.13-38+deb7u4' of 'libc6-i686:i386'
++ error_handler_unchroot_unprevent_unmount
++ error_handler_shared
++ last_exit_code=100
++ last_bash_command='apt-get $apt_sourcelist_empty $apt_sourceparts $apt_timeout_opts $apt_verify_opts download "$package"'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in /usr/share/whonix/chroot-scripts-post.d/80_cleanup 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=
++ last_script=/usr/share/whonix/chroot-scripts-post.d/80_cleanup
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ '[' true = false ']'
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in /usr/share/whonix/chroot-scripts-post.d/80_cleanup detected! Continue!
(benchmark: 00:25:40)
BASH_COMMAND: apt-get $apt_sourcelist_empty $apt_sourceparts $apt_timeout_opts $apt_verify_opts download "$package"
last_exit_code: 100
caller: 
ERROR in /usr/share/whonix/chroot-scripts-post.d/80_cleanup! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. + downloaded[$package]=1
+ export DPKG_MAINTSCRIPT_PACKAGE=libc6-i686:i386
+ DPKG_MAINTSCRIPT_PACKAGE=libc6-i686:i386
+ export DPKG_MAINTSCRIPT_NAME=postrm
+ DPKG_MAINTSCRIPT_NAME=postrm
+ true 'INFO: Running... /var/lib/dpkg/info/libc6-i686:i386.postrm purge'
+ /var/lib/dpkg/info/libc6-i686:i386.postrm purge
+ for script in '$1.postrm'
++ basename /var/lib/dpkg/info/libc6:i386.postrm
+ basename_script=libc6:i386.postrm
+ basename_script_without_extension=libc6:i386
+ package=libc6:i386
+ '[' '!' -e /var/lib/dpkg/info/libc6:i386.postrm ']'
+ '[' '!' -x /var/lib/dpkg/info/libc6:i386.postrm ']'
+ download_package libc6:i386
++ type -t error_handler_unchroot_unprevent_unmount
+ '[' function = function ']'
+ trap error_handler_unchroot_unprevent_unmount ERR
+ local package=libc6:i386
+ '[' 1 = 1 ']'
+ true 'INFO: Already downloaded libc6:i386.'
+ export DPKG_MAINTSCRIPT_PACKAGE=libc6:i386
+ DPKG_MAINTSCRIPT_PACKAGE=libc6:i386
+ export DPKG_MAINTSCRIPT_NAME=postrm
+ DPKG_MAINTSCRIPT_NAME=postrm
+ true 'INFO: Running... /var/lib/dpkg/info/libc6:i386.postrm purge'
+ /var/lib/dpkg/info/libc6:i386.postrm purge

These libc6 package errors can be bypassed with “c + enter”, if also not critical or high priority to resolve for Whonix 9.

So, as of now, with VLC pre-installed, I’m at least not getting any fatal errors that can’t be bypassed with “c + enter” with bare metal building both Whonix-Gateway 8.2 and Whonix-Workstation 8.2.

So I should be able to get Qubes + Whonix Source Code install guide done relatively soon.

Also, as a general development sidenote: It would be nice at some future point if build logs had clean and clear visual separation between each meaningfully separate build step. Maybe some ample spacing and framing/blocking text patterns that could be visually recognized and searched for to divide up separate macro steps and categories of macro steps, so it is easier to follow and analyze the total Whonix build log.

Thanks!

VLC issue:
Agreed.

[hr]

cleanup script issue:

Skipping the build error in the cleanup step seems like a bad idea.

Related code:
https://github.com/Whonix/whonix-initializer/blob/master/usr/lib/anon-dist/chroot-scripts-post.d/80_cleanup#L157

When download_package (apt-get download) fails, the prerm and postrm scripts will still be run. Since downloading the package failed, it will not be re-installed (i.e. preinst and postinst scripts will not be re-run) at first boot by whonix-initializer, which may lead to all sorts of strange bugs.

I think it would be better to disable it using a build configuration.

(In Whonix 9 there will be a --skip-verifiable build script option.)

[hr]

Also, as a general development sidenote: It would be nice at some future point if build logs had clean and clear visual separation between each meaningfully separate build step. Maybe some ample spacing and framing/blocking text patterns that could be visually recognized and searched for to divide up separate macro steps and categories of macro steps, so it is easier to follow and analyze the total Whonix build log.

Good idea.

[quote=“Patrick, post:6, topic:466”]cleanup script issue:

Skipping the build error in the cleanup step seems like a bad idea.

Related code:
https://github.com/Whonix/whonix-initializer/blob/master/usr/lib/anon-dist/chroot-scripts-post.d/80_cleanup#L157

When download_package (apt-get download) fails, the prerm and postrm scripts will still be run. Since downloading the package failed, it will not be re-installed (i.e. preinst and postinst scripts will not be re-run) at first boot by whonix-initializer, which may lead to all sorts of strange bugs.[/quote]
There will be a better handling in case the error is skipped in next Whonix 9 git tag:

When setting skip verifiable to true in “buildconfig.d/30_skip_verifiable”:

export whonix_build_script_skip_verifiable="1"

…it then spawns several new errors during the build process in:

./build-steps.d/1200_create-debian-packages

…and finally a new FATAL error that prematurely kills/exits the build process in:

./build-steps.d/1700_install-meta-packages

This happens both in bare metal build for Whonix-Gateway 8.2 and Whonix-Workstation 8.2.

Also in some spots there are error notices of an undefined function in the Whonix code named “error” on specific lines.

Full “log-bare-metal” is here:

+ true 'Currently running script: ./whonix_build --tor-gateway' --bare-metal --build
+ set -o pipefail
+++ dirname ./whonix_build
++ cd .
++ pwd
+ MYDIR=/home/user/Whonix
++ dirname /home/user/Whonix
+ MY_PARENTDIR=/home/user
+ cd /home/user/Whonix
+ source ./help-steps/pre
++ set +x
+ export WHONIX_BUILD_MAIN_SCRIPT_STARTED=1
+ WHONIX_BUILD_MAIN_SCRIPT_STARTED=1
+ whonix_build_preparation --tor-gateway --bare-metal --build
+ trap error_handler_general ERR INT TERM
+ cd help-steps
+ source parse-cmd
++ whonix_build_cmdoptions --tor-gateway --bare-metal --build
++ trap error_handler_general ERR INT TERM
++ '[' '--tor-gateway --bare-metal --build' = '' ']'
++ :
++ case $1 in
++ export WHONIX_BUILD_GATEWAY=1
++ WHONIX_BUILD_GATEWAY=1
++ shift
++ :
++ case $1 in
++ export BARE_METAL=1
++ BARE_METAL=1
++ shift
++ :
++ case $1 in
++ export WHONIX_BUILD_BUILD=1
++ WHONIX_BUILD_BUILD=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/user/Whonix/build-steps.d
+ cd /home/user/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
+ '[' 1 = 1 ']'
+ true 'INFO: BARE_METAL is set to 1, skipping check if a VirtualBox VM named Whonix-Gateway already exists, ok.'
+ return 0
+ '[' '' = 1 ']'
+ true 'INFO: PWD: /home/user/Whonix '
++ stat -c %U ./build-steps.d/1100_prepare-build-machine
+ stat_output_owner=user
++ stat -c %G ./build-steps.d/1100_prepare-build-machine
+ stat_output_group=user
+ '[' user = root ']'
+ '[' user = root ']'
+ local id_exit_code
+ id_exit_code=0
+ id user
uid=1000(user) gid=1000(user) groups=1000(user),24(cdrom),25(floppy),27(sudo),29(audio),30(dip),44(video),46(plugdev),107(netdev)
+ '[' '!' 0 = 0 ']'
+ true 'INFO: Not creating user "user" with password "changeme", because it already exists.'
+ addgroup user sudo
The user `user' is already a member of `sudo'.
+ true 'INFO: Benchmarking "sudo -u "$user_name" echo "This is a test echo."" using "time"...'
+ sudo -u user echo 'This is a test echo.'
This is a test echo.

real	0m0.004s
user	0m0.000s
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
+ grep -q '^i'
+ dpkg-query -Wf '${db:Status-abbrev}' apt-cacher-ng
+ 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 wheezy/updates Release.gpg [836 B]
Get:2 http://security.debian.org wheezy/updates Release [102 kB]
Get:3 http://security.debian.org wheezy/updates/main Sources [127 kB]
Get:4 http://security.debian.org wheezy/updates/main i386 Packages [217 kB]
Get:5 http://security.debian.org wheezy/updates/main Translation-en [121 kB]
Hit http://ftp.us.debian.org stable Release.gpg
Hit http://ftp.us.debian.org stable Release
Hit http://ftp.us.debian.org stable/main i386 Packages
Hit http://ftp.us.debian.org stable/main Translation-en
Fetched 568 kB in 7s (80.7 kB/s)
Reading package lists...
+ apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --no-install-recommends --yes install apt-cacher-ng
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  doc-base
Recommended packages:
  ed
The following NEW packages will be installed:
  apt-cacher-ng
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 419 kB of archives.
After this operation, 1176 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ stable/main apt-cacher-ng i386 0.7.11-2 [419 kB]
Preconfiguring packages ...
Fetched 419 kB in 4s (87.1 kB/s)
Selecting previously unselected package apt-cacher-ng.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 52656 files and directories currently installed.)
Unpacking apt-cacher-ng (from .../apt-cacher-ng_0.7.11-2_i386.deb) ...
Processing triggers for man-db ...
Setting up apt-cacher-ng (0.7.11-2) ...
[....] Starting apt-cacher-ng: apt-cacher-nge[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
+ service apt-cacher-ng restart
Restarting apt-cacher-ng: apt-cacher-ng.
+ service apt-cacher-ng status
apt-cacher-ng is running.
+ maybe_enable_apt_cache
+ trap error_handler_general ERR INT TERM
+ '[' -f /usr/share/whonix/whonix_gateway ']'
+ '[' '' = '' ']'
+ echo 'INFO: Setting, export http_proxy="http://127.0.0.1:3142"'
INFO: Setting, export http_proxy="http://127.0.0.1:3142"
+ export http_proxy=http://127.0.0.1:3142
+ http_proxy=http://127.0.0.1:3142
+ '[' '!' 0 = 0 ']'
+ apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 --yes install sudo ruby-ronn diffutils debhelper rsync dialog haveged devscripts git reprepro libfile-fcntllock-perl config-package-dev dh-apparmor gawk bash-completion grep debian-archive-keyring faketime vbindiff lsb-release
Reading package lists...
Building dependency tree...
Reading state information...
debian-archive-keyring is already the newest version.
diffutils is already the newest version.
git is already the newest version.
grep is already the newest version.
lsb-release is already the newest version.
rsync is already the newest version.
rsync set to manually installed.
sudo is already the newest version.
The following extra packages will be installed:
  at autopoint autotools-dev binutils build-essential cdbs dctrl-tools
  debian-keyring diffstat distro-info-data dpkg-dev dput equivs exim4-base
  exim4-config exim4-daemon-light fakeroot g++ g++-4.7 gcc gcc-4.7 gettext
  hardening-includes heirloom-mailx html2text intltool-debian
  libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
  libapt-pkg-perl libarchive-zip-perl libc-dev-bin libc6-dev
  libclass-accessor-perl libclass-inspector-perl libclone-perl
  libcommon-sense-perl libconvert-binhex-perl libcrypt-ssleay-perl
  libdigest-hmac-perl libdistro-info-perl libdpkg-perl libemail-valid-perl
  libencode-locale-perl libexporter-lite-perl libfcgi-perl
  libfile-listing-perl libfont-afm-perl libgettextpo0 libgomp1
  libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-template-perl libhtml-tree-perl
  libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libio-pty-perl
  libio-socket-ip-perl libio-socket-ssl-perl libio-string-perl
  libio-stringy-perl libipc-run-perl libitm1 libjson-perl libjson-xs-perl
  liblwp-mediatypes-perl liblwp-protocol-https-perl libmail-sendmail-perl
  libmailtools-perl libmime-tools-perl libnet-dns-perl libnet-domain-tld-perl
  libnet-http-perl libnet-ip-perl libnet-ssleay-perl libossp-uuid-perl
  libossp-uuid16 libparse-debcontrol-perl libparse-debianchangelog-perl
  libquadmath0 libsigsegv2 libsoap-lite-perl libsocket-perl libstdc++6-4.7-dev
  libsub-name-perl libsys-hostname-long-perl libtask-weaken-perl
  libtie-ixhash-perl libtimedate-perl libunistring0 liburi-perl libwww-perl
  libwww-robotrules-perl libxml-namespacesupport-perl libxml-parser-perl
  libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl
  libxml-simple-perl lintian linux-libc-dev make manpages-dev patchutils
  po-debconf psmisc python-apt python-apt-common python-chardet python-debian
  python-magic ruby-fast-xs ruby-hpricot ruby-mustache ruby-rack
  ruby-rack-protection ruby-rdiscount ruby-sinatra ruby-tilt unzip wdiff
Suggested packages:
  binutils-doc debtags dh-make bsd-mailx mailx cvs-buildpackage devscripts-el
  gnuplot libauthen-sasl-perl libfile-desktopentry-perl libnet-smtp-ssl-perl
  libterm-size-perl libyaml-syck-perl mutt svn-buildpackage w3m mini-dinstall
  eximon4 exim4-doc-html exim4-doc-info spf-tools-perl swaks g++-multilib
  g++-4.7-multilib gcc-4.7-doc libstdc++6-4.7-dbg gawk-doc gcc-multilib
  autoconf automake1.9 libtool flex bison gdb gcc-doc gcc-4.7-multilib
  libmudflap0-4.7-dev gcc-4.7-locales libgcc1-dbg libgomp1-dbg libitm1-dbg
  libquadmath0-dbg libmudflap0-dbg libcloog-ppl0 libppl-c2 libppl7
  binutils-gold gettext-doc glibc-doc libdata-dump-perl
  libipc-sharedcache-perl libio-socket-inet6-perl uuid libapache2-mod-perl2
  libmime-lite-perl libnet-jabber-perl libstdc++6-4.7-doc libauthen-ntlm-perl
  binutils-multiarch libperlio-gzip-perl libtext-template-perl make-doc
  libmail-box-perl python-apt-dbg python-gtk2 python-vte python-apt-doc
  python-magic-dbg gnupg-agent inoticoming lzip
Recommended packages:
  default-mta mail-transport-agent
The following NEW packages will be installed:
  at autopoint autotools-dev bash-completion binutils build-essential cdbs
  config-package-dev dctrl-tools debhelper debian-keyring devscripts
  dh-apparmor dialog diffstat distro-info-data dpkg-dev dput equivs exim4-base
  exim4-config exim4-daemon-light fakeroot faketime g++ g++-4.7 gawk gcc
  gcc-4.7 gettext hardening-includes haveged heirloom-mailx html2text
  intltool-debian libalgorithm-diff-perl libalgorithm-diff-xs-perl
  libalgorithm-merge-perl libapt-pkg-perl libarchive-zip-perl libc-dev-bin
  libc6-dev libclass-accessor-perl libclass-inspector-perl libclone-perl
  libcommon-sense-perl libconvert-binhex-perl libcrypt-ssleay-perl
  libdigest-hmac-perl libdistro-info-perl libdpkg-perl libemail-valid-perl
  libencode-locale-perl libexporter-lite-perl libfcgi-perl
  libfile-fcntllock-perl libfile-listing-perl libfont-afm-perl libgettextpo0
  libgomp1 libhtml-form-perl libhtml-format-perl libhtml-parser-perl
  libhtml-tagset-perl libhtml-template-perl libhtml-tree-perl
  libhttp-cookies-perl libhttp-daemon-perl libhttp-date-perl
  libhttp-message-perl libhttp-negotiate-perl libio-pty-perl
  libio-socket-ip-perl libio-socket-ssl-perl libio-string-perl
  libio-stringy-perl libipc-run-perl libitm1 libjson-perl libjson-xs-perl
  liblwp-mediatypes-perl liblwp-protocol-https-perl libmail-sendmail-perl
  libmailtools-perl libmime-tools-perl libnet-dns-perl libnet-domain-tld-perl
  libnet-http-perl libnet-ip-perl libnet-ssleay-perl libossp-uuid-perl
  libossp-uuid16 libparse-debcontrol-perl libparse-debianchangelog-perl
  libquadmath0 libsigsegv2 libsoap-lite-perl libsocket-perl libstdc++6-4.7-dev
  libsub-name-perl libsys-hostname-long-perl libtask-weaken-perl
  libtie-ixhash-perl libtimedate-perl libunistring0 liburi-perl libwww-perl
  libwww-robotrules-perl libxml-namespacesupport-perl libxml-parser-perl
  libxml-sax-base-perl libxml-sax-expat-perl libxml-sax-perl
  libxml-simple-perl lintian linux-libc-dev make manpages-dev patchutils
  po-debconf psmisc python-apt python-apt-common python-chardet python-debian
  python-magic reprepro ruby-fast-xs ruby-hpricot ruby-mustache ruby-rack
  ruby-rack-protection ruby-rdiscount ruby-ronn ruby-sinatra ruby-tilt unzip
  vbindiff wdiff
0 upgraded, 139 newly installed, 0 to remove and 0 not upgraded.
Need to get 95.5 MB of archives.
After this operation, 183 MB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ stable/main bash-completion all 1:2.0-1 [193 kB]
Get:2 http://security.debian.org/ wheezy/updates/main libc-dev-bin i386 2.13-38+deb7u4 [220 kB]
Get:3 http://ftp.us.debian.org/debian/ stable/main libsigsegv2 i386 2.9-4 [28.3 kB]
Get:4 http://ftp.us.debian.org/debian/ stable/main gawk i386 1:4.0.1+dfsg-2.1 [933 kB]
Get:5 http://security.debian.org/ wheezy/updates/main linux-libc-dev i386 3.2.60-1+deb7u3 [828 kB]
Get:6 http://ftp.us.debian.org/debian/ stable/main libtimedate-perl all 1.2000-1 [41.2 kB]
Get:7 http://security.debian.org/ wheezy/updates/main libc6-dev i386 2.13-38+deb7u4 [4931 kB]
Get:8 http://ftp.us.debian.org/debian/ stable/main libmailtools-perl all 2.09-1 [97.6 kB]
Get:9 http://ftp.us.debian.org/debian/ stable/main libdigest-hmac-perl all 1.03+dfsg-1 [12.3 kB]
Get:10 http://ftp.us.debian.org/debian/ stable/main libnet-ip-perl all 1.25-3 [29.5 kB]
Get:11 http://ftp.us.debian.org/debian/ stable/main libnet-dns-perl i386 0.66-2+b2 [298 kB]
Get:12 http://ftp.us.debian.org/debian/ stable/main libnet-domain-tld-perl all 1.69-1 [11.4 kB]
Get:13 http://ftp.us.debian.org/debian/ stable/main libemail-valid-perl all 0.190-1 [20.9 kB]
Get:14 http://ftp.us.debian.org/debian/ stable/main libunistring0 i386 0.9.3-5 [442 kB]
Get:15 http://ftp.us.debian.org/debian/ stable/main libgettextpo0 i386 0.18.1.1-9 [140 kB]
Get:16 http://security.debian.org/ wheezy/updates/main libdpkg-perl all 1.16.15 [958 kB]
Get:17 http://ftp.us.debian.org/debian/ stable/main libgomp1 i386 4.7.2-5 [29.1 kB]
Get:18 http://ftp.us.debian.org/debian/ stable/main libitm1 i386 4.7.2-5 [36.2 kB]
Get:19 http://ftp.us.debian.org/debian/ stable/main libquadmath0 i386 4.7.2-5 [198 kB]
Get:20 http://security.debian.org/ wheezy/updates/main dpkg-dev all 1.16.15 [1356 kB]
Get:21 http://ftp.us.debian.org/debian/ stable/main at i386 3.1.13-2 [43.5 kB]
Get:22 http://ftp.us.debian.org/debian/ stable/main exim4-config all 4.80-7 [478 kB]
Get:23 http://security.debian.org/ wheezy/updates/main devscripts i386 2.12.6+deb7u2 [880 kB]
Get:24 http://ftp.us.debian.org/debian/ stable/main exim4-base i386 4.80-7 [1037 kB]
Get:25 http://security.debian.org/ wheezy/updates/main python-magic i386 5.11-2+deb7u3 [38.6 kB]
Get:26 http://ftp.us.debian.org/debian/ stable/main exim4-daemon-light i386 4.80-7 [628 kB]
Get:27 http://ftp.us.debian.org/debian/ stable/main python-apt-common all 0.8.8.2 [115 kB]
Get:28 http://ftp.us.debian.org/debian/ stable/main python-apt i386 0.8.8.2 [313 kB]
Get:29 http://ftp.us.debian.org/debian/ stable/main autopoint all 0.18.1.1-9 [629 kB]
Get:30 http://ftp.us.debian.org/debian/ stable/main autotools-dev all 20120608.1 [73.0 kB]
Get:31 http://ftp.us.debian.org/debian/ stable/main binutils i386 2.22-8 [4565 kB]
Get:32 http://ftp.us.debian.org/debian/ stable/main gcc-4.7 i386 4.7.2-5 [8267 kB]
Get:33 http://ftp.us.debian.org/debian/ stable/main gcc i386 4:4.7.2-1 [5062 B]
Get:34 http://ftp.us.debian.org/debian/ stable/main libstdc++6-4.7-dev i386 4.7.2-5 [1711 kB]
Get:35 http://ftp.us.debian.org/debian/ stable/main g++-4.7 i386 4.7.2-5 [7786 kB]
Get:36 http://ftp.us.debian.org/debian/ stable/main g++ i386 4:4.7.2-1 [1372 B]
Get:37 http://ftp.us.debian.org/debian/ stable/main make i386 3.81-8.2 [398 kB]
Get:38 http://ftp.us.debian.org/debian/ stable/main build-essential i386 11.5 [7190 B]
Get:39 http://ftp.us.debian.org/debian/ stable/main cdbs all 0.4.115+deb7u1 [78.1 kB]
Get:40 http://ftp.us.debian.org/debian/ stable/main dctrl-tools i386 2.22.2 [161 kB]
Get:41 http://ftp.us.debian.org/debian/ stable/main html2text i386 1.3.2a-15 [101 kB]
Get:42 http://ftp.us.debian.org/debian/ stable/main gettext i386 0.18.1.1-9 [1916 kB]
Get:43 http://ftp.us.debian.org/debian/ stable/main intltool-debian all 0.35.0+20060710.1 [30.8 kB]
Get:44 http://ftp.us.debian.org/debian/ stable/main po-debconf all 1.0.16+nmu2 [224 kB]
Get:45 http://ftp.us.debian.org/debian/ stable/main debhelper all 9.20120909 [705 kB]
Get:46 http://ftp.us.debian.org/debian/ stable/main debian-keyring all 2013.04.21 [45.4 MB]
Get:47 http://ftp.us.debian.org/debian/ stable/main dialog i386 1.1-20120215-2 [320 kB]
Get:48 http://ftp.us.debian.org/debian/ stable/main diffstat i386 1.55-3 [29.3 kB]
Get:49 http://ftp.us.debian.org/debian/ stable/main distro-info-data all 0.17~deb7u1 [4866 B]
Get:50 http://ftp.us.debian.org/debian/ stable/main dput all 0.9.6.3+nmu2 [48.1 kB]
Get:51 http://ftp.us.debian.org/debian/ stable/main fakeroot i386 1.18.4-2 [107 kB]
Get:52 http://ftp.us.debian.org/debian/ stable/main hardening-includes all 2.2 [17.6 kB]
Get:53 http://ftp.us.debian.org/debian/ stable/main heirloom-mailx i386 12.5-2 [265 kB]
Get:54 http://ftp.us.debian.org/debian/ stable/main libalgorithm-diff-perl all 1.19.02-2 [51.5 kB]
Get:55 http://ftp.us.debian.org/debian/ stable/main libalgorithm-diff-xs-perl i386 0.04-2+b1 [13.3 kB]
Get:56 http://ftp.us.debian.org/debian/ stable/main libalgorithm-merge-perl all 0.08-2 [13.5 kB]
Get:57 http://ftp.us.debian.org/debian/ stable/main libapt-pkg-perl i386 0.1.26+b1 [83.6 kB]
Get:58 http://ftp.us.debian.org/debian/ stable/main libarchive-zip-perl all 1.30-6 [97.6 kB]
Get:59 http://ftp.us.debian.org/debian/ stable/main libsub-name-perl i386 0.05-1+b2 [10.1 kB]
Get:60 http://ftp.us.debian.org/debian/ stable/main libclass-accessor-perl all 0.34-1 [25.9 kB]
Get:61 http://ftp.us.debian.org/debian/ stable/main libclass-inspector-perl all 1.27-1 [20.6 kB]
Get:62 http://ftp.us.debian.org/debian/ stable/main libclone-perl i386 0.31-1+b2 [13.2 kB]
Get:63 http://ftp.us.debian.org/debian/ stable/main libcommon-sense-perl all 3.6-1 [23.7 kB]
Get:64 http://ftp.us.debian.org/debian/ stable/main libconvert-binhex-perl all 1.119+pristine-3 [30.3 kB]
Get:65 http://ftp.us.debian.org/debian/ stable/main libcrypt-ssleay-perl i386 0.58-1 [50.5 kB]
Get:66 http://ftp.us.debian.org/debian/ stable/main libdistro-info-perl all 0.10 [5444 B]
Get:67 http://ftp.us.debian.org/debian/ stable/main libencode-locale-perl all 1.03-1 [13.6 kB]
Get:68 http://ftp.us.debian.org/debian/ stable/main libexporter-lite-perl all 0.02-2 [8908 B]
Get:69 http://ftp.us.debian.org/debian/ stable/main libfcgi-perl i386 0.74-1+b1 [41.9 kB]
Get:70 http://ftp.us.debian.org/debian/ stable/main libfile-fcntllock-perl i386 0.14-2 [17.2 kB]
Get:71 http://ftp.us.debian.org/debian/ stable/main libhttp-date-perl all 6.02-1 [10.7 kB]
Get:72 http://ftp.us.debian.org/debian/ stable/main libfile-listing-perl all 6.04-1 [10.3 kB]
Get:73 http://ftp.us.debian.org/debian/ stable/main libfont-afm-perl all 1.20-1 [14.4 kB]
Get:74 http://ftp.us.debian.org/debian/ stable/main liburi-perl all 1.60-1 [100 kB]
Get:75 http://ftp.us.debian.org/debian/ stable/main libhtml-tagset-perl all 3.20-2 [13.5 kB]
Get:76 http://ftp.us.debian.org/debian/ stable/main libhtml-parser-perl i386 3.69-2 [115 kB]
Get:77 http://ftp.us.debian.org/debian/ stable/main liblwp-mediatypes-perl all 6.02-1 [22.1 kB]
Get:78 http://ftp.us.debian.org/debian/ stable/main libhttp-message-perl all 6.03-1 [78.5 kB]
Get:79 http://ftp.us.debian.org/debian/ stable/main libhtml-form-perl all 6.03-1 [23.9 kB]
Get:80 http://ftp.us.debian.org/debian/ stable/main libhtml-tree-perl all 5.02-1 [225 kB]
Get:81 http://ftp.us.debian.org/debian/ stable/main libhtml-format-perl all 2.10-1 [42.1 kB]
Get:82 http://ftp.us.debian.org/debian/ stable/main libhtml-template-perl all 2.91-1 [72.0 kB]
Get:83 http://ftp.us.debian.org/debian/ stable/main libhttp-cookies-perl all 6.00-2 [23.5 kB]
Get:84 http://ftp.us.debian.org/debian/ stable/main libhttp-daemon-perl all 6.01-1 [17.3 kB]
Get:85 http://ftp.us.debian.org/debian/ stable/main libhttp-negotiate-perl all 6.00-2 [13.6 kB]
Get:86 http://ftp.us.debian.org/debian/ stable/main libio-pty-perl i386 1:1.08-1+b2 [40.3 kB]
Get:87 http://ftp.us.debian.org/debian/ stable/main libsocket-perl i386 2.002-1 [38.8 kB]
Get:88 http://ftp.us.debian.org/debian/ stable/main libio-socket-ip-perl all 0.16-2 [23.6 kB]
Get:89 http://ftp.us.debian.org/debian/ stable/main libnet-ssleay-perl i386 1.48-1+b1 [331 kB]
Get:90 http://ftp.us.debian.org/debian/ stable/main libio-socket-ssl-perl all 1.76-2 [68.0 kB]
Get:91 http://ftp.us.debian.org/debian/ stable/main libio-string-perl all 1.08-2 [12.0 kB]
Get:92 http://ftp.us.debian.org/debian/ stable/main libio-stringy-perl all 2.110-5 [98.3 kB]
Get:93 http://ftp.us.debian.org/debian/ stable/main libipc-run-perl all 0.92-1 [110 kB]
Get:94 http://ftp.us.debian.org/debian/ stable/main libjson-perl all 2.53-1 [99.9 kB]
Get:95 http://ftp.us.debian.org/debian/ stable/main libjson-xs-perl i386 2.320-1+b1 [88.4 kB]
Get:96 http://ftp.us.debian.org/debian/ stable/main libnet-http-perl all 6.03-2 [24.3 kB]
Get:97 http://ftp.us.debian.org/debian/ stable/main libwww-robotrules-perl all 6.01-1 [14.3 kB]
Get:98 http://ftp.us.debian.org/debian/ stable/main libwww-perl all 6.04-1 [203 kB]
Get:99 http://ftp.us.debian.org/debian/ stable/main liblwp-protocol-https-perl all 6.03-1 [7580 B]
Get:100 http://ftp.us.debian.org/debian/ stable/main libsys-hostname-long-perl all 1.4-2 [11.3 kB]
Get:101 http://ftp.us.debian.org/debian/ stable/main libmail-sendmail-perl all 0.79.16-1 [26.6 kB]
Get:102 http://ftp.us.debian.org/debian/ stable/main libmime-tools-perl all 5.503-1 [242 kB]
Get:103 http://ftp.us.debian.org/debian/ stable/main libossp-uuid16 i386 1.6.2-1.3 [59.6 kB]
Get:104 http://ftp.us.debian.org/debian/ stable/main libossp-uuid-perl i386 1.6.2-1.3 [31.5 kB]
Get:105 http://ftp.us.debian.org/debian/ stable/main libparse-debcontrol-perl all 2.005-3 [25.2 kB]
Get:106 http://ftp.us.debian.org/debian/ stable/main libparse-debianchangelog-perl all 1.2.0-1 [62.3 kB]
Get:107 http://ftp.us.debian.org/debian/ stable/main libtask-weaken-perl all 1.03-1 [7690 B]
Get:108 http://ftp.us.debian.org/debian/ stable/main libxml-parser-perl i386 2.41-1+b1 [305 kB]
Get:109 http://ftp.us.debian.org/debian/ stable/main libsoap-lite-perl all 0.714-1 [343 kB]
Get:110 http://ftp.us.debian.org/debian/ stable/main libtie-ixhash-perl all 1.21-2 [12.0 kB]
Get:111 http://ftp.us.debian.org/debian/ stable/main libxml-namespacesupport-perl all 1.09-3 [15.3 kB]
Get:112 http://ftp.us.debian.org/debian/ stable/main libxml-sax-base-perl all 1.07-1 [23.1 kB]
Get:113 http://ftp.us.debian.org/debian/ stable/main libxml-sax-perl all 0.99+dfsg-2 [68.3 kB]
Get:114 http://ftp.us.debian.org/debian/ stable/main libxml-sax-expat-perl all 0.40-2 [12.9 kB]
Get:115 http://ftp.us.debian.org/debian/ stable/main libxml-simple-perl all 2.20-1 [74.7 kB]
Get:116 http://ftp.us.debian.org/debian/ stable/main patchutils i386 0.3.2-1.1 [108 kB]
Get:117 http://ftp.us.debian.org/debian/ stable/main lintian all 2.5.10.4 [709 kB]
Get:118 http://ftp.us.debian.org/debian/ stable/main manpages-dev all 3.44-1 [1737 kB]
Get:119 http://ftp.us.debian.org/debian/ stable/main psmisc i386 22.19-1+deb7u1 [132 kB]
Get:120 http://ftp.us.debian.org/debian/ stable/main python-chardet all 2.0.1-2 [177 kB]
Get:121 http://ftp.us.debian.org/debian/ stable/main python-debian all 0.1.21 [61.3 kB]
Get:122 http://ftp.us.debian.org/debian/ stable/main ruby-fast-xs i386 0.8.0-3 [12.6 kB]
Get:123 http://ftp.us.debian.org/debian/ stable/main ruby-hpricot i386 0.8.6-3 [112 kB]
Get:124 http://ftp.us.debian.org/debian/ stable/main ruby-rack all 1.4.1-2.1 [82.1 kB]
Get:125 http://ftp.us.debian.org/debian/ stable/main ruby-tilt all 1.3.3-2 [20.6 kB]
Get:126 http://ftp.us.debian.org/debian/ stable/main ruby-rack-protection all 1.2.0-1 [7768 B]
Get:127 http://ftp.us.debian.org/debian/ stable/main ruby-sinatra all 1.3.2-2 [247 kB]
Get:128 http://ftp.us.debian.org/debian/ stable/main ruby-mustache all 0.99.4-3 [28.5 kB]
Get:129 http://ftp.us.debian.org/debian/ stable/main ruby-rdiscount i386 1.6.8-3 [62.9 kB]
Get:130 http://ftp.us.debian.org/debian/ stable/main ruby-ronn all 0.7.3-2 [31.8 kB]
Get:131 http://ftp.us.debian.org/debian/ stable/main unzip i386 6.0-8 [186 kB]
Get:132 http://ftp.us.debian.org/debian/ stable/main vbindiff i386 3.0-beta3-1 [31.2 kB]
Get:133 http://ftp.us.debian.org/debian/ stable/main wdiff i386 1.1.2-1 [193 kB]
Get:134 http://ftp.us.debian.org/debian/ stable/main config-package-dev all 4.13 [19.8 kB]
Get:135 http://ftp.us.debian.org/debian/ stable/main dh-apparmor all 2.7.103-4 [30.3 kB]
Get:136 http://ftp.us.debian.org/debian/ stable/main equivs all 2.0.9 [20.7 kB]
Get:137 http://ftp.us.debian.org/debian/ stable/main faketime i386 0.8-1 [20.1 kB]
Get:138 http://ftp.us.debian.org/debian/ stable/main haveged i386 1.4-4 [29.5 kB]
Get:139 http://ftp.us.debian.org/debian/ stable/main reprepro i386 4.12.5-1 [493 kB]

Extracting templates from packages: 21%
Extracting templates from packages: 43%
Extracting templates from packages: 64%
Extracting templates from packages: 86%
Extracting templates from packages: 100%
Preconfiguring packages ...
Fetched 95.5 MB in 2min 40s (597 kB/s)
Selecting previously unselected package bash-completion.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 52721 files and directories currently installed.)
Unpacking bash-completion (from .../bash-completion_1%3a2.0-1_all.deb) ...
Selecting previously unselected package libsigsegv2.
Unpacking libsigsegv2 (from .../libsigsegv2_2.9-4_i386.deb) ...
Processing triggers for man-db ...
Setting up libsigsegv2 (2.9-4) ...
Selecting previously unselected package gawk.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 53280 files and directories currently installed.)
Unpacking gawk (from .../gawk_1%3a4.0.1+dfsg-2.1_i386.deb) ...
Selecting previously unselected package libtimedate-perl.
Unpacking libtimedate-perl (from .../libtimedate-perl_1.2000-1_all.deb) ...
Selecting previously unselected package libmailtools-perl.
Unpacking libmailtools-perl (from .../libmailtools-perl_2.09-1_all.deb) ...
Selecting previously unselected package libdigest-hmac-perl.
Unpacking libdigest-hmac-perl (from .../libdigest-hmac-perl_1.03+dfsg-1_all.deb) ...
Selecting previously unselected package libnet-ip-perl.
Unpacking libnet-ip-perl (from .../libnet-ip-perl_1.25-3_all.deb) ...
Selecting previously unselected package libnet-dns-perl.
Unpacking libnet-dns-perl (from .../libnet-dns-perl_0.66-2+b2_i386.deb) ...
Selecting previously unselected package libnet-domain-tld-perl.
Unpacking libnet-domain-tld-perl (from .../libnet-domain-tld-perl_1.69-1_all.deb) ...
Selecting previously unselected package libemail-valid-perl.
Unpacking libemail-valid-perl (from .../libemail-valid-perl_0.190-1_all.deb) ...
Selecting previously unselected package libunistring0:i386.
Unpacking libunistring0:i386 (from .../libunistring0_0.9.3-5_i386.deb) ...
Selecting previously unselected package libgettextpo0:i386.
Unpacking libgettextpo0:i386 (from .../libgettextpo0_0.18.1.1-9_i386.deb) ...
Selecting previously unselected package libgomp1:i386.
Unpacking libgomp1:i386 (from .../libgomp1_4.7.2-5_i386.deb) ...
Selecting previously unselected package libitm1:i386.
Unpacking libitm1:i386 (from .../libitm1_4.7.2-5_i386.deb) ...
Selecting previously unselected package libquadmath0:i386.
Unpacking libquadmath0:i386 (from .../libquadmath0_4.7.2-5_i386.deb) ...
Selecting previously unselected package at.
Unpacking at (from .../archives/at_3.1.13-2_i386.deb) ...
Selecting previously unselected package exim4-config.
Unpacking exim4-config (from .../exim4-config_4.80-7_all.deb) ...
Selecting previously unselected package exim4-base.
Unpacking exim4-base (from .../exim4-base_4.80-7_i386.deb) ...
Selecting previously unselected package exim4-daemon-light.
Unpacking exim4-daemon-light (from .../exim4-daemon-light_4.80-7_i386.deb) ...
Selecting previously unselected package python-apt-common.
Unpacking python-apt-common (from .../python-apt-common_0.8.8.2_all.deb) ...
Selecting previously unselected package python-apt.
Unpacking python-apt (from .../python-apt_0.8.8.2_i386.deb) ...
Selecting previously unselected package autopoint.
Unpacking autopoint (from .../autopoint_0.18.1.1-9_all.deb) ...
Selecting previously unselected package autotools-dev.
Unpacking autotools-dev (from .../autotools-dev_20120608.1_all.deb) ...
Selecting previously unselected package binutils.
Unpacking binutils (from .../binutils_2.22-8_i386.deb) ...
Selecting previously unselected package libc-dev-bin.
Unpacking libc-dev-bin (from .../libc-dev-bin_2.13-38+deb7u4_i386.deb) ...
Selecting previously unselected package linux-libc-dev:i386.
Unpacking linux-libc-dev:i386 (from .../linux-libc-dev_3.2.60-1+deb7u3_i386.deb) ...
Selecting previously unselected package libc6-dev:i386.
Unpacking libc6-dev:i386 (from .../libc6-dev_2.13-38+deb7u4_i386.deb) ...
Selecting previously unselected package gcc-4.7.
Unpacking gcc-4.7 (from .../gcc-4.7_4.7.2-5_i386.deb) ...
Selecting previously unselected package gcc.
Unpacking gcc (from .../gcc_4%3a4.7.2-1_i386.deb) ...
Selecting previously unselected package libstdc++6-4.7-dev.
Unpacking libstdc++6-4.7-dev (from .../libstdc++6-4.7-dev_4.7.2-5_i386.deb) ...
Selecting previously unselected package g++-4.7.
Unpacking g++-4.7 (from .../g++-4.7_4.7.2-5_i386.deb) ...
Selecting previously unselected package g++.
Unpacking g++ (from .../g++_4%3a4.7.2-1_i386.deb) ...
Selecting previously unselected package make.
Unpacking make (from .../make_3.81-8.2_i386.deb) ...
Selecting previously unselected package libdpkg-perl.
Unpacking libdpkg-perl (from .../libdpkg-perl_1.16.15_all.deb) ...
Selecting previously unselected package dpkg-dev.
Unpacking dpkg-dev (from .../dpkg-dev_1.16.15_all.deb) ...
Selecting previously unselected package build-essential.
Unpacking build-essential (from .../build-essential_11.5_i386.deb) ...
Selecting previously unselected package cdbs.
Unpacking cdbs (from .../cdbs_0.4.115+deb7u1_all.deb) ...
Selecting previously unselected package dctrl-tools.
Unpacking dctrl-tools (from .../dctrl-tools_2.22.2_i386.deb) ...
Selecting previously unselected package html2text.
Unpacking html2text (from .../html2text_1.3.2a-15_i386.deb) ...
Selecting previously unselected package gettext.
Unpacking gettext (from .../gettext_0.18.1.1-9_i386.deb) ...
Selecting previously unselected package intltool-debian.
Unpacking intltool-debian (from .../intltool-debian_0.35.0+20060710.1_all.deb) ...
Selecting previously unselected package po-debconf.
Unpacking po-debconf (from .../po-debconf_1.0.16+nmu2_all.deb) ...
Selecting previously unselected package debhelper.
Unpacking debhelper (from .../debhelper_9.20120909_all.deb) ...
Selecting previously unselected package debian-keyring.
Unpacking debian-keyring (from .../debian-keyring_2013.04.21_all.deb) ...
Selecting previously unselected package devscripts.
Unpacking devscripts (from .../devscripts_2.12.6+deb7u2_i386.deb) ...
Selecting previously unselected package dialog.
Unpacking dialog (from .../dialog_1.1-20120215-2_i386.deb) ...
Selecting previously unselected package diffstat.
Unpacking diffstat (from .../diffstat_1.55-3_i386.deb) ...
Selecting previously unselected package distro-info-data.
Unpacking distro-info-data (from .../distro-info-data_0.17~deb7u1_all.deb) ...
Selecting previously unselected package dput.
Unpacking dput (from .../dput_0.9.6.3+nmu2_all.deb) ...
Selecting previously unselected package fakeroot.
Unpacking fakeroot (from .../fakeroot_1.18.4-2_i386.deb) ...
Selecting previously unselected package hardening-includes.
Unpacking hardening-includes (from .../hardening-includes_2.2_all.deb) ...
Selecting previously unselected package heirloom-mailx.
Unpacking heirloom-mailx (from .../heirloom-mailx_12.5-2_i386.deb) ...
Selecting previously unselected package libalgorithm-diff-perl.
Unpacking libalgorithm-diff-perl (from .../libalgorithm-diff-perl_1.19.02-2_all.deb) ...
Selecting previously unselected package libalgorithm-diff-xs-perl.
Unpacking libalgorithm-diff-xs-perl (from .../libalgorithm-diff-xs-perl_0.04-2+b1_i386.deb) ...
Selecting previously unselected package libalgorithm-merge-perl.
Unpacking libalgorithm-merge-perl (from .../libalgorithm-merge-perl_0.08-2_all.deb) ...
Selecting previously unselected package libapt-pkg-perl.
Unpacking libapt-pkg-perl (from .../libapt-pkg-perl_0.1.26+b1_i386.deb) ...
Selecting previously unselected package libarchive-zip-perl.
Unpacking libarchive-zip-perl (from .../libarchive-zip-perl_1.30-6_all.deb) ...
Selecting previously unselected package libsub-name-perl.
Unpacking libsub-name-perl (from .../libsub-name-perl_0.05-1+b2_i386.deb) ...
Selecting previously unselected package libclass-accessor-perl.
Unpacking libclass-accessor-perl (from .../libclass-accessor-perl_0.34-1_all.deb) ...
Selecting previously unselected package libclass-inspector-perl.
Unpacking libclass-inspector-perl (from .../libclass-inspector-perl_1.27-1_all.deb) ...
Selecting previously unselected package libclone-perl.
Unpacking libclone-perl (from .../libclone-perl_0.31-1+b2_i386.deb) ...
Selecting previously unselected package libcommon-sense-perl.
Unpacking libcommon-sense-perl (from .../libcommon-sense-perl_3.6-1_all.deb) ...
Selecting previously unselected package libconvert-binhex-perl.
Unpacking libconvert-binhex-perl (from .../libconvert-binhex-perl_1.119+pristine-3_all.deb) ...
Selecting previously unselected package libcrypt-ssleay-perl.
Unpacking libcrypt-ssleay-perl (from .../libcrypt-ssleay-perl_0.58-1_i386.deb) ...
Selecting previously unselected package libdistro-info-perl.
Unpacking libdistro-info-perl (from .../libdistro-info-perl_0.10_all.deb) ...
Selecting previously unselected package libencode-locale-perl.
Unpacking libencode-locale-perl (from .../libencode-locale-perl_1.03-1_all.deb) ...
Selecting previously unselected package libexporter-lite-perl.
Unpacking libexporter-lite-perl (from .../libexporter-lite-perl_0.02-2_all.deb) ...
Selecting previously unselected package libfcgi-perl.
Unpacking libfcgi-perl (from .../libfcgi-perl_0.74-1+b1_i386.deb) ...
Selecting previously unselected package libfile-fcntllock-perl.
Unpacking libfile-fcntllock-perl (from .../libfile-fcntllock-perl_0.14-2_i386.deb) ...
Selecting previously unselected package libhttp-date-perl.
Unpacking libhttp-date-perl (from .../libhttp-date-perl_6.02-1_all.deb) ...
Selecting previously unselected package libfile-listing-perl.
Unpacking libfile-listing-perl (from .../libfile-listing-perl_6.04-1_all.deb) ...
Selecting previously unselected package libfont-afm-perl.
Unpacking libfont-afm-perl (from .../libfont-afm-perl_1.20-1_all.deb) ...
Selecting previously unselected package liburi-perl.
Unpacking liburi-perl (from .../liburi-perl_1.60-1_all.deb) ...
Selecting previously unselected package libhtml-tagset-perl.
Unpacking libhtml-tagset-perl (from .../libhtml-tagset-perl_3.20-2_all.deb) ...
Selecting previously unselected package libhtml-parser-perl.
Unpacking libhtml-parser-perl (from .../libhtml-parser-perl_3.69-2_i386.deb) ...
Selecting previously unselected package liblwp-mediatypes-perl.
Unpacking liblwp-mediatypes-perl (from .../liblwp-mediatypes-perl_6.02-1_all.deb) ...
Selecting previously unselected package libhttp-message-perl.
Unpacking libhttp-message-perl (from .../libhttp-message-perl_6.03-1_all.deb) ...
Selecting previously unselected package libhtml-form-perl.
Unpacking libhtml-form-perl (from .../libhtml-form-perl_6.03-1_all.deb) ...
Selecting previously unselected package libhtml-tree-perl.
Unpacking libhtml-tree-perl (from .../libhtml-tree-perl_5.02-1_all.deb) ...
Selecting previously unselected package libhtml-format-perl.
Unpacking libhtml-format-perl (from .../libhtml-format-perl_2.10-1_all.deb) ...
Selecting previously unselected package libhtml-template-perl.
Unpacking libhtml-template-perl (from .../libhtml-template-perl_2.91-1_all.deb) ...
Selecting previously unselected package libhttp-cookies-perl.
Unpacking libhttp-cookies-perl (from .../libhttp-cookies-perl_6.00-2_all.deb) ...
Selecting previously unselected package libhttp-daemon-perl.
Unpacking libhttp-daemon-perl (from .../libhttp-daemon-perl_6.01-1_all.deb) ...
Selecting previously unselected package libhttp-negotiate-perl.
Unpacking libhttp-negotiate-perl (from .../libhttp-negotiate-perl_6.00-2_all.deb) ...
Selecting previously unselected package libio-pty-perl.
Unpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.08-1+b2_i386.deb) ...
Selecting previously unselected package libsocket-perl.
Unpacking libsocket-perl (from .../libsocket-perl_2.002-1_i386.deb) ...
Selecting previously unselected package libio-socket-ip-perl.
Unpacking libio-socket-ip-perl (from .../libio-socket-ip-perl_0.16-2_all.deb) ...
Selecting previously unselected package libnet-ssleay-perl.
Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.48-1+b1_i386.deb) ...
Selecting previously unselected package libio-socket-ssl-perl.
Unpacking libio-socket-ssl-perl (from .../libio-socket-ssl-perl_1.76-2_all.deb) ...
Selecting previously unselected package libio-string-perl.
Unpacking libio-string-perl (from .../libio-string-perl_1.08-2_all.deb) ...
Selecting previously unselected package libio-stringy-perl.
Unpacking libio-stringy-perl (from .../libio-stringy-perl_2.110-5_all.deb) ...
Selecting previously unselected package libipc-run-perl.
Unpacking libipc-run-perl (from .../libipc-run-perl_0.92-1_all.deb) ...
Selecting previously unselected package libjson-perl.
Unpacking libjson-perl (from .../libjson-perl_2.53-1_all.deb) ...
Selecting previously unselected package libjson-xs-perl.
Unpacking libjson-xs-perl (from .../libjson-xs-perl_2.320-1+b1_i386.deb) ...
Selecting previously unselected package libnet-http-perl.
Unpacking libnet-http-perl (from .../libnet-http-perl_6.03-2_all.deb) ...
Selecting previously unselected package libwww-robotrules-perl.
Unpacking libwww-robotrules-perl (from .../libwww-robotrules-perl_6.01-1_all.deb) ...
Selecting previously unselected package libwww-perl.
Unpacking libwww-perl (from .../libwww-perl_6.04-1_all.deb) ...
Selecting previously unselected package liblwp-protocol-https-perl.
Unpacking liblwp-protocol-https-perl (from .../liblwp-protocol-https-perl_6.03-1_all.deb) ...
Selecting previously unselected package libsys-hostname-long-perl.
Unpacking libsys-hostname-long-perl (from .../libsys-hostname-long-perl_1.4-2_all.deb) ...
Selecting previously unselected package libmail-sendmail-perl.
Unpacking libmail-sendmail-perl (from .../libmail-sendmail-perl_0.79.16-1_all.deb) ...
Selecting previously unselected package libmime-tools-perl.
Unpacking libmime-tools-perl (from .../libmime-tools-perl_5.503-1_all.deb) ...
Selecting previously unselected package libossp-uuid16.
Unpacking libossp-uuid16 (from .../libossp-uuid16_1.6.2-1.3_i386.deb) ...
Selecting previously unselected package libossp-uuid-perl.
Unpacking libossp-uuid-perl (from .../libossp-uuid-perl_1.6.2-1.3_i386.deb) ...
Selecting previously unselected package libparse-debcontrol-perl.
Unpacking libparse-debcontrol-perl (from .../libparse-debcontrol-perl_2.005-3_all.deb) ...
Selecting previously unselected package libparse-debianchangelog-perl.
Unpacking libparse-debianchangelog-perl (from .../libparse-debianchangelog-perl_1.2.0-1_all.deb) ...
Selecting previously unselected package libtask-weaken-perl.
Unpacking libtask-weaken-perl (from .../libtask-weaken-perl_1.03-1_all.deb) ...
Selecting previously unselected package libxml-parser-perl.
Unpacking libxml-parser-perl (from .../libxml-parser-perl_2.41-1+b1_i386.deb) ...
Selecting previously unselected package libsoap-lite-perl.
Unpacking libsoap-lite-perl (from .../libsoap-lite-perl_0.714-1_all.deb) ...
Selecting previously unselected package libtie-ixhash-perl.
Unpacking libtie-ixhash-perl (from .../libtie-ixhash-perl_1.21-2_all.deb) ...
Selecting previously unselected package libxml-namespacesupport-perl.
Unpacking libxml-namespacesupport-perl (from .../libxml-namespacesupport-perl_1.09-3_all.deb) ...
Selecting previously unselected package libxml-sax-base-perl.
Unpacking libxml-sax-base-perl (from .../libxml-sax-base-perl_1.07-1_all.deb) ...
Selecting previously unselected package libxml-sax-perl.
Unpacking libxml-sax-perl (from .../libxml-sax-perl_0.99+dfsg-2_all.deb) ...
Selecting previously unselected package libxml-sax-expat-perl.
Unpacking libxml-sax-expat-perl (from .../libxml-sax-expat-perl_0.40-2_all.deb) ...
Selecting previously unselected package libxml-simple-perl.
Unpacking libxml-simple-perl (from .../libxml-simple-perl_2.20-1_all.deb) ...
Selecting previously unselected package patchutils.
Unpacking patchutils (from .../patchutils_0.3.2-1.1_i386.deb) ...
Selecting previously unselected package lintian.
Unpacking lintian (from .../lintian_2.5.10.4_all.deb) ...
Selecting previously unselected package manpages-dev.
Unpacking manpages-dev (from .../manpages-dev_3.44-1_all.deb) ...
Selecting previously unselected package psmisc.
Unpacking psmisc (from .../psmisc_22.19-1+deb7u1_i386.deb) ...
Selecting previously unselected package python-chardet.
Unpacking python-chardet (from .../python-chardet_2.0.1-2_all.deb) ...
Selecting previously unselected package python-debian.
Unpacking python-debian (from .../python-debian_0.1.21_all.deb) ...
Selecting previously unselected package ruby-fast-xs.
Unpacking ruby-fast-xs (from .../ruby-fast-xs_0.8.0-3_i386.deb) ...
Selecting previously unselected package ruby-hpricot.
Unpacking ruby-hpricot (from .../ruby-hpricot_0.8.6-3_i386.deb) ...
Selecting previously unselected package ruby-rack.
Unpacking ruby-rack (from .../ruby-rack_1.4.1-2.1_all.deb) ...
Selecting previously unselected package ruby-tilt.
Unpacking ruby-tilt (from .../ruby-tilt_1.3.3-2_all.deb) ...
Selecting previously unselected package ruby-rack-protection.
Unpacking ruby-rack-protection (from .../ruby-rack-protection_1.2.0-1_all.deb) ...
Selecting previously unselected package ruby-sinatra.
Unpacking ruby-sinatra (from .../ruby-sinatra_1.3.2-2_all.deb) ...
Selecting previously unselected package ruby-mustache.
Unpacking ruby-mustache (from .../ruby-mustache_0.99.4-3_all.deb) ...
Selecting previously unselected package ruby-rdiscount.
Unpacking ruby-rdiscount (from .../ruby-rdiscount_1.6.8-3_i386.deb) ...
Selecting previously unselected package ruby-ronn.
Unpacking ruby-ronn (from .../ruby-ronn_0.7.3-2_all.deb) ...
Selecting previously unselected package unzip.
Unpacking unzip (from .../archives/unzip_6.0-8_i386.deb) ...
Selecting previously unselected package vbindiff.
Unpacking vbindiff (from .../vbindiff_3.0-beta3-1_i386.deb) ...
Selecting previously unselected package wdiff.
Unpacking wdiff (from .../wdiff_1.1.2-1_i386.deb) ...
Selecting previously unselected package config-package-dev.
Unpacking config-package-dev (from .../config-package-dev_4.13_all.deb) ...
Selecting previously unselected package dh-apparmor.
Unpacking dh-apparmor (from .../dh-apparmor_2.7.103-4_all.deb) ...
Selecting previously unselected package equivs.
Unpacking equivs (from .../archives/equivs_2.0.9_all.deb) ...
Selecting previously unselected package faketime.
Unpacking faketime (from .../faketime_0.8-1_i386.deb) ...
Selecting previously unselected package haveged.
Unpacking haveged (from .../haveged_1.4-4_i386.deb) ...
Selecting previously unselected package python-magic.
Unpacking python-magic (from .../python-magic_5.11-2+deb7u3_i386.deb) ...
Selecting previously unselected package reprepro.
Unpacking reprepro (from .../reprepro_4.12.5-1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for mime-support ...
Processing triggers for install-info ...
Processing triggers for menu ...
Setting up bash-completion (1:2.0-1) ...
Setting up gawk (1:4.0.1+dfsg-2.1) ...
Setting up libtimedate-perl (1.2000-1) ...
Setting up libmailtools-perl (2.09-1) ...
Setting up libdigest-hmac-perl (1.03+dfsg-1) ...
Setting up libnet-ip-perl (1.25-3) ...
Setting up libnet-dns-perl (0.66-2+b2) ...
Setting up libnet-domain-tld-perl (1.69-1) ...
Setting up libemail-valid-perl (0.190-1) ...
Setting up libunistring0:i386 (0.9.3-5) ...
Setting up libgettextpo0:i386 (0.18.1.1-9) ...
Setting up libgomp1:i386 (4.7.2-5) ...
Setting up libitm1:i386 (4.7.2-5) ...
Setting up libquadmath0:i386 (4.7.2-5) ...
Setting up at (3.1.13-2) ...
[....] Starting deferred execution scheduler: atde[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
Setting up exim4-config (4.80-7) ...
Adding system-user for exim (v4)
Setting up exim4-base (4.80-7) ...
exim: DB upgrade, deleting hints-db
Setting up exim4-daemon-light (4.80-7) ...
[....] Starting MTA: exim4e[?25le7e[1G[e[32m ok e[39;49me8e[?12le[?25h.
Setting up python-apt-common (0.8.8.2) ...
Setting up python-apt (0.8.8.2) ...
Setting up autopoint (0.18.1.1-9) ...
Setting up autotools-dev (20120608.1) ...
Setting up binutils (2.22-8) ...
Setting up libc-dev-bin (2.13-38+deb7u4) ...
Setting up linux-libc-dev:i386 (3.2.60-1+deb7u3) ...
Setting up libc6-dev:i386 (2.13-38+deb7u4) ...
Setting up gcc-4.7 (4.7.2-5) ...
Setting up gcc (4:4.7.2-1) ...
Setting up make (3.81-8.2) ...
Setting up libdpkg-perl (1.16.15) ...
Setting up dpkg-dev (1.16.15) ...
Setting up cdbs (0.4.115+deb7u1) ...
Setting up dctrl-tools (2.22.2) ...
Setting up html2text (1.3.2a-15) ...
Setting up gettext (0.18.1.1-9) ...
Setting up intltool-debian (0.35.0+20060710.1) ...
Setting up po-debconf (1.0.16+nmu2) ...
Setting up debhelper (9.20120909) ...
Setting up debian-keyring (2013.04.21) ...
Setting up devscripts (2.12.6+deb7u2) ...
Setting up dialog (1.1-20120215-2) ...
Setting up diffstat (1.55-3) ...
Setting up distro-info-data (0.17~deb7u1) ...
Setting up dput (0.9.6.3+nmu2) ...
Setting up fakeroot (1.18.4-2) ...
update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode
Setting up hardening-includes (2.2) ...
Setting up heirloom-mailx (12.5-2) ...
update-alternatives: using /usr/bin/heirloom-mailx to provide /usr/bin/mailx (mailx) in auto mode
Setting up libalgorithm-diff-perl (1.19.02-2) ...
Setting up libalgorithm-diff-xs-perl (0.04-2+b1) ...
Setting up libalgorithm-merge-perl (0.08-2) ...
Setting up libapt-pkg-perl (0.1.26+b1) ...
Setting up libarchive-zip-perl (1.30-6) ...
Setting up libsub-name-perl (0.05-1+b2) ...
Setting up libclass-accessor-perl (0.34-1) ...
Setting up libclass-inspector-perl (1.27-1) ...
Setting up libclone-perl (0.31-1+b2) ...
Setting up libcommon-sense-perl (3.6-1) ...
Setting up libconvert-binhex-perl (1.119+pristine-3) ...
Setting up libcrypt-ssleay-perl (0.58-1) ...
Setting up libdistro-info-perl (0.10) ...
Setting up libencode-locale-perl (1.03-1) ...
Setting up libexporter-lite-perl (0.02-2) ...
Setting up libfcgi-perl (0.74-1+b1) ...
Setting up libfile-fcntllock-perl (0.14-2) ...
Setting up libhttp-date-perl (6.02-1) ...
Setting up libfile-listing-perl (6.04-1) ...
Setting up libfont-afm-perl (1.20-1) ...
Setting up liburi-perl (1.60-1) ...
Setting up libhtml-tagset-perl (3.20-2) ...
Setting up libhtml-parser-perl (3.69-2) ...
Setting up liblwp-mediatypes-perl (6.02-1) ...
Setting up libhttp-message-perl (6.03-1) ...
Setting up libhtml-form-perl (6.03-1) ...
Setting up libhtml-tree-perl (5.02-1) ...
Setting up libhtml-format-perl (2.10-1) ...
Setting up libhtml-template-perl (2.91-1) ...
Setting up libhttp-cookies-perl (6.00-2) ...
Setting up libhttp-daemon-perl (6.01-1) ...
Setting up libhttp-negotiate-perl (6.00-2) ...
Setting up libio-pty-perl (1:1.08-1+b2) ...
Setting up libsocket-perl (2.002-1) ...
Setting up libio-socket-ip-perl (0.16-2) ...
Setting up libnet-ssleay-perl (1.48-1+b1) ...
Setting up libio-socket-ssl-perl (1.76-2) ...
Setting up libio-string-perl (1.08-2) ...
Setting up libio-stringy-perl (2.110-5) ...
Setting up libipc-run-perl (0.92-1) ...
Setting up libjson-perl (2.53-1) ...
Setting up libjson-xs-perl (2.320-1+b1) ...
Setting up libnet-http-perl (6.03-2) ...
Setting up libwww-robotrules-perl (6.01-1) ...
Setting up libsys-hostname-long-perl (1.4-2) ...
Setting up libmail-sendmail-perl (0.79.16-1) ...
Setting up libmime-tools-perl (5.503-1) ...
Setting up libossp-uuid16 (1.6.2-1.3) ...
Setting up libossp-uuid-perl (1.6.2-1.3) ...
Setting up libparse-debianchangelog-perl (1.2.0-1) ...
Setting up libtask-weaken-perl (1.03-1) ...
Setting up libtie-ixhash-perl (1.21-2) ...
Setting up libxml-namespacesupport-perl (1.09-3) ...
Setting up libxml-sax-base-perl (1.07-1) ...
Setting up libxml-sax-perl (0.99+dfsg-2) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::PurePerl with priority 10...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...

Creating config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Setting up patchutils (0.3.2-1.1) ...
Setting up lintian (2.5.10.4) ...
Setting up manpages-dev (3.44-1) ...
Setting up psmisc (22.19-1+deb7u1) ...
Setting up python-chardet (2.0.1-2) ...
Setting up python-debian (0.1.21) ...
Setting up ruby-fast-xs (0.8.0-3) ...
Setting up ruby-hpricot (0.8.6-3) ...
Setting up ruby-rack (1.4.1-2.1) ...
Setting up ruby-tilt (1.3.3-2) ...
Setting up ruby-rack-protection (1.2.0-1) ...
Setting up ruby-sinatra (1.3.2-2) ...
Setting up ruby-mustache (0.99.4-3) ...
Setting up ruby-rdiscount (1.6.8-3) ...
Setting up ruby-ronn (0.7.3-2) ...
Setting up unzip (6.0-8) ...
Setting up vbindiff (3.0-beta3-1) ...
Setting up wdiff (1.1.2-1) ...
Setting up config-package-dev (4.13) ...
Setting up dh-apparmor (2.7.103-4) ...
Setting up equivs (2.0.9) ...
Setting up faketime (0.8-1) ...
Setting up haveged (1.4-4) ...
Setting up python-magic (5.11-2+deb7u3) ...
Setting up reprepro (4.12.5-1) ...
Setting up g++-4.7 (4.7.2-5) ...
Setting up g++ (4:4.7.2-1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (11.5) ...
Setting up liblwp-protocol-https-perl (6.03-1) ...
Setting up libstdc++6-4.7-dev (4.7.2-5) ...
Setting up libwww-perl (6.04-1) ...
Setting up libparse-debcontrol-perl (2.005-3) ...
Setting up libxml-parser-perl (2.41-1+b1) ...
Setting up libsoap-lite-perl (0.714-1) ...
Setting up libxml-sax-expat-perl (0.40-2) ...
update-perl-sax-parsers: Registering Perl SAX parser XML::SAX::Expat with priority 50...
update-perl-sax-parsers: Updating overall Perl SAX parser modules info file...
Replacing config file /etc/perl/XML/SAX/ParserDetails.ini with new version
Setting up libxml-simple-perl (2.20-1) ...
Processing triggers for menu ...
++ lsb_release --short --i
+ whonix_build_on_operating_system=Debian
+ whonix_build_on_operating_system=debian
+ '[' 1 = 1 ']'
+ true
+ '[' 1 = 1 ']'
+ true
+ '[' '!' -d /usr/share/doc/config-package-dev/examples/debhelper/ ']'
+ local install_from_testing_required=1
+ local config_package_dev_install_required=1
+ '[' 1 = 1 ']'
+ local TEMP=/etc/apt/sources.list.d/whonix_temp.list
+ '[' debian = ubuntu ']'
+ local codename=testing
+ local default_release=stable
+ echo 'deb http://ftp.us.debian.org/debian testing main'
+ apt-get -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/whonix_temp.list -o Dir::Etc::sourceparts=- -o APT::Get::List-Cleanup=0 update
Get:1 http://ftp.us.debian.org testing Release.gpg [836 B]
Get:2 http://ftp.us.debian.org testing Release [161 kB]
Get:3 http://ftp.us.debian.org testing/main Translation-en [4470 kB]
Get:4 http://ftp.us.debian.org testing/main i386 Packages [6592 kB]
Fetched 11.2 MB in 15s (747 kB/s)
Reading package lists...
+ apt-get --yes -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o APT::Default-Release=stable install config-package-dev/testing
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  autotools-dev cdbs
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  config-package-dev
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 37.9 kB of archives.
After this operation, 194 kB of additional disk space will be used.
Get:1 http://ftp.us.debian.org/debian/ testing/main config-package-dev all 5.1.2 [37.9 kB]
Fetched 37.9 kB in 0s (40.0 kB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 62621 files and directories currently installed.)
Preparing to replace config-package-dev 4.13 (using .../config-package-dev_5.1.2_all.deb) ...
Unpacking replacement config-package-dev ...
Processing triggers for man-db ...
Setting up config-package-dev (5.1.2) ...
+ apt-get --yes -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o APT::Default-Release=stable install grml-debootstrap/testing
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  autotools-dev cdbs
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  debootstrap kpartx libiscsi1 mksh parted qemu-utils sharutils
Suggested packages:
  ed parted-doc
The following NEW packages will be installed:
  debootstrap grml-debootstrap kpartx libiscsi1 mksh parted qemu-utils
  sharutils
0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
Need to get 1835 kB of archives.
After this operation, 4235 kB of additional disk space will be used.
Get:1 http://security.debian.org/ wheezy/updates/main qemu-utils i386 1.1.2+dfsg-6a+deb7u3 [712 kB]
Get:2 http://ftp.us.debian.org/debian/ stable/main libiscsi1 i386 1.4.0-3 [39.3 kB]
Get:3 http://ftp.us.debian.org/debian/ stable/main debootstrap all 1.0.48+deb7u1 [60.6 kB]
Get:4 http://ftp.us.debian.org/debian/ testing/main grml-debootstrap all 0.65 [121 kB]
Get:5 http://ftp.us.debian.org/debian/ stable/main mksh i386 40.9.20120630-7 [510 kB]
Get:6 http://ftp.us.debian.org/debian/ stable/main parted i386 2.3-12 [159 kB]
Get:7 http://ftp.us.debian.org/debian/ stable/main sharutils i386 1:4.11.1-1 [200 kB]
Get:8 http://ftp.us.debian.org/debian/ stable/main kpartx i386 0.4.9+git0.4dfdaf2b-7~deb7u2 [33.4 kB]
Fetched 1835 kB in 5s (307 kB/s)
Selecting previously unselected package libiscsi1:i386.
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 62715 files and directories currently installed.)
Unpacking libiscsi1:i386 (from .../libiscsi1_1.4.0-3_i386.deb) ...
Selecting previously unselected package debootstrap.
Unpacking debootstrap (from .../debootstrap_1.0.48+deb7u1_all.deb) ...
Selecting previously unselected package grml-debootstrap.
Unpacking grml-debootstrap (from .../grml-debootstrap_0.65_all.deb) ...
Selecting previously unselected package mksh.
Unpacking mksh (from .../mksh_40.9.20120630-7_i386.deb) ...
Selecting previously unselected package parted.
Unpacking parted (from .../parted_2.3-12_i386.deb) ...
Selecting previously unselected package qemu-utils.
Unpacking qemu-utils (from .../qemu-utils_1.1.2+dfsg-6a+deb7u3_i386.deb) ...
Selecting previously unselected package sharutils.
Unpacking sharutils (from .../sharutils_1%3a4.11.1-1_i386.deb) ...
Selecting previously unselected package kpartx.
Unpacking kpartx (from .../kpartx_0.4.9+git0.4dfdaf2b-7~deb7u2_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Processing triggers for install-info ...
Setting up libiscsi1:i386 (1.4.0-3) ...
Setting up debootstrap (1.0.48+deb7u1) ...
Setting up grml-debootstrap (0.65) ...
Setting up mksh (40.9.20120630-7) ...
update-alternatives: using /bin/mksh to provide /bin/ksh (ksh) in auto mode
Setting up parted (2.3-12) ...
Setting up qemu-utils (1.1.2+dfsg-6a+deb7u3) ...
Setting up sharutils (1:4.11.1-1) ...
Setting up kpartx (0.4.9+git0.4dfdaf2b-7~deb7u2) ...
Processing triggers for menu ...
+ '[' '' = true ']'
+ rm --force /etc/apt/sources.list.d/whonix_temp.list
+ apt-get --no-download --list-cleanup update
Reading package lists...
+ '[' 1 = 1 ']'
+ true 'INFO: Skip running update-guestfs-appliance, because BARE_METAL is set to 1, ok.'
+ disable_apt_cache
+ trap error_handler_general ERR INT TERM
+ unset http_proxy
+ cat /usr/sbin/policy-rc.d
cat: /usr/sbin/policy-rc.d: No such file or directory
+ true
+ '[' '' = true ']'
+ service haveged status
haveged is running.
+ grep device-mapper /proc/devices
+ true
+ modprobe dm_mod
+ grep device-mapper /proc/devices
254 device-mapper
+ cat /proc/devices
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 21 sg
 29 fb
116 alsa
128 ptm
136 pts
180 usb
189 usb_device
252 hidraw
253 bsg
254 rtc

Block devices:
259 blkext
  7 loop
  8 sd
 11 sr
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
254 device-mapper
+ '[' '' = true ']'
+ '[' '' = true ']'
+ benchmark_time_end
++ date +%s
+ benchmark_time_end=1410218019
+ benchmark_took_seconds=312
++ convertsecs 312
++ (( h=312/3600 ))
++ (( m=(312%3600)/60 ))
++ (( s=312%60 ))
++ printf '%02d:%02d:%02d\n' 0 5 12
++ true
+ benchmark_took_time=00:05:12
+ true
+ true 'INFO: End of: ./build-steps.d/1100_prepare-build-machine No error detected. (benchmark: 00:05:12)'
run-parts: executing ./build-steps.d/1200_create-debian-packages
+ true 'Currently running script: ./build-steps.d/1200_create-debian-packages '
+++ dirname ./build-steps.d/1200_create-debian-packages
++ cd ./build-steps.d
++ pwd
+ MYDIR=/home/user/Whonix/build-steps.d
+ cd /home/user/Whonix/build-steps.d
+ cd ..
+ cd help-steps
+ WHONIX_BUILD_PARSED=1
+ VMNAME=internalrun
+ source pre
++ set +x
+ source variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
+ cd /home/user/Whonix/help-steps
+ cd ..
+ true 'INFO: Currently running script: ./build-steps.d/1200_create-debian-packages '
+ create-debian-packages
+ trap error_handler_general ERR INT TERM
+ signing_key
+ trap error_handler_general ERR INT TERM
+ '[' 1 = 1 ']'
+ true './build-steps.d/1200_create-debian-packages INFO: Using auto local signing key method... '
+ '[' '!' -f /home/user/whonix_binary/gpg-local-signing-key/done ']'
+ true './build-steps.d/1200_create-debian-packages INFO: We do not yet have a local OpenPGP signing key for our local APT repository. Creating one... '
+ sudo -E -u user mkdir --parents /home/user/whonix_binary/gpg-local-signing-key
+ sudo -E -u user chmod 700 /home/user/whonix_binary/gpg-local-signing-key
+ sudo -E -u user gpg --no-options --no-emit-version --no-comments --display-charset utf-8 --keyserver hkp://qdigse2yzvuglcix.onion --personal-digest-preferences SHA512 --cert-digest-algo SHA512 --default-preference-list 'SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed' --keyserver-options no-honor-keyserver-url --fixed-list-mode --keyid-format 0xlong --use-agent --list-options show-uid-validity --sig-notation issuer-fpr@notations.openpgp.fifthhorseman.net=%g --no-default-keyring --homedir /home/user/whonix_binary/gpg-local-signing-key --batch --gen-key
+ echo '
            Key-Type: RSA
            Key-Length: 4096
            Subkey-Type: RSA
            Subkey-Length: 4096
            Name-Real: Whonix auto generated local APT signing key
            Name-Email: whonix@local-signing.key
            Expire-Date: 0
            Preferences: SHA512 SHA384 SHA256 SHA224 AES256 AES192 AES CAST5 ZLIB BZIP2 ZIP Uncompressed
         '
gpg: keyring `/home/user/whonix_binary/gpg-local-signing-key/secring.gpg' created
gpg: keyring `/home/user/whonix_binary/gpg-local-signing-key/pubring.gpg' created
+++++
....+++++
...+++++
...........+++++
gpg: /home/user/whonix_binary/gpg-local-signing-key/trustdb.gpg: trustdb created
gpg: key 0x286E26558F4FB229 marked as ultimately trusted
+ sudo -E -u user touch /home/user/whonix_binary/gpg-local-signing-key/done
+ true './build-steps.d/1200_create-debian-packages INFO: Created local OpenPGP signing key for our local APT repository. '
+ '[' '!' -d /home/user/whonix_binary/gpg-local-signing-key ']'
+ true 'INFO: WHONIX_LOCAL_SIGNING_KEY_FOLDER: /home/user/whonix_binary/gpg-local-signing-key exists, ok.'
+ sudo -E -u user gpg --no-options --no-default-keyring --homedir /home/user/whonix_binary/gpg-local-signing-key --keyid-format 0xlong --fingerprint --list-secret-keys
gpg: checking the trustdb
gpg: 3 marginal(s) needed, 1 complete(s) needed, PGP trust model
gpg: depth: 0  valid:   1  signed:   0  trust: 0-, 0q, 0n, 0m, 0f, 1u
/home/user/whonix_binary/gpg-local-signing-key/secring.gpg
----------------------------------------------------------
sec   4096R/0x286E26558F4FB229 2014-09-08
      Key fingerprint = 3577 3355 D027 8716 894E  D465 286E 2655 8F4F B229
uid                            Whonix auto generated local APT signing key <whonix@local-signing.key>
ssb   4096R/0x6BD5A6D64B633058 2014-09-08

+ check_changelog_version
+ trap error_handler_general ERR INT TERM
+ true
+ cleanup_old_packages
+ trap error_handler_general ERR INT TERM
+ true './build-steps.d/1200_create-debian-packages INFO: Going to update local APT repository... '
+ sleep 3
+ cd /home/user/Whonix/help-steps
+ cd ..
+ true './build-steps.d/1200_create-debian-packages INFO: Cleaning old packages... '
+ /home/user/Whonix/help-steps/cleanup-files
+ true 'Currently running script: /home/user/Whonix/help-steps/cleanup-files '
+++ dirname /home/user/Whonix/help-steps/cleanup-files
++ cd /home/user/Whonix/help-steps
++ pwd
+ MYDIR=/home/user/Whonix/help-steps
+ cd /home/user/Whonix/help-steps
+ cd ..
+ cd help-steps
+ WHONIX_BUILD_PARSED=1
+ ROOT_CHECK=0
+ VMNAME=internalrun
+ source pre
++ set +x
+ source variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
+ true 'INFO: Currently running script: /home/user/Whonix/help-steps/cleanup-files '
+ cleanup_files
+ trap error_handler_general ERR INT TERM
+ set +x
rm --force /home/user/Whonix/../whonix-shared-packages-dependencies*.deb
rm --force /home/user/Whonix/../whonix-shared-packages-recommended*.deb
rm --force /home/user/Whonix/../whonix-shared-files*.deb
rm --force /home/user/Whonix/../whonix-gateway-packages-dependencies*.deb
rm --force /home/user/Whonix/../whonix-gateway-packages-recommended*.deb
rm --force /home/user/Whonix/../whonix-gateway-files*.deb
rm --force /home/user/Whonix/../whonix-workstation-packages-dependencies*.deb
rm --force /home/user/Whonix/../whonix-workstation-packages-recommended*.deb
rm --force /home/user/Whonix/../whonix-workstation-files*.deb
rm --force /home/user/Whonix/../whonix-shared-desktop*.deb
rm --force /home/user/Whonix/../whonix-shared-desktop-kde*.deb
rm --force /home/user/Whonix/../whonix-shared-kde-accessibility*.deb
rm --force /home/user/Whonix/../whonix-workstation-default-applications*.deb
rm --force /home/user/Whonix/../whonix-workstation-extra-applications*.deb
rm --force /home/user/Whonix/../whonix-workstation-langpack-common*.deb
rm --force /home/user/Whonix/../whonix-shared-desktop-langpack-kde*.deb
rm --force /home/user/Whonix/../whonix*.dsc
rm --force /home/user/Whonix/../whonix*.changes
rm --force /home/user/Whonix/../whonix*.tar.*
rm --force /home/user/Whonix/../whonix*.build
+ fakeroot /home/user/Whonix/debian/rules clean
dh_testdir
dh_testroot
dh_clean
rm --force /home/user/Whonix/debian/*.init
rm --force /home/user/Whonix/debian/*.bash-completion
rm --force --recursive /home/user/Whonix/debian/tmp-man
+ rm --force /home/user/Whonix/debian/changelog
+ benchmark_time_end
++ date +%s
+ benchmark_time_end=1410218027
+ benchmark_took_seconds=0
++ convertsecs 0
++ (( h=0/3600 ))
++ (( m=(0%3600)/60 ))
++ (( s=0%60 ))
++ printf '%02d:%02d:%02d\n' 0 0 0
++ true
+ benchmark_took_time=00:00:00
+ true
+ true 'INFO: End of: /home/user/Whonix/help-steps/cleanup-files No error detected. (benchmark: 00:00:00)'
+ true './build-steps.d/1200_create-debian-packages INFO: Cleaned old packages. '
+ check_for_uncommited_changes
+ trap error_handler_general ERR INT TERM
++ git status --porcelain
+ '[' -n ' M buildconfig.d/30_skip_verifiable' ']'
+ true './build-steps.d/1200_create-debian-packages ERROR: Git reports uncommitted changes! '
+ true './build-steps.d/1200_create-debian-packages INFO: Running "git status" for your convenience. '
+ git status
# Not currently on any branch.
# Changes not staged for commit:
#   (use "git add <file>..." to update what will be committed)
#   (use "git checkout -- <file>..." to discard changes in working directory)
#
#	modified:   buildconfig.d/30_skip_verifiable
#
no changes added to commit (use "git add" and/or "git commit -a")
+ true './build-steps.d/1200_create-debian-packages INFO: Running git "clean --dry-run -d --force --force" for your convenience. '
+ git clean --dry-run -d --force --force
+ true './build-steps.d/1200_create-debian-packages You most likely like to revert debian/changelog to run:
    git checkout -- debian/changelog
    /home/user/Whonix/help-steps/cleanup-files
or if you know what you are doing:
    git clean --dry-run -d --force --force
    git reset --hard'
+ error 'Uncommitted changes! See above!'
./build-steps.d/1200_create-debian-packages: line 142: error: command not found
++ error_handler_general
++ error_handler_shared
++ last_exit_code=127
++ last_bash_command='error "Uncommitted changes! See above!"'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in ./build-steps.d/1200_create-debian-packages 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/1200_create-debian-packages
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in ./build-steps.d/1200_create-debian-packages detected! Continue!
(benchmark: 00:00:08)
BASH_COMMAND: error "Uncommitted changes! See above!"
last_exit_code: 127
caller: 96 pre
ERROR in ./build-steps.d/1200_create-debian-packages! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. ++ error_handler_general
++ error_handler_shared
++ last_exit_code=127
++ last_bash_command='error "Uncommitted changes! See above!"'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in ./build-steps.d/1200_create-debian-packages 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/1200_create-debian-packages
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in ./build-steps.d/1200_create-debian-packages detected! Continue!
(benchmark: 00:10:23)
BASH_COMMAND: error "Uncommitted changes! See above!"
last_exit_code: 127
caller: 96 pre
ERROR in ./build-steps.d/1200_create-debian-packages! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. + get_extra_packages
+ trap error_handler_general ERR INT TERM
+ true './build-steps.d/1200_create-debian-packages INFO: Getting extra packages... '
+ '[' debian = ubuntu ']'
+ local codename=testing
+ local TEMP=/etc/apt/sources.list.d/whonix_temp.list
+ cp whonix_shared/usr/share/whonix/build_sources/debian_testing_frozen.list /etc/apt/sources.list.d/whonix_temp.list
+ rm --recursive --force /home/user/whonix_binary/temp_packages
+ sudo -E -u user mkdir --parents /home/user/whonix_binary/temp_packages
+ cd /home/user/whonix_binary/temp_packages
+ maybe_enable_apt_cache
+ trap error_handler_general ERR INT TERM
+ '[' -f /usr/share/whonix/whonix_gateway ']'
+ '[' '' = '' ']'
+ echo 'INFO: Setting, export http_proxy="http://127.0.0.1:3142"'
INFO: Setting, export http_proxy="http://127.0.0.1:3142"
+ export http_proxy=http://127.0.0.1:3142
+ http_proxy=http://127.0.0.1:3142
+ apt-get update -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false -o Dir::Etc::sourcelist=/etc/apt/sources.list.d/whonix_temp.list -o Dir::Etc::sourceparts=- -o APT::Get::List-Cleanup=0
Get:1 http://snapshot.debian.org testing/updates Release.gpg [836 B]
Get:2 http://snapshot.debian.org testing Release.gpg [836 B]
Get:3 http://snapshot.debian.org testing/updates Release [72.7 kB]
Get:4 http://snapshot.debian.org testing Release [152 kB]
Get:5 http://snapshot.debian.org testing/updates/main i386 Packages [14 B]
Get:6 http://snapshot.debian.org testing/updates/main Translation-en [14 B]
Get:7 http://snapshot.debian.org testing/main Translation-en [4315 kB]
Get:8 http://snapshot.debian.org testing/main i386 Packages [6307 kB]
Fetched 10.8 MB in 51s (212 kB/s)
Reading package lists...
+ sudo -E -u user apt-get download --yes -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --target-release testing python-stem
Get:1 Downloading python-stem 1.1.0-1 [367 kB]
Fetched 367 kB in 1s (216 kB/s)
+ rm --force /etc/apt/sources.list.d/whonix_temp.list
+ apt-get update --no-download --list-cleanup
Reading package lists...
+ disable_apt_cache
+ trap error_handler_general ERR INT TERM
+ unset http_proxy
+ true './build-steps.d/1200_create-debian-packages INFO: Got extra packages... '
+ bump_debian_changelog_version
+ trap error_handler_general ERR INT TERM
+ true './build-steps.d/1200_create-debian-packages INFO: Automatically bumping version number in debian/changelog... '
+ cd /home/user/Whonix/help-steps
+ cd ..
+ '[' debian = ubuntu ']'
+ debchange_vendor_cmd=--vendor
+ faketime --version

/usr/bin/faketime: Version 0.8
For usage information please use '/usr/bin/faketime --help'.

+ ls -la ./debian/changelog
ls: cannot access ./debian/changelog: No such file or directory
+ true
+ local package
+ package=whonix
+ echo 'whonix (2:8.2-debpackage1) local; urgency=low

  * This is an auto-generated file. Local auto bump version. Build from:
  * whonix_build_current_git_head: a11289520c94a5dcc2f8477db5fd2491a0593326
  * whonix_build_new_changelog_version: 2:8.2-debpackage1
  * whonix_build_closest_git_tag: 8.2

 -- Whonix auto generated local APT signing key <whonix@local-signing.key>  Thu, 15 Aug 2013 11:02:35 +0000
'
+ shopt -s globstar
+ touch -t 201308151102.35 ./debian
+ touch -t 201308151102.35 ./debian/ ./debian/changelog ./debian/compat ./debian/control ./debian/copyright ./debian/rules ./debian/rules-helper.bsh ./debian/source ./debian/source/format ./debian/watch ./debian/whonix-gateway-files.displace ./debian/whonix-gateway-files.install ./debian/whonix-gateway-files.manpages ./debian/whonix-gateway-files.postinst ./debian/whonix-gateway-files.postrm ./debian/whonix-gateway-files.preinst ./debian/whonix-gateway-files.prerm ./debian/whonix-shared-files.displace ./debian/whonix-shared-files.install ./debian/whonix-shared-files.manpages ./debian/whonix-shared-files.postinst ./debian/whonix-shared-files.postrm ./debian/whonix-shared-files.preinst ./debian/whonix-shared-files.prerm ./debian/whonix-workstation-files.displace ./debian/whonix-workstation-files.install ./debian/whonix-workstation-files.manpages ./debian/whonix-workstation-files.postinst ./debian/whonix-workstation-files.postrm ./debian/whonix-workstation-files.preinst ./debian/whonix-workstation-files.prerm
+ shopt -u globstar
+ ls -la ./debian/changelog
-rw-r--r-- 1 root root 402 Aug 15  2013 ./debian/changelog
+ cat ./debian/changelog
whonix (2:8.2-debpackage1) local; urgency=low

  * This is an auto-generated file. Local auto bump version. Build from:
  * whonix_build_current_git_head: a11289520c94a5dcc2f8477db5fd2491a0593326
  * whonix_build_new_changelog_version: 2:8.2-debpackage1
  * whonix_build_closest_git_tag: 8.2

 -- Whonix auto generated local APT signing key <whonix@local-signing.key>  Thu, 15 Aug 2013 11:02:35 +0000

+ true './build-steps.d/1200_create-debian-packages INFO: Bumped version number in debian/changelog. '
+ create_whonix_upstream_tarball
+ trap error_handler_general ERR INT TERM
+ true './build-steps.d/1200_create-debian-packages INFO: Creating upstream tarball... '
+ sudo -E -u user /home/user/Whonix/help-steps/make-debian-package-upstream-tarball
+ trap error_handler ERR
+++ dirname /home/user/Whonix/help-steps/make-debian-package-upstream-tarball
++ cd /home/user/Whonix/help-steps
++ pwd
+ MYDIR=/home/user/Whonix/help-steps
+ cd /home/user/Whonix/help-steps
+ cd ..
+ cd help-steps
+ export WHONIX_BUILD_PARSED=1
+ WHONIX_BUILD_PARSED=1
+ export ROOT_CHECK=0
+ ROOT_CHECK=0
+ export VMNAME=internalrun
+ VMNAME=internalrun
+ source pre
++ set +x
+ source variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
+ true 'INFO: Currently running script: /home/user/Whonix/help-steps/make-debian-package-upstream-tarball '
+ make_debian_upstream_tarball
+ trap error_handler_general ERR INT TERM
+ gzip -n
+ sudo -E -u user git archive --format=tar HEAD
+ sync
+ benchmark_time_end
++ date +%s
+ benchmark_time_end=1410218704
+ benchmark_took_seconds=1
++ convertsecs 1
++ (( h=1/3600 ))
++ (( m=(1%3600)/60 ))
++ (( s=1%60 ))
++ printf '%02d:%02d:%02d\n' 0 0 1
++ true
+ benchmark_took_time=00:00:01
+ true
+ true 'INFO: End of: /home/user/Whonix/help-steps/make-debian-package-upstream-tarball No error detected. (benchmark: 00:00:01)'
+ true './build-steps.d/1200_create-debian-packages INFO: Created upstream tarball. '
+ create_whonix_debian_packages
+ trap error_handler_general ERR INT TERM
+ true './build-steps.d/1200_create-debian-packages INFO: Creating Whonix Debian Packages... '
+ true 'INFO: GPG_AGENT_INFO: '
+ '[' 1 = 1 ']'
+ true
+ sudo -E -u user debuild --rootcmd=/home/user/Whonix/help-steps/gain-root-command '-p/home/user/Whonix/help-steps/package-sign-cmd                --homedir /home/user/whonix_binary/gpg-local-signing-key                --default-key whonix@local-signing.key' -sa
dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied
 dpkg-buildpackage -r/home/user/Whonix/help-steps/gain-root-command -D -us -uc -sa
dpkg-buildpackage: source package whonix
dpkg-buildpackage: source version 2:8.2-debpackage1
dpkg-buildpackage: source changed by Whonix auto generated local APT signing key <whonix@local-signing.key>
dpkg: warning: failed to open configuration file '/root/.dpkg.cfg' for reading: Permission denied
 dpkg-source --before-build Whonix
dpkg-buildpackage: host architecture i386
 /home/user/Whonix/help-steps/gain-root-command debian/rules clean
dh_testdir
dh_testroot
dh_clean
rm --force /home/user/Whonix/debian/*.init
rm --force /home/user/Whonix/debian/*.bash-completion
rm --force --recursive /home/user/Whonix/debian/tmp-man
 dpkg-source -b Whonix
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building whonix using existing ./whonix_8.2.orig.tar.gz
dpkg-source: info: local changes detected, the modified files are:
 Whonix/buildconfig.d/30_skip_verifiable
dpkg-source: error: aborting due to unexpected upstream changes, see /tmp/whonix_8.2-debpackage1.diff.kLzspv
dpkg-source: info: you can integrate the local changes with dpkg-source --commit
dpkg-buildpackage: error: dpkg-source -b Whonix gave error exit status 2
debuild: fatal error at line 1357:
dpkg-buildpackage -r/home/user/Whonix/help-steps/gain-root-command -D -us -uc -sa failed
++ error_handler_general
++ error_handler_shared
++ last_exit_code=25
++ last_bash_command='sudo -E -u "$user_name" debuild --rootcmd="$WHONIX_SOURCE_HELP_STEPS_FOLDER/gain-root-command" -p"$WHONIX_SOURCE_HELP_STEPS_FOLDER/package-sign-cmd                --homedir $WHONIX_LOCAL_SIGNING_KEY_FOLDER                --default-key $DEBEMAIL" -sa'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in ./build-steps.d/1200_create-debian-packages 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/1200_create-debian-packages
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in ./build-steps.d/1200_create-debian-packages detected! Continue!
(benchmark: 00:11:26)
BASH_COMMAND: sudo -E -u "$user_name" debuild --rootcmd="$WHONIX_SOURCE_HELP_STEPS_FOLDER/gain-root-command" -p"$WHONIX_SOURCE_HELP_STEPS_FOLDER/package-sign-cmd                --homedir $WHONIX_LOCAL_SIGNING_KEY_FOLDER                --default-key $DEBEMAIL" -sa
last_exit_code: 25
caller: 96 pre
ERROR in ./build-steps.d/1200_create-debian-packages! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. + ls -la ./debian/changelog
-rw-r--r-- 1 root root 402 Aug 15  2013 ./debian/changelog
+ true './build-steps.d/1200_create-debian-packages INFO: Created Whonix Debian Packages. '
+ create_whonix_repository
+ trap error_handler_general ERR INT TERM
+ '[' local = local ']'
+ true './build-steps.d/1200_create-debian-packages INFO: Purging local APT repository... '
+ sudo -E -u user reprepro -V -V --gnupghome /home/user/whonix_binary/gpg-local-signing-key --basedir /home/user/Whonix/aptrepo_local --outdir /home/user/whonix_binary/aptrepo_local --dbdir /home/user/whonix_binary/aptrepo_local/db --logdir /home/user/whonix_binary/aptrepo_local/log removematched local '*'
Not exporting local because of no recorded changes and --export=changed.
Created directory "/home/user/whonix_binary/aptrepo_local"
Created directory "/home/user/whonix_binary/aptrepo_local/db"
+ true './build-steps.d/1200_create-debian-packages INFO: Done, purged local APT repository. '
+ true './build-steps.d/1200_create-debian-packages INFO: Creating local APT repository... '
+ true './build-steps.d/1200_create-debian-packages INFO: Importing .dsc file... '
+ sudo -E -u user reprepro -V -V --gnupghome /home/user/whonix_binary/gpg-local-signing-key --basedir /home/user/Whonix/aptrepo_local --outdir /home/user/whonix_binary/aptrepo_local --dbdir /home/user/whonix_binary/aptrepo_local/db --logdir /home/user/whonix_binary/aptrepo_local/log includedsc local '../*.dsc'
Error opening '../*.dsc': No such file or directory
Not exporting local because of no recorded changes and --export=changed.
There have been errors!
++ error_handler_general
++ error_handler_shared
++ last_exit_code=254
++ last_bash_command='sudo -E -u "$user_name" reprepro -V -V $WHONIX_BUILD_REPREPRO_FOLDER_OPTIONS includedsc "$WHONIX_BUILD_APT_CODENAME" ../*.dsc'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in ./build-steps.d/1200_create-debian-packages 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/1200_create-debian-packages
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in ./build-steps.d/1200_create-debian-packages detected! Continue!
(benchmark: 00:11:32)
BASH_COMMAND: sudo -E -u "$user_name" reprepro -V -V $WHONIX_BUILD_REPREPRO_FOLDER_OPTIONS includedsc "$WHONIX_BUILD_APT_CODENAME" ../*.dsc
last_exit_code: 254
caller: 96 pre
ERROR in ./build-steps.d/1200_create-debian-packages! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. + true './build-steps.d/1200_create-debian-packages INFO: Done, imported .dsc file. '
+ true './build-steps.d/1200_create-debian-packages INFO: Importing .changes file... '
+ sudo -E -u user reprepro -V -V --gnupghome /home/user/whonix_binary/gpg-local-signing-key --basedir /home/user/Whonix/aptrepo_local --outdir /home/user/whonix_binary/aptrepo_local --dbdir /home/user/whonix_binary/aptrepo_local/db --logdir /home/user/whonix_binary/aptrepo_local/log include local '../*.changes'
Error opening '../*.changes': No such file or directory
Not exporting local because there have been errors and no --export=force.
Make sure to run a full export soon.
There have been errors!
++ error_handler_general
++ error_handler_shared
++ last_exit_code=254
++ last_bash_command='sudo -E -u "$user_name" reprepro -V -V $WHONIX_BUILD_REPREPRO_FOLDER_OPTIONS include "$WHONIX_BUILD_APT_CODENAME" ../*.changes'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in ./build-steps.d/1200_create-debian-packages 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/1200_create-debian-packages
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in ./build-steps.d/1200_create-debian-packages detected! Continue!
(benchmark: 00:11:35)
BASH_COMMAND: sudo -E -u "$user_name" reprepro -V -V $WHONIX_BUILD_REPREPRO_FOLDER_OPTIONS include "$WHONIX_BUILD_APT_CODENAME" ../*.changes
last_exit_code: 254
caller: 96 pre
ERROR in ./build-steps.d/1200_create-debian-packages! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. + true './build-steps.d/1200_create-debian-packages INFO: Done, imported .changes file. '
+ true './build-steps.d/1200_create-debian-packages INFO: Importing temp .deb files... '
+ sudo -E -u user reprepro --gnupghome /home/user/whonix_binary/gpg-local-signing-key --basedir /home/user/whonix_binary/aptrepo_local --gnupghome /home/user/whonix_binary/gpg-local-signing-key --basedir /home/user/Whonix/aptrepo_local --outdir /home/user/whonix_binary/aptrepo_local --dbdir /home/user/whonix_binary/aptrepo_local/db --logdir /home/user/whonix_binary/aptrepo_local/log includedeb local /home/user/whonix_binary/temp_packages/python-stem_1.1.0-1_all.deb
/home/user/whonix_binary/temp_packages/python-stem_1.1.0-1_all.deb: component guessed as 'main'
Exporting indices...
+ true './build-steps.d/1200_create-debian-packages INFO: Imported temp .deb files. '
+ true './build-steps.d/1200_create-debian-packages INFO: Displaying sha512sum of /home/user/whonix_binary/aptrepo_local/pool/**... '
+ shopt -s globstar
+ sha512sum /home/user/whonix_binary/aptrepo_local/pool/ /home/user/whonix_binary/aptrepo_local/pool/main /home/user/whonix_binary/aptrepo_local/pool/main/p /home/user/whonix_binary/aptrepo_local/pool/main/p/python-stem /home/user/whonix_binary/aptrepo_local/pool/main/p/python-stem/python-stem_1.1.0-1_all.deb
sha512sum: /home/user/whonix_binary/aptrepo_local/pool/: Is a directory
sha512sum: /home/user/whonix_binary/aptrepo_local/pool/main: Is a directory
sha512sum: /home/user/whonix_binary/aptrepo_local/pool/main/p: Is a directory
sha512sum: /home/user/whonix_binary/aptrepo_local/pool/main/p/python-stem: Is a directory
3678de94e597fc291cd682780b18dc12f7b0f2424ef717ae8da9b00cdc6226054c8d65222fd9b4c0e5185ea367c8a8f264dd4ed91ec3c3a2dc386d60974262e9  /home/user/whonix_binary/aptrepo_local/pool/main/p/python-stem/python-stem_1.1.0-1_all.deb
+ true
+ shopt -u globstar
+ true './build-steps.d/1200_create-debian-packages INFO: Done, displayed sha512sums. '
+ true './build-steps.d/1200_create-debian-packages INFO: Done, created local APT repository. '
+ benchmark_time_end
++ date +%s
+ benchmark_time_end=1410218717
+ benchmark_took_seconds=698
++ convertsecs 698
++ (( h=698/3600 ))
++ (( m=(698%3600)/60 ))
++ (( s=698%60 ))
++ printf '%02d:%02d:%02d\n' 0 11 38
++ true
+ benchmark_took_time=00:11:38
+ true
+ true 'INFO: End of: ./build-steps.d/1200_create-debian-packages No error detected. (benchmark: 00:11:38)'
run-parts: executing ./build-steps.d/1300_create-debian-img
+ true 'Currently running script: ./build-steps.d/1300_create-debian-img '
+++ dirname ./build-steps.d/1300_create-debian-img
++ cd ./build-steps.d
++ pwd
+ MYDIR=/home/user/Whonix/build-steps.d
+ cd /home/user/Whonix/build-steps.d
+ cd ..
+ cd help-steps
+ source pre
++ set +x
+ source variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
+ '[' 1 = 1 ']'
+ true 'INFO: Skipping ./build-steps.d/1300_create-debian-img, because BARE_METAL is set to 1.'
run-parts: executing ./build-steps.d/1400_backup-img-after-grml-debootstrap
+ true 'Currently running script: ./build-steps.d/1400_backup-img-after-grml-debootstrap '
+++ dirname ./build-steps.d/1400_backup-img-after-grml-debootstrap
++ cd ./build-steps.d
++ pwd
+ MYDIR=/home/user/Whonix/build-steps.d
+ cd /home/user/Whonix/build-steps.d
+ cd ..
+ cd help-steps
+ source pre
++ set +x
+ source variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
INFO: Skipping 1400_backup-img-after-grml-debootstrap, because WHONIX_BUILD_SKIP_SCRIPTS includes it. 
run-parts: executing ./build-steps.d/1700_install-meta-packages
+ true 'Currently running script: ./build-steps.d/1700_install-meta-packages '
+ TEMP_SCRIPTNAME=./build-steps.d/1700_install-meta-packages
+++ dirname ./build-steps.d/1700_install-meta-packages
++ cd ./build-steps.d
++ pwd
+ MYDIR=/home/user/Whonix/build-steps.d
+ cd /home/user/Whonix/build-steps.d
+ cd ..
+ cd help-steps
+ source pre
++ set +x
+ source variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
+ true 'INFO: Currently running script: ./build-steps.d/1700_install-meta-packages '
+ install-meta-packages
+ trap error_handler_unchroot_unprevent_unmount ERR INT TERM
+ '[' 1 = 1 ']'
+ '[' '!' -f /home/user/whonix_binary/gpg-local-signing-key/done ']'
+ sync
+ /home/user/Whonix/help-steps/mount-img
+++ dirname /home/user/Whonix/help-steps/mount-img
++ cd /home/user/Whonix/help-steps
++ pwd
+ MYDIR=/home/user/Whonix/help-steps
+ source /home/user/Whonix/help-steps/pre
++ set +x
+ source /home/user/Whonix/help-steps/variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
+ '[' 1 = 1 ']'
+ true 'INFO: Skipping script, because BARE_METAL=1: /home/user/Whonix/help-steps/mount-img'
+ exit 0
+ /home/user/Whonix/help-steps/prevent-daemons-from-starting
+++ dirname /home/user/Whonix/help-steps/prevent-daemons-from-starting
++ cd /home/user/Whonix/help-steps
++ pwd
+ MYDIR=/home/user/Whonix/help-steps
+ source /home/user/Whonix/help-steps/pre
++ set +x
+ source /home/user/Whonix/help-steps/variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
+ true 'INFO: Currently running script: /home/user/Whonix/help-steps/prevent-daemons-from-starting '
+ prevent_daemons_from_starting
+ trap error_handler_prevent_daemons_from_starting ERR INT TERM
+ sync
+ echo 'chroot-img: copy policy-rc.d into /usr/sbin/ to prevent daemons from starting.'
chroot-img: copy policy-rc.d into /usr/sbin/ to prevent daemons from starting.
+ cp --preserve --verbose /home/user/Whonix/whonix_shared/usr/share/whonix/policy-rc.d /usr/sbin/policy-rc.d
`/home/user/Whonix/whonix_shared/usr/share/whonix/policy-rc.d' -> `/usr/sbin/policy-rc.d'
+ sync
+ benchmark_time_end
++ date +%s
+ benchmark_time_end=1410218718
+ benchmark_took_seconds=0
++ convertsecs 0
++ (( h=0/3600 ))
++ (( m=(0%3600)/60 ))
++ (( s=0%60 ))
++ printf '%02d:%02d:%02d\n' 0 0 0
++ true
+ benchmark_took_time=00:00:00
+ true
+ true 'INFO: End of: /home/user/Whonix/help-steps/prevent-daemons-from-starting No error detected. (benchmark: 00:00:00)'
+ sync
+ update-grub -v
grub-mkconfig (GRUB) 1.99-27+deb7u2
+ sync
+ sync
+ '[' 1 = 1 ']'
+ cp --no-clobber --recursive --preserve /etc/apt/sources.list /etc/apt/sources.list.backup
+ cp --no-clobber --recursive --preserve /etc/resolv.conf /etc/resolv.conf.backup
+ cp --no-clobber --recursive --preserve /etc/hosts /etc/hosts.backup
+ cp --no-clobber --recursive --preserve /etc/hostname /etc/hostname.backup
+ cp --no-clobber --recursive --preserve /etc/network/interfaces /etc/network/interfaces.backup
+ cp /home/user/Whonix/whonix_shared/etc/apt/sources.list.whonix /etc/apt/sources.list
+ cp /home/user/Whonix/whonix_shared/etc/apt/preferences.d/50_banned-packages /etc/apt/preferences.d/
+ cp /home/user/Whonix/whonix_shared/etc/apt/apt.conf.d/90whonix-timeout /etc/apt/apt.conf.d/
+ sync
+ /home/user/Whonix/help-steps/chroot-img
+++ dirname /home/user/Whonix/help-steps/chroot-img
++ cd /home/user/Whonix/help-steps
++ pwd
+ MYDIR=/home/user/Whonix/help-steps
+ source /home/user/Whonix/help-steps/pre
++ set +x
+ source /home/user/Whonix/help-steps/variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
+ true 'INFO: Currently running script: /home/user/Whonix/help-steps/chroot-img '
+ chroot-img
+ trap error_handler_chroot-img ERR INT TERM
+ sync
+ '[' 1 = 1 ']'
+ true
+ '[' '' = 0 ']'
+ '[' 1 = 1 ']'
+ true 'INFO /home/user/Whonix/help-steps/chroot-img: BARE_METAL is 1, using .backup files as /etc/resolv.conf etc, ok.'
+ mount --bind /etc/resolv.conf.backup /etc/resolv.conf
+ mount --bind /etc/hosts.backup /etc/hosts
+ mount --bind /etc/hostname.backup /etc/hostname
+ mount --bind /etc/network/interfaces.backup /etc/network/interfaces
+ sync
+ benchmark_time_end
++ date +%s
+ benchmark_time_end=1410218719
+ benchmark_took_seconds=1
++ convertsecs 1
++ (( h=1/3600 ))
++ (( m=(1%3600)/60 ))
++ (( s=1%60 ))
++ printf '%02d:%02d:%02d\n' 0 0 1
++ true
+ benchmark_took_time=00:00:01
+ true
+ true 'INFO: End of: /home/user/Whonix/help-steps/chroot-img No error detected. (benchmark: 00:00:01)'
+ /home/user/Whonix/help-steps/create-local-temp-apt-repo
+++ dirname /home/user/Whonix/help-steps/create-local-temp-apt-repo
++ cd /home/user/Whonix/help-steps
++ pwd
+ MYDIR=/home/user/Whonix/help-steps
+ source /home/user/Whonix/help-steps/pre
++ set +x
+ source /home/user/Whonix/help-steps/variables
++ set +x
INFO: Setting... export UWT_DEV_PASSTHROUGH="1"
whonix_build_whonix_version_new: 8.2
whonix_build_new_changelog_version: 2:8.2-debpackage1
+ true 'INFO: Currently running script: /home/user/Whonix/help-steps/create-local-temp-apt-repo '
+ create_local_temp_apt_repo
+ trap error_handler_general ERR INT TERM
+ local gpg_temp_homedir
++ mktemp --directory
+ gpg_temp_homedir=/tmp/tmp.mpYyv3I8yO
+ gpg --no-options --no-default-keyring --homedir //tmp/tmp.mpYyv3I8yO --keyring /etc/apt/trusted.gpg.d/whonix-temporary-local-apt-repository.gpg --import
gpg: keyring `//tmp/tmp.mpYyv3I8yO/secring.gpg' created
gpg: keyring `/etc/apt/trusted.gpg.d/whonix-temporary-local-apt-repository.gpg' created
+ sudo -u user gpg --no-options --no-default-keyring --homedir /home/user/whonix_binary/gpg-local-signing-key --export whonix@local-signing.key
gpg: //tmp/tmp.mpYyv3I8yO/trustdb.gpg: trustdb created
gpg: key 8F4FB229: public key "Whonix auto generated local APT signing key <whonix@local-signing.key>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
+ gpg --no-options --no-default-keyring --homedir /home/user/whonix_binary/gpg-local-signing-key --keyring /etc/apt/trusted.gpg.d/whonix-temporary-local-apt-repository.gpg --keyid-format 0xlong --fingerprint
gpg: WARNING: unsafe ownership on homedir `/home/user/whonix_binary/gpg-local-signing-key'
/etc/apt/trusted.gpg.d/whonix-temporary-local-apt-repository.gpg
----------------------------------------------------------------
pub   4096R/0x286E26558F4FB229 2014-09-08
      Key fingerprint = 3577 3355 D027 8716 894E  D465 286E 2655 8F4F B229
uid                            Whonix auto generated local APT signing key <whonix@local-signing.key>
sub   4096R/0x6BD5A6D64B633058 2014-09-08

+ mkdir --parents //mnt/initialdeb
+ mkdir --parents //tmp/empty
+ mkdir --parents //var/lib/whonix/sources_temp_list.d
+ mount --bind /home/user/whonix_binary/aptrepo_local //mnt/initialdeb
+ echo 'deb file:/mnt/initialdeb/ local main'
+ '[' '' = 1 ']'
+ cp /home/user/Whonix/whonix_shared/usr/share/whonix/build_sources/debian_stable_frozen.list //var/lib/whonix/sources_temp_list.d/build_sources.list
+ sync
+ ls -la //mnt/initialdeb
total 20
drwxr-xr-x 5 user user 4096 Sep  8 13:25 .
drwxr-xr-x 3 root root 4096 Sep  8 13:25 ..
drwxr-xr-x 2 user user 4096 Sep  8 13:25 db
drwxr-xr-x 3 user user 4096 Sep  8 13:25 dists
drwxr-xr-x 3 user user 4096 Sep  8 13:25 pool
+ ls -la //var/lib/whonix/sources_temp_list.d
total 16
drwxr-xr-x 2 root root 4096 Sep  8 13:25 .
drwxr-xr-x 3 root root 4096 Sep  8 13:25 ..
-rw-r--r-- 1 root root 1192 Sep  8 13:25 build_sources.list
-rw-r--r-- 1 root root   37 Sep  8 13:25 whonix_temp_initialdeb.list
+ '[' '' = 1 ']'
+ cat //var/lib/whonix/sources_temp_list.d/build_sources.list
## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

## NOTE:
## If you make changes here, do not forget to update
## whonix_build_grml_sources_list in buildconfig.d/30_apt as well.

## Using http://snapshot.debian.org/ to create verifiable builds.
##
## 1. Go to for example:
##    - http://snapshot.debian.org/archive/debian-security/
##    - http://snapshot.debian.org/archive/debian/
## 2. Then for example click on 2013 09
##    - http://snapshot.debian.org/archive/debian-security/?year=2013&month=10
##    - http://snapshot.debian.org/archive/debian/?year=2013&month=10
## 3. Scroll down and for example click on 2013-09-19 21:48:59
##    - http://snapshot.debian.org/archive/debian-security/20130919T215514Z/
##    - http://snapshot.debian.org/archive/debian/20130919T214859Z/
## 4. See note above!
##    - See note above!
##    - See note above!
deb http://snapshot.debian.org/archive/debian-security/20140412T204151Z/ stable/updates main
deb http://snapshot.debian.org/archive/debian/20140412T223206Z/ stable main

## We currently do not need any source packages for building Whonix.
+ cat //var/lib/whonix/sources_temp_list.d/whonix_temp_initialdeb.list
deb file:/mnt/initialdeb/ local main
+ benchmark_time_end
++ date +%s
+ benchmark_time_end=1410218719
+ benchmark_took_seconds=0
++ convertsecs 0
++ (( h=0/3600 ))
++ (( m=(0%3600)/60 ))
++ (( s=0%60 ))
++ printf '%02d:%02d:%02d\n' 0 0 0
++ true
+ benchmark_took_time=00:00:00
+ true
+ true 'INFO: End of: /home/user/Whonix/help-steps/create-local-temp-apt-repo No error detected. (benchmark: 00:00:00)'
+ ls -la /etc/apt/trusted.gpg.d
total 28
drwxr-xr-x 2 root root 4096 Sep  8 13:25 .
drwxr-xr-x 6 root root 4096 Sep  8 13:25 ..
-rw-r--r-- 1 root root 4084 Jun  2  2012 debian-archive-squeeze-automatic.gpg
-rw-r--r-- 1 root root 2853 Jun  2  2012 debian-archive-squeeze-stable.gpg
-rw-r--r-- 1 root root 3780 Jun  2  2012 debian-archive-wheezy-automatic.gpg
-rw-r--r-- 1 root root 2851 Jun  2  2012 debian-archive-wheezy-stable.gpg
-rw------- 1 root root 2891 Sep  8 13:25 whonix-temporary-local-apt-repository.gpg
-rw------- 1 root root    0 Sep  8 13:25 whonix-temporary-local-apt-repository.gpg~
+ apt-key finger
/etc/apt/trusted.gpg.d//debian-archive-squeeze-automatic.gpg
------------------------------------------------------------
pub   4096R/473041FA 2010-08-27 [expires: 2018-03-05]
      Key fingerprint = 9FED 2BCB DCD2 9CDF 7626  78CB AED4 B06F 4730 41FA
uid                  Debian Archive Automatic Signing Key (6.0/squeeze) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d//debian-archive-squeeze-stable.gpg
---------------------------------------------------------
pub   4096R/B98321F9 2010-08-07 [expires: 2017-08-05]
      Key fingerprint = 0E4E DE2C 7F3E 1FC0 D033  800E 6448 1591 B983 21F9
uid                  Squeeze Stable Release Key <debian-release@lists.debian.org>

/etc/apt/trusted.gpg.d//debian-archive-wheezy-automatic.gpg
-----------------------------------------------------------
pub   4096R/46925553 2012-04-27 [expires: 2020-04-25]
      Key fingerprint = A1BD 8E9D 78F7 FE5C 3E65  D8AF 8B48 AD62 4692 5553
uid                  Debian Archive Automatic Signing Key (7.0/wheezy) <ftpmaster@debian.org>

/etc/apt/trusted.gpg.d//debian-archive-wheezy-stable.gpg
--------------------------------------------------------
pub   4096R/65FFB764 2012-05-08 [expires: 2019-05-07]
      Key fingerprint = ED6D 6527 1AAC F0FF 15D1  2303 6FB2 A1C2 65FF B764
uid                  Wheezy Stable Release Key <debian-release@lists.debian.org>

/etc/apt/trusted.gpg.d//whonix-temporary-local-apt-repository.gpg
-----------------------------------------------------------------
pub   4096R/8F4FB229 2014-09-08
      Key fingerprint = 3577 3355 D027 8716 894E  D465 286E 2655 8F4F B229
uid                  Whonix auto generated local APT signing key <whonix@local-signing.key>
sub   4096R/4B633058 2014-09-08

+ maybe_enable_apt_cache
+ trap error_handler_general ERR INT TERM
+ '[' -f /usr/share/whonix/whonix_gateway ']'
+ '[' '' = '' ']'
+ echo 'INFO: Setting, export http_proxy="http://127.0.0.1:3142"'
INFO: Setting, export http_proxy="http://127.0.0.1:3142"
+ export http_proxy=http://127.0.0.1:3142
+ http_proxy=http://127.0.0.1:3142
+ sync
+ cat /etc/apt/preferences.d/50_banned-packages
## This file is part of Whonix.
## Copyright (C) 2012 - 2014 Patrick Schleizer <adrelanos@riseup.net>
## See the file COPYING for copying conditions.

## Whonix /etc/apt/preferences.d/50_banned-packages

## Prevent conflicting software from getting installed, just in case.
##
## Advanced users who know what they are doing are free to comment packages of
## their choice out and therefore make them installable again.

## NOTE:
## Do not add comments on the very bottom after the last entry, otherwise
## apt-get will complain when parsing this file.

## Additionally the autostart of Tor on Whonix-Workstation has been disabled
## in /etc/default/tor to prevent Tor over Tor and to satisfy the dependencies
## of some packages on Tor, for example for TorChat. See also:
##     https://www.whonix.org/wiki/Dev/Dummy_Tor

## NTP does not work over Tor because it uses UDP.
## If it were to work, it would not be secure, because
## it is by default not encrypted. Whonix has its own
## safe network time synchronization mechanism. See
## Whonix design.
Package: ntpdate
Pin: release *
Pin-Priority: -1

## Not installing Debian popularity contest due to privacy concerns.
Package: popularity-contest
Pin: release *
Pin-Priority: -1

## Not installing resolvconf, openresolv since they can modify DNS settings,
## resulting in not using Tor as DNS resolver. Advanced users
## should knowingly install resolvconf or edit /etc/resolv.conf
## manually.
Package: resolvconf
Pin: release *
Pin-Priority: -1

Package: openresolv
Pin: release *
Pin-Priority: -1

## Not installing the Ubuntu version of popularity-contest.
## Only interesting for custom builds.
Package: canonical-census
Pin: release *
Pin-Priority: -1

## Not installing Ubuntu packages with privacy concerns.
## Only interesting for custom builds.
Package: unity-lens-shopping
Pin: release *
Pin-Priority: -1

Package: unity-scope-video-remote
Pin: release *
Pin-Priority: -1

Package: unity-scope-musicstores
Pin: release *
Pin-Priority: -1

Package: geoclue-ubuntu-geoip
Pin: release *
Pin-Priority: -1

## geoclue is not evil in itself. Just having it installed may lead some third
## party packages depending on it on utilizing in context of Whonix unwanted
## activities, such as finding out the geolocation of a Tor exit relay, which
## would not be useful or "phone home".
Package: geoclue
Pin: release *
Pin-Priority: -1

## Not installing uncomplicated firewall, because it
## conflicts with Whonix's own firewall started by
## /etc/network/interfaces pre-up.
## Only interesting for custom builds.
Package: ufw
Pin: release *
Pin-Priority: -1
+ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://ftp.us.debian.org/debian/ stable/main Translation-en
 500 http://ftp.us.debian.org/debian/ stable/main i386 Packages
     release v=7.6,o=Debian,a=stable,n=wheezy,l=Debian,c=main
     origin ftp.us.debian.org
Pinned packages:
     popularity-contest -> 1.56
     geoclue -> 0.12.0-4
     ufw -> 0.31.1-2
     ntpdate -> 1:4.2.6.p5+dfsg-2
     resolvconf -> 1.67
     openresolv -> 3.5.2-1
+ '[' '' = true ']'
+ apt-get clean
+ apt-get autoclean
Reading package lists...
Building dependency tree...
Reading state information...
+ apt-get --fix-broken --yes install
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  autotools-dev cdbs
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ apt-get --fix-missing --yes install
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  autotools-dev cdbs
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ apt-get --fix-broken --fix-missing --yes install
Reading package lists...
Building dependency tree...
Reading state information...
The following packages were automatically installed and are no longer required:
  autotools-dev cdbs
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ dpkg --configure -a
+ dpkg --audit
+ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false update
Get:1 file: local Release.gpg [836 B]
Get:2 file: local Release [2272 B]
Ign file: local/main Translation-en
Get:3 http://snapshot.debian.org stable/updates Release.gpg [836 B]
Get:4 http://snapshot.debian.org stable Release.gpg [1672 B]
Get:5 http://snapshot.debian.org stable/updates Release [102 kB]
Get:6 http://snapshot.debian.org stable Release [168 kB]
Get:7 http://snapshot.debian.org stable/updates/main i386 Packages [178 kB]
Get:8 http://snapshot.debian.org stable/updates/main Translation-en [97.6 kB]
Get:9 http://snapshot.debian.org stable/main i386 Packages [5862 kB]
Get:10 http://snapshot.debian.org stable/main Translation-en [3849 kB]
Fetched 10.3 MB in 16s (604 kB/s)
Reading package lists...
+ '[' '' = true ']'
+ local apt_unattended_opts=
+ '[' '' = true ']'
+ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes dist-upgrade
Reading package lists...
Building dependency tree...
Reading state information...
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
+ apt-cache policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
Pinned packages:
     resolvconf -> (not found)
+ grep 'Package: zenity' /var/lib/apt/lists/_mnt_initialdeb_dists_local_Release /var/lib/apt/lists/_mnt_initialdeb_dists_local_Release.gpg /var/lib/apt/lists/_mnt_initialdeb_dists_local_main_binary-i386_Packages /var/lib/apt/lists/lock /var/lib/apt/lists/partial /var/lib/apt/lists/snapshot.debian.org_archive_debian-security_20140412T204151Z_dists_stable_updates_Release /var/lib/apt/lists/snapshot.debian.org_archive_debian-security_20140412T204151Z_dists_stable_updates_Release.gpg /var/lib/apt/lists/snapshot.debian.org_archive_debian-security_20140412T204151Z_dists_stable_updates_main_binary-i386_Packages /var/lib/apt/lists/snapshot.debian.org_archive_debian-security_20140412T204151Z_dists_stable_updates_main_i18n_Translation-en /var/lib/apt/lists/snapshot.debian.org_archive_debian_20140412T223206Z_dists_stable_Release /var/lib/apt/lists/snapshot.debian.org_archive_debian_20140412T223206Z_dists_stable_Release.gpg /var/lib/apt/lists/snapshot.debian.org_archive_debian_20140412T223206Z_dists_stable_main_binary-
i386_Packages /var/lib/apt/lists/snapshot.debian.org_archive_debian_20140412T223206Z_dists_stable_main_i18n_Translation-en
grep: /var/lib/apt/lists/partial: Is a directory
/var/lib/apt/lists/snapshot.debian.org_archive_debian_20140412T223206Z_dists_stable_main_binary-i386_Packages:Package: zenity
/var/lib/apt/lists/snapshot.debian.org_archive_debian_20140412T223206Z_dists_stable_main_binary-i386_Packages:Package: zenity-common
/var/lib/apt/lists/snapshot.debian.org_archive_debian_20140412T223206Z_dists_stable_main_i18n_Translation-en:Package: zenity
/var/lib/apt/lists/snapshot.debian.org_archive_debian_20140412T223206Z_dists_stable_main_i18n_Translation-en:Package: zenity-common
+ true
+ apt-cache policy zenity
+ '[' '' = true ']'
+ apt-cache policy kde-workspace
kde-workspace:
  Installed: 4:4.8.4-6
  Candidate: 4:4.8.4-6
  Version table:
 *** 4:4.8.4-6 0
        100 /var/lib/dpkg/status
+ apt-cache policy kdm
kdm:
  Installed: 4:4.8.4-6
  Candidate: 4:4.8.4-6
  Version table:
 *** 4:4.8.4-6 0
        100 /var/lib/dpkg/status
+ apt-cache policy okular
okular:
  Installed: 4:4.8.4-3
  Candidate: 4:4.8.4-3
  Version table:
 *** 4:4.8.4-3 0
        100 /var/lib/dpkg/status
+ apt-cache policy zenity
+ apt-cache policy debsums
+ '[' '' = '' ']'
+ true 'INFO ./build-steps.d/1700_install-meta-packages: Variable whonix_build_script_whonix_package is empty. No packages will be excluded from installation. This information is relevant for builders using custom configurations, skipping packages such as Terminal-Only.'
+ install-pkg whonix-shared-packages-dependencies
+ trap error_handler_unchroot_unprevent_unmount ERR INT TERM
+ pkg=whonix-shared-packages-dependencies
+ local skip_package
+ unset skip_package
+ true 'INFO: Installing whonix-shared-packages-dependencies, because whonix_build_script_whonix_package does not include it... This may take a while...'
+ local apt_get_exit_code=0
+ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes --no-install-recommends install whonix-shared-packages-dependencies
Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package whonix-shared-packages-dependencies
+ apt_get_exit_code=100
+ true
+ sync
+ sync
+ '[' 100 = 0 ']'
+ true 'ERROR: Failed to install whonix-shared-packages-dependencies. (apt_get_exit_code: 100) Attempting to gather debug output to diagnose the problem...'
+ true 'INFO: Read output of apt-get trying to install whonix-shared-packages-dependencies into a variable for debugging. This may take a while...'
+ local apt_get_exit_code=0
++ apt-get -o Dir::Etc::sourcelist=/tmp/empty -o Dir::Etc::sourceparts=/var/lib/whonix/sources_temp_list.d -o Acquire::http::Timeout=180 -o Acquire::ftp::Timeout=180 -o Acquire::Retries=3 -o Acquire::Check-Valid-Until=false --yes --no-install-recommends install whonix-shared-packages-dependencies
+ apt_get_output='          Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package whonix-shared-packages-dependencies       '
+ apt_get_exit_code=100
+ true
+ sync
+ sync
+ '[' 100 = 0 ']'
+ true 'ERROR: As expected, failed again to install whonix-shared-packages-dependencies. (apt_get_exit_code: 100) Trying to diagnose the problem using function parse_apt_get_unmet_dependency...'
+ parse_apt_get_unmet_dependency
+ true 'INFO: Running "dpkg -l | grep whonix-shared-packages-dependencies"...'
+ grep whonix-shared-packages-dependencies
+ dpkg -l
+ apt-cache policy whonix-shared-packages-dependencies
+ local line
+ OIFS=' 	
'
+ NIFS='
'
+ IFS='
'
+ set +x
+ IFS=' 	
'
+ error 'See above!'
./build-steps.d/1700_install-meta-packages: line 146: error: command not found
++ error_handler_unchroot_unprevent_unmount
++ error_handler_shared
++ last_exit_code=127
++ last_bash_command='error "See above!"'
++ '[' test -o xtrace = 0 ']'
++ set +x
ERROR in ./build-steps.d/1700_install-meta-packages 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='101 pre'
++ last_script=./build-steps.d/1700_install-meta-packages
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ '[' true = false ']'
++ error_handler_exit
++ '[' true = true ']'
++ abort_or_continue=Continue
++ true '
############################################################
ERROR in ./build-steps.d/1700_install-meta-packages detected! Continue!
(benchmark: 00:00:25)
BASH_COMMAND: error "See above!"
last_exit_code: 127
caller: 101 pre
ERROR in ./build-steps.d/1700_install-meta-packages! Continue!
############################################################
'
++ '[' true = true ']'
++ '[' test -o xtrace = 0 ']'
++ set +x

You have chosen to ignore this error. Your build may be unstable!
This is recommended against unless you know what you are doing. Do not report
bugs, that are a result of this! Please press enter to continue. + exit 1
run-parts: ./build-steps.d/1700_install-meta-packages 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

The first error in ./build-steps.d/1200_create-debian-packages occurs because you didn’t apply Build Documentation: Physical Isolation [click expand] which suggests to use /etc/whonix_buildconfig.d. Skipping that one however would be okay, if the same underlying issue wouldn’t also stop ./build-steps.d/1700_install-meta-packages from working.

To make this work…

To clean your git folder (with caution):

git clean --dry-run -d --force --force
git clean -d --force --force
git reset --hard

Then either use /etc/whonix_buildconfig.d or …/buildconfig.d as per documentation.

Or properly use the environment variable.

export whonix_build_script_skip_verifiable="1" sudo -E ./whonix_build

The -E stands for preserve environment, so that variable can be read by the root user.

If you have any idea on how to improve the documentation on this…

Also in some spots there are error notices of an undefined function in the Whonix code named "error" on specific lines.
This in on purpose - to notify about situations that are considered errors.

DUH!! Obvious dumb mistake in hindsight.

I simply did not commit the source code changes to git and/or also forgot about the “/etc/whonix_buildconfig.d” dynamic configuration directory option that I did read about last week.

I will attempt to correct this human error and report back after running another couple build scenarios.

[quote=“Patrick, post:9, topic:466”]If you have any idea on how to improve the documentation on this…

This in on purpose - to notify about situations that are considered errors.[/quote]

Hmmm…

The way I’m used to handling errors in my own applications is to have (actually existing) error handling functions print out formatted error messages.

What I think I was seeing in “log-bare-metal” was that the “error” function did not exist, yet was being called.

./build-steps.d/1200_create-debian-packages: line 142: error: command not found
./build-steps.d/1700_install-meta-packages: line 146: error: command not found

Seems unconventional to notify of an error by purposely causing yet another error.

But maybe there is good reason for this, such as maybe you’d have to repeat the same full logic code of an extra error handling function in each separate script file, so this way saves on managing LOC/complexity/changes/etc?

A few lines above a “true” should have output the error message.

Indeed. Maybe this can be improved.

Using a non-implemented function “error” is just to provoke either error_handler_general or error_handler_unchroot_unprevent_unmount or error_handler_[…].

Those error_handler_[…] are declared at the beginning of each function. Using the non-implemented function “error” helps to forget about which specific one to call. But well, there are not that many of them, so this could also be done another way.

[quote=“Patrick, post:11, topic:466”]A few lines above a “true” should have output the error message.

Indeed. Maybe this can be improved.[/quote]

Yeah, no big deal. Just seemed odd/unintended, like a potential bug, when I first saw an undeclared function/command being called like this. I hadn’t looked much beyond those individual lines in the scripts when investigating a bit further.

[quote=“Patrick, post:11, topic:466”]Using a non-implemented function “error” is just to provoke either error_handler_general or error_handler_unchroot_unprevent_unmount or error_handler_[…].

Those error_handler_[…] are declared at the beginning of each function. Using the non-implemented function “error” helps to forget about which specific one to call. But well, there are not that many of them, so this could also be done another way.[/quote]

I see… Causing a minor error in order to then trigger a more generalized error handling function to handle the specific build error circumstances.

FYI:

Whonix 8.2 bare metal source build is working fine with VLC pre-install and Skip Verifiable build configuration.

Both Whonix-Gateway and Whonix-Workstation.

Working fine without errors on both VirtualBox and Qubes.

Whoops, I spoke too soon…

Now strangely I’m encountering another fatal build error for Whonix-Gateway 8.2 and Whonix-Workstation 8.2 in Qubes, involving yet another package dependency (liblwres80).

With the Whonix 9 release seemingly coming right around the corner now, and a number of these build issues potentially taken care of, it’s probably wiser to drop my efforts with 8.2 build support and just focus on preparing and moving everything to Qubes + Whonix 9.

If it’s now down to a matter of a few weeks or less for Whonix 9, then that probably makes the most sense at this point.

Yes.

[

8.6.6.7 appears pretty stable… (Only minor things are missing before release (https://github.com/Whonix/Whonix/milestones/Whonix%209).)

[I am wondering if we’re using an ideal method for --install-to-root anyhow. It comes cheep maintenance wise, because it’s basically the build script plus/minus a few if/else. Maybe it would be easier to have (additional / alternative) instructions to install from Whonix’s apt repository. Would be best if we had a dedicated maintainer for --install-to-root / physical isolation.]

[After release of Whonix 9, we need a revamp of Whonix’s Download wiki page, where we somehow appropriately announce the new supported platforms KVM and Qubes. Noting out that they have dedicated maintainers and support forums (so I don’t get private e-mails about them). That they’re in a testers-only phase (and will move to stable as well after more testing). Because Whonix can be used in so many different ways (host operating systems, (non-) virtualizer support) and has so many download options, documenting that amount of information in a usable way will be quite a challenge. I’ve added my thought on the topic to the Dev/Download Wizard - Whonix page. We need to start a joined discussion in the development forum when time comes.]

I’ve now transitioned my focus to preparing Qubes + Whonix 9.

I will be sure to keep the Current Sources (–current-sources) build option in mind for Whonix 9 and beyond.

I would keep this in mind for my own personal machine. However, probably too cumbersome for a standardized public install guide.

But hopefully Whonix 9 and other workarounds will prevent individuals needing to modify the git source when building.

I’m going to be testing 8.6.6.7 out now.

I haven’t been able to dive into the Whonix source code yet. At some point I plan to. Initially for security review (although I’m not a true expert at code-level security). Then at some point I’ll start getting a sense of how the Whonix code is structured and flows, and maybe be able to help improve upon it.

Yes, while I personally like building Whonix from source code, I could see this [installing on top of a Debian OS using Whonix APT repo option] being a useful alternative that sits kind of “between” a monolithic binary image download and installing from git source code.

For what its worth, I am now testing this inside of Qubes. When I run into problems in Qubes, I do a baseline test in VirtualBox to figure out if it is Qubes-specific or not. So, while not the level of a dedicated maintainer for VB or PI, hopefully I will now be able to at least offer some greater exposure to bugs that would arise here with --install-to-root.

Yes. This will be cool. I had similar thoughts, about a month ago, for the concept of an integrated Download page/explanation, since Whonix has expanded to greater customization and modularity for how it can be implemented by people.

[quote=“WhonixQubes, post:16, topic:466”][quote author=Patrick link=topic=488.msg4011#msg4011 date=1410720657]

  • What could alternatively also work though is updating the frozen sources, committing to git, creating a new git tag, checking out that new git tag and building that version.
    [/quote]

I would keep this in mind for my own personal machine. However, probably too cumbersome for a standardized public install guide.[/quote]
Agreed. But if this works on a personal machine, we could also release a new git tag. The troublesome part is just the maintenance burden. Posting a new blog post about this minor update? And explaining it. Or could we just add the fixed git tag to build documentation and not mention it elsewhere?

Yeah, I guess I have a natural symmetry-based tendency to want to avoid supporting two different versions at once between binary images and source code. Although, if it becomes necessary to keep the source code buildable without a better workaround, then I’d be fine with this.

If we were to do this, as far as the publishing you mentioned, I don’t mind either way. I’d obviously update the Qubes page. The recommended git tag on the general build docs might want to be updated too (if applicable beyond Qubes, so that it would work again for people). Beyond that, whatever you feel like doing or not doing with announcements and explanations is fine with me.