Thank you for explanation. I hope you are right.

On Wed, May 16, 2012 at 2:13 PM, Dave Lentz
<999...@bugs.launchpad.net>wrote:

> linux-headers-generic should be installed by default, so you removed it
> at some time. This is not a flaw with dkms.
>
> Thanks.
>
> ** Changed in: dkms (Ubuntu)
>       Status: New => Invalid
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/999924
>
> Title:
>  VirtualBox says that kernel headers not installed
>
> Status in “dkms” package in Ubuntu:
>   Invalid
>
> Bug description:
>  Update Manager pops and installs the latest kernel image
> (linux-image-generic, 2.6.38.15.30).
>  In my system I have VirtualBox (virtualbox-4.1,
> 4.1.12-77245~Ubuntu~natty). After the first reboot I get the following
> error message in window from VirtualBox:
>  {
>  Kernel driver not installed (rc=-1908)
>
>  The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or
>  there is a permission problem with /dev/vboxdrv. Please reinstall the
>  kernel module by executing
>
>  '/etc/init.d/vboxdrv setup'
>
>  as root. If it is available in your distribution, you should install the
> DKMS package first. This package keeps track of Linux kernel changes and
> recompiles the vboxdrv kernel module if necessary.
>  }
>
>  I tried to run suggested command 'sudo /etc/init.d/vboxdrv setup', and I
> got:
>  {
>   * Stopping VirtualBox kernel modules
>  [ OK ]
>   * Uninstalling old VirtualBox DKMS kernel modules
> [ OK ]
>   * Trying to register the VirtualBox kernel modules using DKMS
>  Error! Your kernel headers for kernel 2.6.38-15-generic cannot be found at
>  /lib/modules/2.6.38-15-generic/build or
> /lib/modules/2.6.38-15-generic/source.
>
>   * Failed, trying without DKMS
>   * Recompiling VirtualBox kernel modules
>   * Look at /var/log/vbox-install.log to find out what went wrong
>  }
>
>  So headers are not updated. No problem I can do this by hand with 'sudo
> apt-get install linux-headers-2.6.38-15', and after this I get:
>  {
>  $sudo /etc/init.d/vboxdrv setup
>   * Stopping VirtualBox kernel modules
>  [ OK ]
>   * Uninstalling old VirtualBox DKMS kernel modules
> [ OK ]
>   * Trying to register the VirtualBox kernel modules using DKMS
> [ OK ]
>   * Starting VirtualBox kernel modules
>  [ OK ]
>  }
>
>  But it's annoying. Please auto-install headers for new kernel image if
>  there are any DKMS modules.
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 11.04
>  Package: dkms 2.1.1.2-5ubuntu1
>  ProcVersionSignature: Ubuntu 2.6.38-15.59-generic 2.6.38.8
>  Uname: Linux 2.6.38-15-generic x86_64
>  Architecture: amd64
>  CheckboxSubmission: a3c9de473bf7a483a92609c6b20d2aee
>  CheckboxSystem: b633b4f40868d491c2ae5b50030ce6f3
>  Date: Wed May 16 00:29:01 2012
>  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64
> (20100429)
>  PackageArchitecture: all
>  ProcEnviron:
>   LANGUAGE=en_US:en
>   PATH=(custom, user)
>   LANG=en_US.UTF-8
>   SHELL=/bin/bash
>  SourcePackage: dkms
>  UpgradeStatus: Upgraded to natty on 2011-05-01 (379 days ago)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/999924/+subscriptions
>

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/999924

Title:
  VirtualBox says that kernel headers not installed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dkms/+bug/999924/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to