Thanks for this, I set this as a *fixvm* alias in .bash_aliases and passed the yes argument in addition to concatenating the commands.
Now I just typeCode:alias fixvm='sudo apt-get remove virtualbox-dkms -y && sudo apt-get install virtualbox-dkms -y'and it takes care of it!Code:fixvm
Bookmarks