0

I am trying to execute this command:

$ sudo apt-get install build-essential linux-headers-$(uname -r)
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package linux-headers-3.11.0-15-generic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'linux-headers-3.11.0-15-generic' has no installation candidate

===

If I run:

$uname -asr
3.11.0-15-generic #25-Ubuntu SMP Thu Jan 30 17:22:01 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.1 LTS
Release:    14.04
Codename:   trusty

It seems that I have a discrepancy at my Linux installation. Due to this I am not able to run virtualbox and vmware.

Zanna
  • 72,312

1 Answers1

1

In the end I fixed this by downloading and manually installing the headers for the kernel version that uname -r gave me. I used these instructions from ubuntuhandbook.org.

Then I rebooted I choose advanced options in order to change to the correct kernel (from lowlatency to generic).

Finally I was able to install and use virtual box properly.

Zanna
  • 72,312