** Changed in: bcmwl (Ubuntu Natty)
       Status: New => In Progress

** Changed in: bcmwl (Ubuntu Natty)
     Assignee: (unassigned) => Luke Yelavich (themuso)

** Description changed:

+ SRU information for this bug:
+ 
+ Rationale
+ The pre-removal script assumes that there are instances of the bcmwl module 
installed in the dkms tree prior to removal. In most cases this would be true, 
but there are instances, such as in this bug, where the bcmwl module is not in 
the tree, likely due to something the user has done. This stable update checks 
to make sure there are instances of the module to remove before actually doing 
so, making sure the package is removable in all circumstances.
+ 
+ Impact
+ This bug is likely to affect a low number of users, but does guard against 
further breakage should something on a user's system break in the meantime.
+ 
+ Regression potential
+ The regression potential is low to none, given that an extra check is added.
+ 
+ How to reproduce (can be done on any system, even one without broadcom 
wireless hardware)
+ 1. Install the bcmwl-kernel-source package.
+ 2. Remove the module from the dkms tree using "sudo dkms remove -m bcmwl -v 
5.100.82.38+bdcom --all
+ 3. Remove the bcmwl-kernel-source package.
+ 
+ You should get the error that the original bug reporter described.
+ 
+ Once the updated package is installed, you should be able to follow the
+ above steps and receive no error.
+ 
+ Original bug report follows:
+ 
  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)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

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

Reply via email to