[Bug 293109] Re: Purging virtualbox-ose after installation of virtualbox-2.0 fails: update-rc.d: /etc/init.d/vboxdrv exists during rc.d purge

Daniel Hahler launchpad at thequod.de
Thu Nov 27 20:31:43 UTC 2008


** Description changed:

  Binary package hint: virtualbox-ose
  
  1. Install virtualbox-ose (2.0.4-dfsg-0ubuntu1)
  2. Install virtualbox-2.0 (2.0.4-38406_Ubuntu_intrepid) from download.virtualbox.org intrepid main
  	virtualbox-ose is now removed
  3. Purge virtualbox-ose
  	error message appears
  
- The errors are follow:
+ ERROR:
  (Reading database ... 110951 files and directories currently installed.)
  Removing virtualbox-ose ...
  Purging configuration files for virtualbox-ose ...
  update-rc.d: /etc/init.d/vboxdrv exists during rc.d purge (use -f to force)
  dpkg: error processing virtualbox-ose (--purge):
   subprocess post-removal script returned error exit status 1
  Errors were encountered while processing:
   virtualbox-ose
+ 
+ WORKAROUND:
+ As a quick and dirty workaround open /var/lib/dpkg/info/virtualbox-ose.postrm as root in your favorite editor and insert a # at the beginning of the lines
+  if [ "$1" = "purge" ] ; then
+         update-rc.d vboxdrv remove >/dev/null || exit $?
+  fi
+ 
+ So they should become
+  # if [ "$1" = "purge" ] ; then
+  # update-rc.d vboxdrv remove >/dev/null || exit $?
+  # fi
+ 
  
  ProblemType: Package
  Architecture: amd64
  Dependencies:
   
  DistroRelease: Ubuntu 8.10
  ErrorMessage: subprocess post-removal script returned error exit status 1
  Package: virtualbox-ose None
  SourcePackage: virtualbox-ose
  Title: package virtualbox-ose None failed to install/upgrade: subprocess post-removal script returned error exit status 1
  Uname: Linux 2.6.27-7-generic x86_64

-- 
Purging virtualbox-ose after installation of virtualbox-2.0 fails: update-rc.d: /etc/init.d/vboxdrv exists during rc.d purge
https://bugs.launchpad.net/bugs/293109
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list