#579773 bluez: package does not install b/c of "no such device"

Package:
bluez
Source:
bluez
Description:
Bluetooth tools and daemons
Submitter:
arne anka
Date:
2010-08-09 18:39:03 UTC
Severity:
normal
#579773#5
Date:
2010-04-30 17:16:21 UTC
From:
To:
today's update updates bluez, but that fails with
Setting up bluez (4.63-1) ...
Creating device nodes ...
Reloading system message bus config...done.
insserv: warning: current start runlevel(s) (3 4 5) of script
`bluetooth' overwrites defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 6) of script
`bluetooth' overwrites defaults (0 1 6).
insserv: warning: current stop runlevel(s) (0 1 6) of script
`nvidia-glx' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (0 1 2 6) of script
`nvidia-kernel' overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (S) of script `guarddog'
overwrites defaults (empty).
insserv: warning: current stop runlevel(s) (2 3 4 5) of script `ssh'
overwrites defaults (empty).
Starting bluetooth:rfkill unlock bluetooth: bluetoothdCan't get device
info: No such device
invoke-rc.d: initscript bluetooth, action "start" failed.
dpkg: error processing bluez (--configure):
 subprocess installed post-installation script returned error exit
status 1
dpkg: dependency problems prevent configuration of bluetooth:
 bluetooth depends on bluez; however:
  Package bluez is not configured yet.
dpkg: error processing bluetooth (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bluez-alsa:
 bluez-alsa depends on bluez; however:
  Package bluez is not configured yet.
dpkg: error processing bluez-alsa (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bluez-gstreamer:
 bluez-gstreamer depends on bluez; however:
  Package bluez is not configured yet.
dpkg: error processing bluez-gstreamer (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of bluez-audio:
 bluez-audio depends on bluez-alsa (>= 4); however:
  Package bluez-alsa is not configured yet.
 bluez-audio depends on bluez-gstreamer (>= 4); however:
  Package bluez-gstreamer is not configured yet.
dpkg: error processing bluez-audio (--configure):
 dependency problems - leaving unconfigured


my laptop does not have included bluetooth but a dongle, which is not
connected all the time -- i guess, that's what makes the script stumble.

the install script should fail graciously, not taking the bt dongle's
existence (and thus the initscript's successful invocation) for granted.

#579773#10
Date:
2010-08-09 18:28:25 UTC
From:
To:
this bug still exists and is mayor annoyance.
it really shouldn't be to hard to mak the install script ignore a
non-existent bt-dongle.
after all, most devices with built-in bt allow to disable it b/c of
power saving or privacy reasons.
the package should therefore be prepared to meet a non-existent bt
device and install nevertheles cleanly!