Got same issue when upgrading to virtualbox 5 on Ubuntu 16.04.
Fix was to uninstall & purge all old virtualbox packages:
# Find your installed old packages with:
sudo dpkg -l | grep virtualbox
# Uninstall all packages listed:
sudo apt-get purge virtualbox-qt virtualbox virtualbox-dkms virtualbox-4.2
virtualbox-4.3 unity-scope-virtualbox
sudo apt-get autoremove
Then, try re-installing the new virtualbox:
sudo apt-get update && sudo apt-get install virtualbox
I was using oracle deb repo packages, but should work for others.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1608208
Title:
package virtualbox 5.0.24-dfsg-0ubuntu1.16.04.1 failed to
install/upgrade: subprocess installed post-installation script
returned error exit status 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1608208/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs