Package: firmware-b43-installer Version: 1:014-6 Severity: grave Tags: patch
lakeview no % sudo dpkg --configure -a Setting up firmware-b43-installer (1:014-6) ... dpkg: error processing firmware-b43-installer (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: firmware-b43-installer Running the shell script under sh -x produces: lakeview no % sudo sh -x /var/lib/dpkg/info/firmware-b43-installer.postinst configure + set -e + uname -r + cut -d- -f1 + dpkg --compare-versions 2.6.25 gt 3.0.0 + + grep -o 14e4:4320 (rev 03) lspci -n + chip= So basically, the grep is failing, and so under set -e, the script fails. I've tested this theory by doing: lakeview ok % chip=`lspci -n | grep -o "14e4:4320 (rev 03)"` bmc@lakeview:/tmp (2011-08-01/19:15:21)(pts/7)(ac+100%)(failed:1:none) And this causes a failure with error 1 (as you can see by "failed:1"). Adding || true to the end of the line makes it succeed, and I've attached a patch that does that. I've marked this grave since the package fails to install for any b43 user other than those using 14e4:4320 rev 3. -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-1-amd64 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages firmware-b43-installer depends on: ii b43-fwcutter 1:014-6 Utility for extracting Broadcom 43 ii bzip2 1.0.5-6 high-quality block-sorting file co ii wget 1.12-5 retrieves files from the web Versions of packages firmware-b43-installer recommends: ii linux-image-2 2.6.39-3 Linux 2.6.39 for 64-bit PCs ii linux-image-3 3.0.0-1 Linux 3.0.0 for 64-bit PCs ii linux-image-3 3.0.0-1 Linux 3.0.0 for 64-bit PCs, PREEMP ii linux-image-3 3.0.0~rc6-1~experimental.1 Linux 3.0.0-rc6 for 64-bit PCs firmware-b43-installer suggests no packages. -- no debconf information -- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
--- /tmp/firmware-b43-installer.postinst 2011-08-01 19:19:39.427865365 +0000 +++ /var/lib/dpkg/info/firmware-b43-installer.postinst 2011-08-01 19:19:46.000000000 +0000 @@ -38,7 +38,7 @@ } # Fix for BCM4306/3 [14e4:4320] (rev 03) -chip=`lspci -n | grep -o "14e4:4320 (rev 03)"` +chip=`lspci -n | grep -o "14e4:4320 (rev 03)"` || true if [ "$chip" ] ; then echo "Your card is BCM4306/3 [14e4:4320] (rev 03), firwmare 5.10.56.27.3 will be used" latest_firmware
signature.asc
Description: Digital signature