[Bug 302860] Re: package virtualbox-ose None failed to install/upgrade: subprocess post-removal script returned error exit status 1
Florian Diesch
diesch at spamfence.net
Thu Nov 27 17:39:17 UTC 2008
Thank you for taking the time to report this bug and helping to make
Ubuntu better.
The interesting lines from the logfile are
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
As both the ose and the non-ose version are using the
/etc/init.d/vboxdrv the update-rc.d remove call fails because the non-
ose /etc/init.d/vboxdrv exists.
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
--
package virtualbox-ose None failed to install/upgrade: subprocess post-removal script returned error exit status 1
https://bugs.launchpad.net/bugs/302860
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