← Back to team overview

kernel-packages team mailing list archive

[Bug 1301962] Re: package update of bluez 4.98-2ubuntu7 (Precise) to 4.101-0ubuntu10 (Trusty) fails

 

The problematic part is in the bluez postinst script:
# Automatically added by dh_installinit
if [ -x "/etc/init.d/bluetooth" ] || [ -e "/etc/init/bluetooth.conf" ]; then
	if [ ! -e "/etc/init/bluetooth.conf" ]; then
		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...

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to bluez in Ubuntu.
https://bugs.launchpad.net/bugs/1301962

Title:
  package update of bluez 4.98-2ubuntu7 (Precise) to 4.101-0ubuntu10
  (Trusty) fails

Status in “bluez” package in Ubuntu:
  New

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.Upstart0_6.Instance" doesn't exist

  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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1301962/+subscriptions


References