virtualbox-*-source packages try to build kernel modules even though headers aren't installed

Bug #473334 reported by Erv Bendiks
286
This bug affects 68 people
Affects Status Importance Assigned to Milestone
virtualbox-ose (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: virtualbox-ose

I'm debugging choppy sound in virtualbox(XP) under Karmic.. so..
I just installed the generic kernel pae -physical address extention- rebooted.. fine.
 Start XP in virtualbox.. sound still choppy.
Various forum messages point to pulseaudio and alsa config.. decided to reinstall virtualbox packages to see if they could config the sound drivers. The reinstall crabbed on generic-pae source.. not found.
Ubuntu 9.10, upgraded from 9.04.. free space on disk 11GB, intel dual on an ASUS P5Q SE

ProblemType: Package
Architecture: i386
Date: Tue Nov 3 15:28:55 2009
DistroRelease: Ubuntu 9.10
ErrorMessage: subprocess installed post-installation script returned error exit status 1
Package: virtualbox-ose-guest-source 3.0.8-dfsg-1ubuntu1
PackageArchitecture: all
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic-pae
SourcePackage: virtualbox-ose
Title: package virtualbox-ose-guest-source 3.0.8-dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Uname: Linux 2.6.31-14-generic-pae i686
VirtualBoxOse.ModInfo:

Revision history for this message
Erv Bendiks (erv-bendiks) wrote :
Revision history for this message
Erv Bendiks (erv-bendiks) wrote :

 linux-image-2.6.31-14-generic-pae (2.6.31-14.48) was installed for pae.This pulls in the pae related backports. However the base pae and headers weren't installed. Hmmm.. Just installed that..
{
linux-headers-2.6.31-14-generic-pae (2.6.31-14.48)
linux-headers-generic-pae (2.6.31.14.27)
linux-image-generic-pae (2.6.31.14.27).. and the virtualbox-ose
}
and then the virtualbox-ose install also completed it's remaining work. Excellent installer.
Fine.. but still I still haven't installed the linuxBackPort lbm-generic headers pkg.. so I'll install that and re-install the virtualbox-ose again.

Revision history for this message
Erv Bendiks (erv-bendiks) wrote :

Done.. and the last also included the alsa backports.. and everything installed ok, and the "audio" category in the virtualbox-ose machine "details" tab now opens when clicked and I chose the pulseaudio driver and it works fine.

I'll observe that I had trouble selecting the top level pae packages out of the linux-generic and linux-image-generic packages and their associated child packages listed in synaptic.

User error. Probably a repeatable one. see screenshot. Anyways, bigger fish to fry.

I think this can be closed.

Revision history for this message
Erv Bendiks (erv-bendiks) wrote :

Summarizing..

running the generic kernel.. with 4GB installed 3GB visible, observe: choppy sound in virtualbox XP under Ubuntu 9.10 just after upgrade.

In order to install the alsa backports pkg I chose to install a kernel backports package. I chose the kernel image-pae backports just because of something stated in some forum somewhere that it was beneficial w.r.t audio.. though that's questionable. So..

Installed generic-image-pae
Reinstall of virtualbox choked with kernel headers not found.

Installed the generic-pae pkg and its associated headers pkg.
This cleared the virtual-box glitch for missing headers.

Noticed in synaptic that the kernel image-pae headers hadn't been installed.
Installed them and the alsa backports at the same time.

Reinstalled virtualbox again, went to the virtualbox>machine>details tab and clicked "Audio", selected pulseaudio and now audio works fine in the virtualbox XP box.

I think the 4 GB and the pae (physical address extension) have nothing to do with the choppy audio. Generic kernel backports and headers would probably have worked to solve that. I did stumble over the header files not coming along with the pae kernel-generic and kernel-generic-image pkgs. My user error was installing the pae backports while the base package for pae hadn't been installed yet, or maybe it was that the headers didin't come down automatically with those packages and had to be manually selected and installed using synaptic. Whatever.. it works now.

Revision history for this message
Felix Geyer (debfx) wrote :

You need to install the correct linux-headers-... package.
The command "uname -r" prints the version of the currently running kernel.

Revision history for this message
Ignacio Nieto (nietofarias) wrote : Re: [Bug 473334] Re: package virtualbox-ose-guest-source 3.0.8-dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

I've already did it
thanks!

2009/11/17 Felix Geyer <email address hidden>

> You need to install the correct linux-headers-... package.
> The command "uname -r" prints the version of the currently running kernel.
>
> --
> package virtualbox-ose-guest-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/473334
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
LumpyCustard (orangelumpycustard) wrote : Re: package virtualbox-ose-guest-source 3.0.8-dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

So this is a dependency issue? i.e. depending on the current kernel the correct linux-headers package needs installing?

Revision history for this message
Ignacio Nieto (nietofarias) wrote : Re: [Bug 473334] Re: package virtualbox-ose-guest-source 3.0.8-dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Hi Lumpi
The menu.lst from grub wasn't replaced by the dist-upgrade and as a result I
was running 9.10 with kernel from 9.04
Once I upgraded menu.lst the problem got fixed

Thanks,

Ignacio

2009/11/30 LumpyCustard <email address hidden>

> So this is a dependency issue? i.e. depending on the current kernel the
> correct linux-headers package needs installing?
>
> --
> package virtualbox-ose-guest-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/473334
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Ignacio Nieto (nietofarias) wrote : Re: package virtualbox-ose-guest-source 3.0.8-dfsg-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Hi Lumpi
The menu.lst from grub wasn't replaced by the dist-upgrade and as a result I was running 9.10 with kernel from 9.04
Once I upgraded menu.lst the problem got fixed

Thanks,
Ignacio

How can I close this issue?

Revision history for this message
Theo Nolte (theo-nolte) wrote :

For me, the kernel drivers won't compile on lucid 64 bit. make.log is attached.

Regards, Theo

Felix Geyer (debfx)
Changed in virtualbox-ose (Ubuntu):
status: New → Confirmed
Felix Geyer (debfx)
summary: - package virtualbox-ose-guest-source 3.0.8-dfsg-1ubuntu1 failed to
- install/upgrade: subprocess installed post-installation script returned
- error exit status 1
+ virtualbox-*-source packages try to build kernel modules even though
+ headers aren't installed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox-ose - 3.1.2-dfsg-1ubuntu1

---------------
virtualbox-ose (3.1.2-dfsg-1ubuntu1) lucid; urgency=low

  * Merge from Debian unstable (LP: #498219), remaining changes:
    - Disable update action
      - debian/patches/u01-disable-update-action.dpatch
    - VirtualBox should go in Accessories, not in System tools (LP: #288590)
      - debian/virtualbox-ose-qt.files/virtualbox-ose.desktop
    - Add Apport hook
      - debian/virtualbox-ose.files/source_virtualbox-ose.py
      - debian/virtualbox-ose.install
    - Add Launchpad integration
      - debian/control
      - debian/lpi-bug.xpm
      - debian/patches/u02-lp-integration.dpatch
  * Fixes the following bugs:
    - Kernel module fails to build with Linux >= 2.6.32 (LP: #474625)
    - X.Org drivers need to be rebuilt against X-Server 1.7 (LP: #495935)
    - The *-source packages try to build the kernel modules even though the
      kernel headers aren't available (LP: #473334)
  * Replace *-source packages with transitional packages for *-dkms.
  * Adapt u01-disable-update-action.dpatch and u02-lp-integration.dpatch for
    new upstream version.
 -- Felix Geyer <email address hidden> Fri, 18 Dec 2009 16:44:29 +0100

Changed in virtualbox-ose (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.