Package: virtualbox-ose
Version: 1.5.4-dfsg-5
Tags: patch

The package is uninstallable if you do not have the 'vboxdrv' kernel
module.

This is caused by "/etc/init.d/virtualbox-ose stop" returning with a
non-zero exit status if the vboxdrv module does not exist:

  case "$1" in
  start)
      # try to insert module but do not fail if not possible
      /sbin/modprobe -q vboxdrv || true
      start
      ;;
  stop)
      stop
      /sbin/modprobe -qr vboxdrv           #### fails
      ;;
  restart)
      restart

Remember that "modprobe -r" returns 0 if you remove a module that exists
(even if it already was unloaded) and will return 1 if you specify a
missing module.

One solution would be to append " || true" to the "modprobe -qr" line.


Regards,

-- 
Chris Lamb, UK                                       [EMAIL PROTECTED]
                                                            GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature

Reply via email to