This question already has an answer here:
I have recently upgraded OS to 14.10 from 14.04. I am facing issue with Flash Plug-ins. My default browser is Chromium but i am not getting suitable plug-ins for this browser.
I tried installing flash using following command but its not working.
sudo apt-get purge flashplugin-installer
This was the error code :-
dpkg: error processing package virtualbox-dkms (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Errors were encountered while processing: virtualbox virtualbox-dkms E: Sub-process /usr/bin/dpkg returned an error code (1)