To simply remove the files and directories for older versions in /var/lib/dkms/vboxhost is enough to solve this problem. And it is a bug in VirtualBox instead of Ubuntu. VirtualBox should purge the older dkms files everytime when it is installed or reinstalled.
To simply remove the files and directories for older versions in /var/lib/ dkms/vboxhost is enough to solve this problem. And it is a bug in VirtualBox instead of Ubuntu. VirtualBox should purge the older dkms files everytime when it is installed or reinstalled.