The problem caused by this line:

$ grep update-rc -r /var/lib/dpkg/info/bluez*
/var/lib/dpkg/info/bluez.postinst:              update-rc.d bluetooth defaults 
>/dev/null
/var/lib/dpkg/info/bluez.postrm:        update-rc.d bluetooth remove >/dev/null

If I manually run

$ sudo update-rc.d bluetooth defaults

I get

insserv: Service dbus has to be enabled to start service bluetooth
insserv: exiting now!
update-rc.d: error: insserv rejected the script header

Then I tried
$ sudo update-rc.d dbus defaults

And

$ sudo update-rc.d bluetooth defaults

and after

$ sudo apt-get install -f
$ sudo dpkg --audit

And problem is solved! It was misconfiguration issue, I think.

** Changed in: bluez (Ubuntu)
       Status: New => Invalid

-- 
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/1719283

Title:
  Unable to upgrade bluez to 5.37-0ubuntu5.1 - insserv: Service dbus has
  to be enabled to start service bluetooth

Status in bluez package in Ubuntu:
  Invalid

Bug description:
  Steps to reproduce:
  1. Use Ubuntu 16.04 LTS.
  2. Do apt-get upgrade
  3. Get error

  norbert@norbert-vaio:~$ sudo dpkg --configure -a
  Setting up bluez (5.37-0ubuntu5.1) ...
  insserv: Service dbus has to be enabled to start service bluetooth
  insserv: exiting now!
  update-rc.d: error: insserv rejected the script header
  dpkg: error processing package bluez (--configure):
   subprocess installed post-installation script returned error exit status 1
  Errors were encountered while processing:
   bluez

  Expected results:
  * Bluetooth is working after apt-get upgrade. User is able to install other 
packages.

  Actual results:
  * Bluetooth is not working after apt-get upgrade. User is unable to install 
other packages.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: bluez 5.37-0ubuntu5.1
  ProcVersionSignature: Ubuntu 4.4.0-96.119-generic 4.4.83
  Uname: Linux 4.4.0-96-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  CurrentDesktop: MATE
  Date: Mon Sep 25 12:51:44 2017
  InstallationDate: Installed on 2010-12-05 (2485 days ago)
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
  InterestingModules: rfcomm bnep btusb bluetooth
  MachineType: Sony Corporation VPCF13Z1R
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.4.0-96-generic 
root=UUID=875ba4a2-2d66-45c8-b276-9004a4f2be04 ro init=/sbin/init -v noplymouth 
resume=UUID=347e9507-87b1-431d-b36f-538d190a517f
  SourcePackage: bluez
  UpgradeStatus: Upgraded to xenial on 2017-06-24 (92 days ago)
  dmi.bios.date: 10/20/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: R0190Y9
  dmi.board.asset.tag: N/A
  dmi.board.name: VAIO
  dmi.board.vendor: Sony Corporation
  dmi.board.version: N/A
  dmi.chassis.asset.tag: N/A
  dmi.chassis.type: 10
  dmi.chassis.vendor: Sony Corporation
  dmi.chassis.version: N/A
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvrR0190Y9:bd10/20/2010:svnSonyCorporation:pnVPCF13Z1R:pvrC607OEHZ:rvnSonyCorporation:rnVAIO:rvrN/A:cvnSonyCorporation:ct10:cvrN/A:
  dmi.product.name: VPCF13Z1R
  dmi.product.version: C607OEHZ
  dmi.sys.vendor: Sony Corporation
  hciconfig:
   hci0:        Type: BR/EDR  Bus: USB
        BD Address: C0:CB:38:FA:A7:D5  ACL MTU: 1021:8  SCO MTU: 64:1
        UP RUNNING PSCAN ISCAN 
        RX bytes:541 acl:0 sco:0 events:28 errors:0
        TX bytes:848 acl:0 sco:0 commands:28 errors:0

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bluez/+bug/1719283/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to