I have installed Bluez following online directions to use with a Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode). I know the dongle works because it is perfect on my Windows device.
When I run lsusb
I can see my Bluetooth dongle.
Bus 001 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
When I run systemctl start bluetooth
Failed to start bluetooth.service: Unit bluetooth.service failed to load properly, please adjust/correct and reload service manager: File exists
See system logs and 'systemctl status bluetooth.service' for details.
When I run systemctl status bluetooth.service
○ bluetooth.service - Bluetooth service
Loaded: error (Reason: Unit bluetooth.service failed to load properly, please adjust/correct and reload service manager: File exists)
Active: inactive (dead)
Docs: man:bluetoothd(8)
bluetooth.service: Two services allocated for the same bus name org.bluez, refusing operation.
I've tried removing BlueZ with no success using sudo apt remove bluez pulseaudio-module-bluetooth blueman
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'blueman' is not installed, so not removed
Package 'pulseaudio-module-bluetooth' is not installed, so not removed
The following packages will be REMOVED:
bluez
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 3,759 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 1257563 files and directories currently installed.)
Removing bluez (5.64-0ubuntu1) ...
Failed to stop bluetooth.service: Unit bluetooth.service not loaded.
invoke-rc.d: initscript bluetooth, action "stop" failed.
dpkg: error processing package bluez (--remove):
installed bluez package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
Failed to start bluetooth.service: Unit bluetooth.service failed to load properly, please adjust/correct and reload service manager: File exists
See system logs and 'systemctl status bluetooth.service' for details.
invoke-rc.d: initscript bluetooth, action "start" failed.
○ bluetooth.service - Bluetooth service
Loaded: error (Reason: Unit bluetooth.service failed to load properly, please adjust/correct and reload service manager: File exists)
Active: inactive (dead)
Docs: man:bluetoothd(8)
bluetooth.service: Two services allocated for the same bus name org.bluez, refusing operation.
And with sudo dpkg -r --force-all bluez
(Reading database ... 1257563 files and directories currently installed.)
Removing bluez (5.64-0ubuntu1) ...
Failed to stop bluetooth.service: Unit bluetooth.service not loaded.
invoke-rc.d: initscript bluetooth, action "stop" failed.
dpkg: error processing package bluez (--remove):
installed bluez package pre-removal script subprocess returned error exit status 1
Failed to start bluetooth.service: Unit bluetooth.service failed to load properly, please adjust/correct and reload service manager: File exists
See system logs and 'systemctl status bluetooth.service' for details.
invoke-rc.d: initscript bluetooth, action "start" failed.
○ bluetooth.service - Bluetooth service
Loaded: error (Reason: Unit bluetooth.service failed to load properly, please adjust/correct and reload service manager: File exists)
Active: inactive (dead)
Docs: man:bluetoothd(8)
bluetooth.service: Two services allocated for the same bus name org.bluez, refusing operation.
dpkg: error while cleaning up:
installed bluez package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
bluez
Finally, systemctl restart bluetooth.service
also did not work
Failed to restart bluetooth.service: Unit bluetooth.service failed to load properly, please adjust/correct and reload service manager: File exists
See system logs and 'systemctl status bluetooth.service' for details.
I am overall just very stuck.