On Tue, 2015-09-15 at 16:29 +0530, Ritesh Raj Sarraf wrote:
> 
> So assuming stop_vms never exits clean, the rest of the targets will
> not be executed. And given that the driver unload is in the stop
> target, that may never happen.



set -e

#DEBHELPER#

if [ "$1" = configure ]; then
        # only restart if VirtualBox isn't running
        if test -x /etc/init.d/virtualbox && ! pidof VBoxSVC >
/dev/null; then
                invoke-rc.d virtualbox restart || true
        fi
fi
~                                                                      


I think this may be the problem. This snippet is present in both vbox
and vbox-dkms. So while vbox is upgraded, it triggers it in its
postinst. But vbox-dkms is still not upgraded. Thus this could lead to
version mismatch and failure.

This may be similar to #798527.


So if this root cause is correct, the fix (of adding vbox-dkms
=BinaryVersion to Pre-Depends: of vbox) should work ???

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to