I tried to install from the PPA linked above (https://launchpad.net/~costamagnagianfranco/+archive/ubuntu/virtualbox- ppa), but it made things worse. The installation didn't go through. Instead, there's an error message.
Setting up virtualbox-ext-pack (5.1.8-1~ubuntu16.04.1~ppa1) ... virtualbox-ext-pack: downloading: http://download.virtualbox.org/virtualbox/5.1.8/Oracle_VM_VirtualBox_Extension_Pack-5.1.8.vbox-extpack The file will be downloaded into /usr/share/virtualbox-ext-pack /usr/lib/virtualbox/VBoxManage: error while loading shared libraries: VBoxDDU.so: cannot open shared object file: No such file or directory dpkg: error processing package virtualbox-ext-pack (--configure): subprocess installed post-installation script returned error exit status 127 Errors were encountered while processing: virtualbox-ext-pack E: Sub-process /usr/bin/dpkg returned an error code (1) Now Synaptic lists the packages as installed, but they do not run. Removing them also won't work, yielding yet another error message: E: virtualbox-ext-pack: subprocess installed pre-removal script returned error exit status 127 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1629870 Title: Trouble installing mainline kernel 4.8: virtualbox-dkms 5.0.24-dfsg- 0ubuntu1.16.04.1: virtualbox kernel module failed to build To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/virtualbox/+bug/1629870/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs