Unmet dependencies - bluetooth related

hi all,

wondering if someone can recommend a fix.

a few days ago I was playing with bluetooth packages due to issues, was in a bit of a hurry don’t recall seeing any error messages, but clearly there was. didnt think much of it at the time. recently tried to install telnet client, but getting the following which is having an affect on updates, etc.

osmc@osmc-gee:~$ sudo apt-get install telnet
Reading package lists… Done
Building dependency tree
Reading state information… Done
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
blueman : Depends: obexd-client (>= 0.47) but it is not installable or
bluez-obexd but it is not going to be installed
Depends: obexd-server (>= 0.47) but it is not installable or
bluez-obexd but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).

then attempted a fix:

osmc@osmc-gee:~$ sudo apt --fix-broken install
Reading package lists… Done
Building dependency tree
Reading state information… Done
Correcting dependencies… Done
The following additional packages will be installed:
bluez-obexd
The following NEW packages will be installed:
bluez-obexd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/177 kB of archives.
After this operation, 377 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database … 73865 files and directories currently installed.)
Preparing to unpack …/bluez-obexd_5.43-2+deb9u1_armhf.deb …
Unpacking bluez-obexd (5.43-2+deb9u1) …
dpkg: error processing archive /var/cache/apt/archives/bluez-obexd_5.43-2+deb9u1_armhf.deb (–unpack):
trying to overwrite ‘/usr/share/dbus-1/services/org.bluez.obex.service’, which is also in package armv7-bluez-osmc 5.43-3
Errors were encountered while processing:
/var/cache/apt/archives/bluez-obexd_5.43-2+deb9u1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

files owned by multiple packages. could try remove armv7-bluez-osmc 5.43-3 and then bluez-obexd and check status, re-install armv7-bluez-osmc 5.43-3 again?
have attempted apt-get install -f & dpkg -configure -a, but ran into the same error.

system is not too customized; transmission/samba from local builds + openvpn. been very stable otherwise.

appreciate the thoughts.

Peace, nacro.

suggest to remove all bluez, obexd and the a2dp package and then only install the a2dp package.

<>
suggest to remove all bluez, obexd and the a2dp package and then only install the a2dp package.
<>

I looked at your answer then revisited my question lol
I then removed blueman after I went through each package to understand wtf they were all doing (or attempting to understand :wink: after removing blueman, things look good again. thanks for your help once again @fzinken