I guess that at least one virtualbox vm was still running when this bug
occurred, right?

I tried to uninstall the package virtualbox-ose with a still running vm and 
that triggered the same failure as yours.
The failure happens in the prerm script which calls "invoke-rc.d virtualbox-ose 
stop".

So looking at the init script of virtualbox it appears that the function
that is supposed to stop the VMs ( stop_vms() ) uses variables defined
in /etc/default/virtualbox-ose.

In this file, the variable SHUTDOWN_USERS is by default an empty string.
And if left blank, it prevents the function stop_vms to stop any VM.
Could you please confirm that defining this variable with "all" or your 
username only, you are able to uninstall virtualbox-ose even when a vm was 
running?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/745429

Title:
  package virtualbox-ose 4.0.4-dfsg-1ubuntu3 failed to install/upgrade:
  subprocess installed pre-removal script returned error exit status 1

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to