package bluez 5.37-0ubuntu5.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #1716848 reported by Alejandro
34
This bug affects 7 people
Affects Status Importance Assigned to Milestone
bluez (Ubuntu)
Undecided
Unassigned

Bug Description

Bluetooth no working in my laptop. Therefore, it's not possible to detect other devices or transfer archives.

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: bluez 5.37-0ubuntu5.1
ProcVersionSignature: Ubuntu 4.4.0-93.116-generic 4.4.79
Uname: Linux 4.4.0-93-generic i686
ApportVersion: 2.20.1-0ubuntu2.10
Architecture: i386
Date: Wed Sep 13 08:01:25 2017
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-04-10 (520 days ago)
InstallationMedia: Ubuntu 14.04.4 LTS "Trusty Tahr" - Release i386 (20160217.1)
InterestingModules: bnep bluetooth
MachineType: Hewlett-Packard HP Pavilion dv6500 Notebook PC
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-93-generic root=/dev/mapper/ubuntu--vg-root ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.2
 apt 1.2.24
SourcePackage: bluez
Title: package bluez 5.37-0ubuntu5.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to xenial on 2016-12-03 (283 days ago)
dmi.bios.date: 08/17/2007
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: F.22
dmi.board.name: 30CC
dmi.board.vendor: Quanta
dmi.board.version: 79.1D
dmi.chassis.type: 10
dmi.chassis.vendor: Quanta
dmi.chassis.version: N/A
dmi.modalias: dmi:bvnHewlett-Packard:bvrF.22:bd08/17/2007:svnHewlett-Packard:pnHPPaviliondv6500NotebookPC:pvrRev1:rvnQuanta:rn30CC:rvr79.1D:cvnQuanta:ct10:cvrN/A:
dmi.product.name: HP Pavilion dv6500 Notebook PC
dmi.product.version: Rev 1
dmi.sys.vendor: Hewlett-Packard
hciconfig:

Revision history for this message
Alejandro (bercedo) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in bluez (Ubuntu):
status: New → Confirmed
Revision history for this message
Steve Beattie (sbeattie) wrote :

It looks like bluetoothd is failing to restart due to:

Sep 13 08:01:25 agda-HP-Pavilion-dv6500-Notebook-PC bluetoothd[4864]: Bluetooth daemon 5.37
Sep 13 08:01:25 agda-HP-Pavilion-dv6500-Notebook-PC bluetoothd[4864]: D-Bus setup failed: Name already in use
Sep 13 08:01:25 agda-HP-Pavilion-dv6500-Notebook-PC bluetoothd[4864]: Unable to get on D-Bus

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Looking at the logs I see:

Sep 13 07:51:08 agda-HP-Pavilion-dv6500-Notebook-PC audit[1221]: AVC apparmor="STATUS" operation="profile_replace" profile="unconfined" name="snap.bluez.bluetoothctl" pid=1221 comm="apparmor_parser"

This indicates you have the bluez snap installed. This bug is about the bluez deb on your system. You can't have both on the system at the same time because one will fail to start when the other is listening on the well-known DBus name. The failures you list are consistent with this: the snap has claimed the name on the system bus so the deb cannot, and the postinst fails.

Use either the snap or the deb. I suggest you use the deb on classic distro since it has working polkit integration.

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Marking as "Won't Fix" for the bluez deb -- the postinst is doing the right thing, there just happens to be something installed outside of dpkg/apt that is getting in the way.

Changed in bluez (Ubuntu):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers