Since I upgraded to 13.04 we have had 3 kernal updates (I think).
After each update, vbox refused to run the client OS because the headers no longer matched. I read somewhere that DKMS would automatically sort things out if it is installed. AFAIK I have installed it but each update I have to spend an hour or so combing through the forums till I find the following magic-three-command fix which has worked every time.
I found these in this thread: http://ubuntuforums.org/showthread.p...kernel+modules
I don't know what these commands are doing or why they work but work they do.
Please can someone explain them for us?
I think the update runs as a superuser and should be able to take care of such things. So, it would also be good to know why they can't be automated.
After each update, vbox refused to run the client OS because the headers no longer matched. I read somewhere that DKMS would automatically sort things out if it is installed. AFAIK I have installed it but each update I have to spend an hour or so combing through the forums till I find the following magic-three-command fix which has worked every time.
Code:
sudo apt-get install linux-headers-$(uname -r)
sudo apt-get remove virtualbox-dkms
sudo apt-get install virtualbox-dkms
I don't know what these commands are doing or why they work but work they do.
Please can someone explain them for us?
I think the update runs as a superuser and should be able to take care of such things. So, it would also be good to know why they can't be automated.