[Bug 452374] Re: package virtualbox-ose-source 3.0.8-dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

kewerner kewerner at fastmail.fm
Sat Oct 31 20:05:45 UTC 2009


After upgrading to 9.10 from 9.04, VBox stops with errors ("virtualbox-ose-sources" blabla).

When trying to re-install virtualbox-ose-sources, the error message
"cannot detect kernel sources in ../build or ../sources" comes up:

---------------------------------------------

kew at kew-desktop:~$ sudo apt-get install virtualbox-ose-source
Reading package lists... Done
Building dependency tree       
Reading state information... Done
virtualbox-ose-source is already the newest version.
The following packages were automatically installed and are no longer required:
  libsgmls-perl libosp5 docbook-dsssl libsp1c2 libostyle1c2 sp openjade
  sgmlspl ps2eps lacheck
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up virtualbox-ose-source (3.0.8-dfsg-1ubuntu1) ...
Adding modules to DKMS build system
Doing initial module builds

Error! Your kernel source for kernel 2.6.31-14-generic cannot be found at
/lib/modules/2.6.31-14-generic/build or /lib/modules/2.6.31-14-generic/source.
dpkg: error processing virtualbox-ose-source (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up virtualbox-ose-guest-source (3.0.8-dfsg-1ubuntu1) ...
Adding Module to DKMS build system
Doing initial module build

Error! Your kernel source for kernel 2.6.31-14-generic cannot be found at
/lib/modules/2.6.31-14-generic/build or /lib/modules/2.6.31-14-generic/source.
dpkg: error processing virtualbox-ose-guest-source (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 virtualbox-ose-source
 virtualbox-ose-guest-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

---------------------------------------------
Now trying again, after installing the linux-headers-rt package.

Bang, same error message again while doing apt-get install linux-headers-rt:
---------------------------------------------

Selecting previously deselected package linux-rt-headers-2.6.31-9.
(Reading database ... 170587 files and directories currently installed.)
Unpacking linux-rt-headers-2.6.31-9 (from .../linux-rt-headers-2.6.31-9_2.6.31-9.152_all.deb) ...
Selecting previously deselected package linux-headers-2.6.31-9-rt.
Unpacking linux-headers-2.6.31-9-rt (from .../linux-headers-2.6.31-9-rt_2.6.31-9.152_amd64.deb) ...
Selecting previously deselected package linux-headers-rt.
Unpacking linux-headers-rt (from .../linux-headers-rt_2.6.31.9.10_amd64.deb) ...
Setting up linux-rt-headers-2.6.31-9 (2.6.31-9.152) ...
Setting up linux-headers-2.6.31-9-rt (2.6.31-9.152) ...
Examining /etc/kernel/header_postinst.d.
run-parts: executing /etc/kernel/header_postinst.d/nvidia-common

Setting up virtualbox-ose-source (3.0.8-dfsg-1ubuntu1) ...
Adding modules to DKMS build system
Doing initial module builds

Error! Your kernel source for kernel 2.6.31-14-generic cannot be found at
/lib/modules/2.6.31-14-generic/build or /lib/modules/2.6.31-14-generic/source.
dpkg: error processing virtualbox-ose-source (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up virtualbox-ose-guest-source (3.0.8-dfsg-1ubuntu1) ...
Adding Module to DKMS build system
Doing initial module build

Error! Your kernel source for kernel 2.6.31-14-generic cannot be found at
/lib/modules/2.6.31-14-generic/build or /lib/modules/2.6.31-14-generic/source.
dpkg: error processing virtualbox-ose-guest-source (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up linux-headers-rt (2.6.31.9.10) ...
Errors were encountered while processing:
 virtualbox-ose-source
 virtualbox-ose-guest-source
E: Sub-process /usr/bin/dpkg returned an error code (1)

-- 
package virtualbox-ose-source 3.0.8-dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
https://bugs.launchpad.net/bugs/452374
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list