I recently upgraded Ubuntu from 14.04 to 15.04 and from my understanding vivid uses linux 3.19.0-16-generic kernal. However, when I use:
It says I'm using 3.16.0-46-generic.
This is a problem because when I am trying to execute:
sudo /etc/init.d/vboxadd setup
it fails. The log reveals that kernal headers for kernal 3.16.0-46-generic cannot be found. After I tried to install these headers using
sudo apt-get install build-essential linux-headers-$(uname -r)
sudo aptitude install linux-headers-3.16.0-46-generic
Package 'linux-headers-3.16.0-46-generic' has no installation candidate.
I've tried adding sources from the trusty-updates' linux-headers pages, but that doesn't work. Any idea on what is the issue and how to fix it?