Package: firmware-b43-installer
Version: 1:019-1
Severity: serious

Dear Maintainer,

On a dist-upgrade to jessie the network is not up at the point
firmware-b43-installer.postinst is run, so the wget download fails.
The script contains code that is supposed to ignore the error and exit
0 (success) in this case:

wget --timeout=60
http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
if [ $? -ne 0 ]; then
    echo "Some problem occurred during the firmware download. Please
check your internet connection."
    exit 0

Unfortunately this code does not work; because of the "set -e" at the
start of the firmware-b43-installer.postinst, the wget failure causes
the script to immediately exit and return an error code. The "if [ $?
-ne 0 ]" check is never reached.

The exact error in term.log is:

Setting up firmware-b43-installer (1:019-1) ...
No chroot environment found. Starting normal installation
--2015-03-30 19:13:27--
http://www.lwfinger.com/b43-firmware/broadcom-wl-5.100.138.tar.bz2
Resolving www.lwfinger.com (www.lwfinger.com)... failed: Name or
service not known.
wget: unable to resolve host address ‘www.lwfinger.com’
dpkg: error processing package firmware-b43-installer (--configure):
 subprocess installed post-installation script returned error exit status 4
...
Errors were encountered while processing:
 firmware-b43-installer


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to