Oracle Virtual Box Kernel driver not installed (rc=-1908)

To solve this problem run this script as root:

#!/bin/bash
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms