package bcmwl-kernel-source 5.60.48.36 bdcom-0ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10

Bug #616538 reported by komputes
62
This bug affects 11 people
Affects Status Importance Assigned to Milestone
bcmwl (Ubuntu)
Invalid
Medium
Unassigned
dkms (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

bcmwl-kernel-source fails to install if you have a mainline kernel installed.

Went to jockey or "hardware drivers" and selected to install Brodcom's Proprietary STA driver (for 43xx series wireless cards). A "SystemError: installArchives() failed" error came up and apport prompted me to report this bug.

I was testing a mainline kernel when this happened. Booting into the current kernel and trying to install the driver again gives the same error.

Trying to get back (test1):
- sudo apt-get purge bcmwl-kernel-source
- upon my return to jockey, seem sta is still there byt b43/fwcutter was removed
- attempting to download sta gives same error - SystemError: installArchives() failed

*WORKAROUND*
Trying to get back (test2):
- sudo apt-get purge bcmwl-kernel-source linux-image-2.6.35-020635rc6-generic linux-headers-2.6.35-020635rc6 linux-headers-2.6.35-020635rc6-generic
- reboot
- upon my return to jockey, both sta and b43/fwcutter are there. Installing sta now works.

Expecting: If this is a problem where DKMS thinks it should recompile modules for all kernels, it should simply report that it cannot compile the module for a specific kernel and provide a reason. If there is a way to test mainline kernels and broadcom drivers together, that fix would be ideal.

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: bcmwl-kernel-source 5.60.48.36+bdcom-0ubuntu3
Uname: Linux 2.6.35-020635rc6-generic i686
Architecture: i386
Date: Wed Aug 11 18:04:22 2010
ErrorMessage: subprocess installed post-installation script returned error exit status 10
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate i386 (20100419.1)
SourcePackage: bcmwl
Title: package bcmwl-kernel-source 5.60.48.36+bdcom-0ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 10

Revision history for this message
komputes (komputes) wrote :
Revision history for this message
komputes (komputes) wrote :

$ sudo dpkg --configure -a
Setting up bcmwl-kernel-source (5.60.48.36+bdcom-0ubuntu3) ...
Removing old bcmwl-5.60.48.36+bdcom DKMS files...

------------------------------
Deleting module version: 5.60.48.36+bdcom
completely from the DKMS tree.
------------------------------
Done.
Loading new bcmwl-5.60.48.36+bdcom DKMS files...
First Installation: checking all kernels...
Building only for 2.6.35-020635rc6-generic
Building for architecture i686
Building initial module for 2.6.35-020635rc6-generic

Error! Bad return status for module build on kernel: 2.6.35-020635rc6-generic (i686)
Consult the make.log in the build directory
/var/lib/dkms/bcmwl/5.60.48.36+bdcom/build/ for more information.
dpkg: error processing bcmwl-kernel-source (--configure):
 subprocess installed post-installation script returned error exit status 10
Errors were encountered while processing:
 bcmwl-kernel-source

komputes (komputes)
description: updated
komputes (komputes)
description: updated
Revision history for this message
Micheal Harker (mh0) wrote :
Changed in bcmwl (Ubuntu):
status: New → Confirmed
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

 Thanks for reporting this bug and any supporting documentation. Since this bug has enough information provided for a developer to begin work, I'm going to mark it as confirmed and let them handle it from here. Thanks for taking the time to make Ubuntu better!

Changed in bcmwl (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

I'm unduplicating and adding a task for DKMS because of the suggestion to improve the way dkms handles failures for a specific kernel.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

however the bcmwl error was probably bug 590924 or bug 580594. Are you able to reproduce the error with the latest bcmwl package in 10.10 ?

Changed in bcmwl (Ubuntu):
status: Triaged → Incomplete
affects: dpkg (Ubuntu) → dkms (Ubuntu)
Revision history for this message
komputes (komputes) wrote :

Hello Jean Baptiste,

I think this would always work using a stock kernel distributed through the repositories. The bug was to identify the issue with mainline kernels from the website [1]. Many times, kernel developers and bug squad triage (and even apport) tell you to test the mainline kernel to see if the problem is still an issue.

I can test again on 10.10, but please let me know which mainline kernel you would like me to test with it. If this is definitely a dkms issue and not an issue with the broadcom driver, please invalidate the first package as it may have been an incorrect assumption.

[1] http://kernel.ubuntu.com/~kernel-ppa/mainline/

Revision history for this message
Mario Limonciello (superm1) wrote :

DKMS no longer compiles for "all" kernels. It will only compile for the current kernel and the "newest" kernel.

Changed in dkms (Ubuntu):
status: New → Fix Released
Adam Porter (alphapapa)
Changed in bcmwl (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Michel (mc-mcc) wrote :

i have use a New wifi/bt card and no issue

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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