Comment 6 for bug 776439

Revision history for this message
MadMax (madmax) wrote : Re: [Bug 776439] Re: package bcmwl-kernel-source 5.100.82.38+bdcom-0ubuntu3 failed to install/upgrade: subprocess installed pre-removal script returned error exit status 3

I may have a work around for this.
  My chipset:
09:00.0 Network controller [0280]: Broadcom Corporation BCM4312 802.11b/g
LP-PHY [14e4:4315] (rev 01)

 According to http://help.ubuntu.com/community/WifiDocs/Driver/bcm43x I am
supposed to install bcmwl-kernel-source, which is supposedly installed
already, per apt-get and synaptic... so, i reinstalled it.

~$ sudo apt-get --reinstall install bcmwl-kernel-source
Log started: 2011-05-26 10:04:47
Selecting previously deselected package bcmwl-kernel-source.
(Reading database ... 130285 files and directories currently installed.)
Preparing to replace bcmwl-kernel-source 5.100.82.38+bdcom-0ubuntu3 (using
.../bcmwl-kernel-source_5.100.82.38+bdcom-0ubuntu3_i386.deb) ...
Removing all DKMS Modules

Error! There are no instances of module: bcmwl
5.100.82.38+bdcom located in the DKMS tree.
dpkg: warning: subprocess old pre-removal script returned error exit status
3
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
Unpacking replacement bcmwl-kernel-source ...
Setting up bcmwl-kernel-source (5.100.82.38+bdcom-0ubuntu3) ...
Loading new bcmwl-5.100.82.38+bdcom DKMS files...
Building only for 2.6.38-8-generic-pae
Building for architecture i686
Building initial module for 2.6.38-8-generic-pae
Done.

wl.ko:
Running module version sanity check.
 - Original module
   - No original module exists within this kernel
 - Installation
   - Installing to /lib/modules/2.6.38-8-generic-pae/updates/dkms/

depmod.........

DKMS: install Completed.
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-2.6.38-8-generic-pae
Log ended: 2011-05-26 10:06:00

A reboot later, and my card is working!

Hope this helps,

Max
On Thu, May 26, 2011 at 9:25 AM, AJenbo <email address hidden> wrote:

> as fare as i can tell this issues comes from the driver not compiling
> properly for the PAE kernel.
>
> --
> You received this bug notification because you are a direct subscriber
> of a duplicate bug (785503).
> https://bugs.launchpad.net/bugs/776439
>
> Title:
> package bcmwl-kernel-source 5.100.82.38+bdcom-0ubuntu3 failed to
> install/upgrade: subprocess installed pre-removal script returned
> error exit status 3
>
> Status in “bcmwl” package in Ubuntu:
> Triaged
>
> Bug description:
> trying to uninstall bcmwl-kernel-source with apt-get remove
>
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> The following packages will be REMOVED:
> bcmwl-kernel-source
> 0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
> After this operation, 3,367 kB disk space will be freed.
> Do you want to continue [Y/n]?
> (Reading database ... 163429 files and directories currently installed.)
> Removing bcmwl-kernel-source ...
> Removing all DKMS Modules
>
> Error! There are no instances of module: bcmwl
> 5.100.82.38+bdcom located in the DKMS tree.
> dpkg: error processing bcmwl-kernel-source (--remove):
> subprocess installed pre-removal script returned error exit status 3
> Errors were encountered while processing:
> bcmwl-kernel-source
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> ProblemType: Package
> DistroRelease: Ubuntu 11.04
> Package: bcmwl-kernel-source 5.100.82.38+bdcom-0ubuntu3
> ProcVersionSignature: Ubuntu 2.6.38-8.42-generic-pae 2.6.38.2
> Uname: Linux 2.6.38-8-generic-pae i686
> NonfreeKernelModules: nvidia
> AptOrdering: bcmwl-kernel-source: Remove
> Architecture: i386
> Date: Tue May 3 10:46:33 2011
> ErrorMessage: subprocess installed pre-removal script returned error exit
> status 3
> InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386
> (20110427.1)
> SourcePackage: bcmwl
> Title: package bcmwl-kernel-source 5.100.82.38+bdcom-0ubuntu3 failed to
> install/upgrade: subprocess installed pre-removal script returned error exit
> status 3
> UpgradeStatus: No upgrade log present (probably fresh install)
>
> To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/ubuntu/+source/bcmwl/+bug/776439/+subscribe
>

--
--
Caution: Contents may become habit forming!
http://www.muddiebuddies.net