package installation attempts generate error messages about VirtualBox

Asked by Shinda on 2012-05-03

I have a machine that generates the error message below whenever an attempt is made to install a package:

Setting up virtualbox-ose-dkms (3.1.6-dfsg-2ubuntu2) ...
Removing old virtualbox-ose-3.1.6 DKMS files...

Deleting module version: 3.1.6
completely from the DKMS tree.
Loading new virtualbox-ose-3.1.6 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.38-13-generic
Building for architecture i686
Building initial module for 2.6.38-13-generic

Error! Bad return status for module build on kernel: 2.6.38-13-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/virtualbox-ose/3.1.6/build/ for more information.
dpkg: error processing virtualbox-ose-dkms (--configure):
 subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of virtualbox-ose-source:
 virtualbox-ose-source depends on virtualbox-ose-dkms (>= 3.1.6-dfsg-2ubuntu2); however:
  Package virtualbox-ose-dkms is not configured yet.
dpkg: error processing virtualbox-ose-source (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                             Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

There are a couple of problems with this. The first problem is that Virtualbox is installed on the machine and it seems to work the way it should. The second problem is that no matter what package I attempt to install, what you see above is generated.

At the time I began having this problem, I was trying to install Virtualbox. As I stated before, I now have the application installed but the system seems to think it hasn't been installed.

Please walk me through the steps I need to resolve this issue. Thank you!

Question information

English Edit question
Ubuntu virtualbox-ose Edit question
No assignee Edit question
Last query:
Last reply:

Do you have the kernel headers installed?

Shinda (shinda-williams) said : #2

How would I determine if the kernel headers are installed?

Launchpad Janitor (janitor) said : #3

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.