[Linux-wlan-ng-devel] Bug#347797: linux-wlan-ng: postinst dependency on /etc/init.d/pcmcia prevents install

gp mitchell debbug_20060112 at tilion.org
Thu Jan 12 18:55:05 UTC 2006


Package: linux-wlan-ng
Version: 0.2.3-1
Severity: important
Tags: patch

*** Please type your report below this line *** 

The postinst script linux-wlan-ng.postinst fails with exit code 5 if
/etc/init.d/pcmcia exists but package pcmcia-cs is not installed.  I had
previously installed pcmciautils and had removed, but not purged,
pcmcia-cs.  Purging pcmcia-cs enabled linux-wlan-ng to install.  

A simple fix is for linux-wlan-ng.postinst to check for the
presence of pcmciautils and run that instead.

Here is a patch:

--- linux-wlan-ng.postinst	2006-01-12 18:26:34.000000000 +0000
+++ linux-wlan-ng.postinst.new	2006-01-12 18:29:23.000000000 +0000
@@ -14,6 +14,8 @@
 	# Reload pcmcia config files, as this package drops a new one in.
 	if [ -x /etc/init.d/pcmcia ]; then
 		invoke-rc.d pcmcia reload
+	elif [ -x /etc/init.d/pcmciautils ]; then
+		invoke-rc.d pcmciautils reload
 	fi
 
 	# Old version created bogus /dev/nul file.



-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14-2-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages linux-wlan-ng depends on:
ii  libc6                       2.3.5-11     GNU C Library: Shared libraries an
ii  udev                        0.079-1      /dev/ and hotplug management daemo
ii  wireless-tools              27+28pre13-1 Tools for manipulating Linux Wirel

Versions of packages linux-wlan-ng recommends:
pn  linux-wlan-ng-0.2.3-1-modules <none>     (no description available)
pn  linux-wlan-ng-doc             <none>     (no description available)

-- no debconf information





More information about the Linux-wlan-ng-devel mailing list