Public bug reported:

The "stop" action for /etc/init.d/vboxdrv fails, if virtualbox-ose is
not running, because "killall -q VBoxSVC" exits the script (it's "set
-e").

$ LANG=C sudo dpkg -P virtualbox-ose-modules-2.6.22-14-generic
(Reading database ... 306374 files and directories currently installed.)
Removing virtualbox-ose-modules-2.6.22-14-generic ...
 * Stopping VirtualBox kernel module vboxdrv                                    
                                                                                
                                                 invoke-rc.d: initscript 
vboxdrv, action "stop" failed.
dpkg: error processing virtualbox-ose-modules-2.6.22-14-generic (--purge):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 virtualbox-ose-modules-2.6.22-14-generic

The fix is quite simple: just add "|| true" to the line.

** Affects: virtualbox-ose-modules (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"vboxdrv stop" fails, if virtualbox is not running
https://bugs.launchpad.net/bugs/152925
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

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

Reply via email to