Try to install the packages that VirtualBox needs to run.
Install them using Terminal (Ctrl-Alt-T) following these commands (press enter after each one).
sudo apt-get install virtualbox-dkms
When it asks you to continue or not, press "y" (for yes) and then press Enter.
Do the same with
sudo apt-get install linux-headers-generic
Note: Before continuing with the second command (linux-headers-generic), check if there are any updates for the headers for your Linux distribution. Because if you install the wrong headers, your system will be most likely unable to boot the OS. For example: if you install Linux Mint headers in Ubuntu, you will have the wrong headers and your OS probably won't boot. VirtualBox displays this (linux-headers-generic) because the source code base is for all Linux distributions.
Question: What Linux distribution and what version of it are you using? (e.g.: Ubuntu 14.04 Trusty Tahr) This will help lots of users to determine the problem especially for your distribution. Also because the (VirtualBox) final code is different for every distribution.
Reading state information... Done E: Unable to locate package virtualbox-5.1_5.1.22-115126~Ubuntu~yakkety_i386.deb E: Couldn't find any package by glob 'virtualbox-5.1_5.1.22-115126~Ubuntu~yakkety_i386.deb' E: Couldn't find any package by regex 'virtualbox-5.1_5.1.22-115126~Ubuntu~yakkety_i386.deb' But i did find it in my ls ... – Warriorn Jun 21 '17 at 19:33