hi,
I’m unfortunately running into the next build error This time while building the Workstation VM:
[code]Setting up virtualbox (4.1.18-dfsg-2+deb7u1) …
insserv: script virtualbox: service vboxdrv already provided!
insserv: exiting now!
update-rc.d: error: insserv rejected the script header
dpkg: error processing virtualbox (–configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of virtualbox-dkms:
virtualbox-dkms depends on virtualbox (>= 4.1.18-dfsg-2+deb7u1); however:
Package virtualbox is not configured yet.
dpkg: error processing virtualbox-dkms (–configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of virtualbox-qt:
virtualbox-qt depends on virtualbox (= 4.1.18-dfsg-2+deb7u1); however:
Package virtualbox is not configured yet.
dpkg: error processing virtualbox-qt (–configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
virtualbox
virtualbox-dkms
virtualbox-qt
E: Sub-process /usr/bin/dpkg returned an error code (1)
++ error_handler_general
++ error_handler_shared
++ last_exit_code=100
++ last_bash_command=‘apt-get $apt_timeout_opts $apt_unattended_opts --yes install virtualbox’
++ ‘[’ test -o xtrace = 0 ‘]’
++ set +x
ERROR in ./build-steps.d/1100_prepare-build-machine detected!
Please have a look above “error_handler_general”, note the command that failed, its output and last_exit_code.
- Please enter c and press enter to continue. (Recommended against!)
- Please press enter to cleanup and exit. +++ caller
++ last_caller=‘96 pre’
++ last_script=./build-steps.d/1100_prepare-build-machine
++ rm --force /etc/apt/sources.list.d/whonix_temp.list
++ rm --force /var/run/whonix/package_manager_lock
++ error_handler_exit
++ ‘[’ false = true ‘]’
++ abort_or_continue=Aborted
++ true ‘
############################################################
ERROR in ./build-steps.d/1100_prepare-build-machine detected! Aborted!
(benchmark: 00:17:16)
BASH_COMMAND: apt-get $apt_timeout_opts $apt_unattended_opts --yes install virtualbox
last_exit_code: 100
caller: 96 pre
ERROR in ./build-steps.d/1100_prepare-build-machine! Aborted!
############################################################
’
++ ‘[’ false = true ‘]’
++ exit 1
run-parts: ./build-steps.d/1100_prepare-build-machine exited with return code 1
++ error_handler_build-machine
+++ caller
++ : echo ‘
BASH_COMMAND: run-parts --verbose --exit-on-error ./build-steps.d
ERROR ./whonix_build: | caller: 45 ./whonix_build
’
++ exit 1[/code]
That is to say, I installed Virtualbox-4.3 out of Oracle’s Repositories prior building the Workstation VM (considered this a good idea) and 1100_prepare-build-machine doesn’t seem to like that (at least that is my interpretation of the build error). Isn’t it possible to use Oracle’s packages instead of the Debian packages?
Now, is it possible to clean the mess up. I.e. is there a way around a re-install of the Workstation Host to clean the system and start over?
Also: As a precaution, i.e. avoiding further build errors: I noticed that https://www.whonix.org/wiki/Dev/BuildDocumentation_8 lacks the step https://www.whonix.org/wiki/Physical_Isolation#Install_Basic_Packages from the Physical Isolation build documentation. Is that intentional or is it a documentation mistake?
thanks!