I'm trying to get a bluetooth keyboard paired via terminal in Ubuntu Touch (see here for more details). For this purpose, I need the executable bluetoothctl
, which appears to be provided by BlueZ 5 (as opposed to BlueZ 4).
I have tried installing BlueZ 5 on desktop and it caused many problems with the package manager and nuked the sound of the computer (forcing a purge of BlueZ 5 and reinstalling BlueZ 4 fixed things). I have tried installing BlueZ 5 on my Ubuntu phone (Aquaris E4.5) and it bricked it (necessitating a reflash), so I'm really not sure how I should try to install this. What I've tried to do is as follows:
sudo apt-get remove bluez
sudo add-apt-repository ppa:vidplace7/bluez5
sudo apt-get update
sudo apt-get install bluez bluez-tools
I note that others appear to be seeing problems with BlueZ 5 also.
What should I do instead?
On desktop, I am using Ubuntu 14.04 LTS and on phone, I am using Ubuntu 15.04 – armhf (20151118-205525).
Best Answer
I would try a Live version of Ubuntu 15.10 as it has Bluez 5 and see if it functions to your liking using the "Try without Installing Ubuntu" option