0

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?

1 Answers1

0

Begin by updating your kernel to the latest version as shown here

Check to insure that your kernel version is correct for your version of Ubuntu with the command uname -r if not, issue the command sudo update-grub and reboot into the most current kernel. Try your vboxadd command again.

Elder Geek
  • 36,752