package update of bluez 4.98-2ubuntu7 (Precise) to 4.101-0ubuntu10 (Trusty) fails
Bug #1301962 reported by
Michael Schaller
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bluez (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
During an upgrade of a vanilla Precise install to Trusty I've encountered already twice this issue:
$ sudo dpkg --configure bluez
Setting up bluez (4.101-0ubuntu10) ...
reload: Method "Reload" with signature "" on interface "com.ubuntu.
invoke-rc.d: initscript dbus, action "force-reload" failed.
start: Job failed to start
invoke-rc.d: initscript bluetooth, action "start" failed.
dpkg: error processing package bluez (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
bluez
To post a comment you must log in.
The problematic part is in the bluez postinst script: d/bluetooth" ] || [ -e "/etc/init/ bluetooth. conf" ]; then bluetooth. conf" ]; then
# Automatically added by dh_installinit
if [ -x "/etc/init.
if [ ! -e "/etc/init/
update-rc.d bluetooth defaults >/dev/null
fi
invoke-rc.d bluetooth start || exit $?
fi
$ sudo invoke-rc.d bluetooth start ; echo "exit code: $?"
start: Job failed to start
invoke-rc.d: initscript bluetooth, action "start" failed.
exit code: 1
$ sudo /etc/init. d/bluetooth start ; echo "exit code: $?"
* Starting bluetooth [ OK ]
exit code: 0
$ sudo start bluetooth ; echo "exit code: $?"
start: Job failed to start
exit code: 1
So the Upstart job has an issue. Unfortunately after adding 'console output' to the bluetooth Upstart job configuration the job started without issues. Once I encounter this issue again I will further troubleshoot...