Error hciconfig (Bluetooth)

Hello,

I have a raspi 2 with last version of OSMC, i have installed an unofficial add-on for play with some emulator.
now i would like to plug and PS3 controller for play on my favorite game.

i have an error : -bash: hciconfig: command not found

sudo apt-get install bluez:
bluez is already the newest version.

ok …

sudo apt-get install --reinstall bluez:
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 2 not upgraded.
Need to get 0 B/1028 B of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database … 52967 files and directories currently installed.)
Preparing to unpack …/archives/bluez_9.99-9_all.deb …
Unpacking bluez (9.99-9) over (9.99-9) …
Setting up bluez (9.99-9) …

version 9.99-9 ?? very strange…

Anybody can help me ? :slight_smile:

Well
osmc@osmc:~$ dpkg -S /usr/bin/hciconfig
armv7-bluez-osmc: /usr/bin/hciconfig

sudo apt-get install armv7-bluez-osmc

Reading package lists… Done
Building dependency tree
Reading state information… Done
The following NEW packages will be installed:
armv7-bluez-osmc
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
Need to get 0 B/907 kB of archives.
After this operation, 3614 kB of additional disk space will be used.
(Reading database … 52967 files and directories currently installed.)
Preparing to unpack …/armv7-bluez-osmc_5.3.9-1_armhf.deb …
Unpacking armv7-bluez-osmc (5.3.9-1) …
dpkg: error processing archive /var/cache/apt/archives/armv7-bluez-osmc_5.3.9-1_armhf.deb (–unpack):
trying to overwrite ‘/usr/bin/hcidump’, which is also in package bluez-hcidump 5.23-2+b1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for dbus (1.8.20-0+deb8u1) …
Errors were encountered while processing:
/var/cache/apt/archives/armv7-bluez-osmc_5.3.9-1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

You are missing bluez-osmc, not sure how you original install bluez

ok I need to install the osmc bluez package … it’s more clear for me