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:
uname -r
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)
and
sudo aptitude install linux-headers-3.16.0-46-generic
I get:
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?
I have tried apt-get update and apt-get upgrade but they were no use. To me it seems like there may be a bug preventing my upgrade to 15.04 receiving the right kernel. But I'm inexperienced with this so I may be wrong.
– JayyOnline7 Oct 24 '15 at 14:52