Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 04-11-2011, 10:26 AM   #1
Registered: Dec 2005
Distribution: Debian KDE / Fluxbox
Posts: 222

Rep: Reputation: 46
Unable to use VirtualBox after update

Just updated wheezy 2.6.35-2-amd64 from to 2.6.38-2-amd64 and noticed that virtualbox-3.2 stopped working.

Tried reinstalling using apt-get and shown this error message
Preconfiguring packages ...
Selecting previously deselected package virtualbox-3.2.
(Reading database ... 100104 files and directories currently installed.)
Unpacking virtualbox-3.2 (from .../virtualbox-3.2_3.2.12-68302~Debian~squeeze_amd64.deb) ...
Selecting previously deselected package libsdl-ttf2.0-0.
Unpacking libsdl-ttf2.0-0 (from .../libsdl-ttf2.0-0_2.0.9-1_amd64.deb) ...
Setting up virtualbox-3.2 (3.2.12-68302~Debian~squeeze) ...
addgroup: The group `vboxusers' already exists as a system group. Exiting.
Stopping VirtualBox kernel modules:done..
Uninstalling old VirtualBox DKMS kernel modules:done..
Trying to register the VirtualBox kernel modules using DKMS:
Error! Bad return status for module build on kernel: 2.6.38-2-amd64 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/vboxhost/3.2.12/build/ for more information.

Failed, trying without DKMS ... failed!
Recompiling VirtualBox kernel modules:
Look at /var/log/vbox-install.log to find out what went wrong ... failed!
Setting up libsdl-ttf2.0-0 (2.0.9-1) ...
Processing triggers for python-central ...

Looking at /var/lib/dkms/vboxhost/3.2.12/build/make.log gets
DKMS make.log for vboxhost-3.2.12 for kernel 2.6.38-2-amd64 (x86_64)
Mon Apr 11 23:13:48 SGT 2011
make: Entering directory `/usr/src/linux-headers-2.6.38-2-amd64'
LD /var/lib/dkms/vboxhost/3.2.12/build/built-in.o
LD /var/lib/dkms/vboxhost/3.2.12/build/vboxdrv/built-in.o
CC [M] /var/lib/dkms/vboxhost/3.2.12/build/vboxdrv/linux/SUPDrv-linux.o
In file included from /var/lib/dkms/vboxhost/3.2.12/build/vboxdrv/include/VBox/types.h:30,
from /var/lib/dkms/vboxhost/3.2.12/build/vboxdrv/linux/../SUPDrvInternal.h:35,
from /var/lib/dkms/vboxhost/3.2.12/build/vboxdrv/linux/SUPDrv-linux.c:31:
/var/lib/dkms/vboxhost/3.2.12/build/vboxdrv/include/iprt/types.h:97:31: error: linux/autoconf.h: No such file or directory
make[4]: *** [/var/lib/dkms/vboxhost/3.2.12/build/vboxdrv/linux/SUPDrv-linux.o] Error 1
make[3]: *** [/var/lib/dkms/vboxhost/3.2.12/build/vboxdrv] Error 2
make[2]: *** [_module_/var/lib/dkms/vboxhost/3.2.12/build] Error 2
make[1]: *** [sub-make] Error 2
make: *** [all] Error 2
make: Leaving directory `/usr/src/linux-headers-2.6.38-2-amd64'
and /var/log/vbox-install.log shows
Uninstalling modules from DKMS
Attempting to install using DKMS

Creating symlink /var/lib/dkms/vboxhost/3.2.12/source ->

DKMS: add Completed.

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area....
make KERNELRELEASE=2.6.38-2-amd64 -C /lib/modules/2.6.38-2-amd64/build M=/var/lib/dkms/vboxhost/3.2.12/build....(bad exit status: 2)
Failed to install using DKMS, attempting to install without
Makefile:170: *** Error: /usr/src/linux (version 2.6.38) does not match the current kernel (version 2.6.38-2-amd64). Stop.
Where have I gone wrong?
Old 04-11-2011, 10:31 AM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Did you install the linux-headers-2.6.38-2-amd64 package?
Old 04-12-2011, 03:59 AM   #3
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 984

Rep: Reputation: 47
I have the same problem.
linux-headers-2.6.38-2-amd64 are installed.
Old 04-12-2011, 04:02 AM   #4
LQ Guru
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 12,566

Rep: Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794Reputation: 1794
Have a look here
Old 04-12-2011, 04:14 AM   #5
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 984

Rep: Reputation: 47
I solved my problem by installing virtualbox4.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
VirtualBox , after Fedora 12 update tor.ment0r Linux - Virtualization and Cloud 2 02-03-2010 09:35 AM
LXer: Update: VirtualBox 2.2.0 LXer Syndicated Linux News 0 04-13-2009 05:00 PM
Unable to install Virtualbox on Fedora 10 jaymoney Fedora 5 12-08-2008 02:31 AM
Virtualbox broken after update. custangro Ubuntu 7 06-07-2008 11:41 AM
Red Hat Update Agent freezing, unable to update (FC4) Malakye Fedora 1 12-09-2005 08:02 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 07:17 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration