Pine64 install problems

Hi All
I’m installing dietpi on a Pine 64 and am getting some errors installing additional software using the Dietpi-software gump. Im Trying to install a desktop environment and i get this error " mw: cannot stat ‘/usr/local/lib/libump*’ no such file or directory "

thanks for any help (I’m new to this :slight_smile: )

Many thanks for your report. There should have been a package installed that contains these files, but even if, moving them to the other location should not be required actually. When you face that error prompt, please try to replace the command with the word “true” to proceed. I’ll verify and fix that with next DietPi release.

Thanks that worked.

I just finish install the new fresh version of dietpi on Pine64 it works much better. BUT i do not have the bluetooth device working
Here is the terminal view of the commands I have tired https://pastebin.pl/view/4ccd642d

Now this is after I have installed libusb-0.1.4

root@DietPi:~# python3 --version
Python 3.7.3
root@DietPi:~# pip3 --version
pip 21.2.4 from /usr/local/lib/python3.7/dist-packages/pip (python 3.7)
root@DietPi:~# sudo apt-get install libssl1.0.0 libusb-0.1-4 libpython3.7-dev

E: Package 'libssl1.0.0' has no installation candidate

SO I skipped it

root@DietPi:~# sudo apt-get install libusb-0.1-4 libpython3.7-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libpython3.7-dev is already the newest version (3.7.3-2+deb10u3).
libpython3.7-dev set to manually installed.
The following NEW packages will be installed:
  libusb-0.1-4
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.

The libssl should not be necessary to install bluetooth should it ?

Bluetooth is not turned ON in my Diet-pi https://ibb.co/0GHQR8j

You don’t need to install libSSL manually. It is pre-installed as essential component on all DietPi images. We try to be as light as possible, but without libSSL/OpenSSL no HTTPS connections were possible via APT cURL etc, so it is practically required.

Since Stretch it would be “libssl1.1” btw.

Did you try to enable Bluetooth via dietpi-config? But there may be a service required to set it up via UART. I’ll have a look later.

Ok thanks I did go into dietpi-config Advance option and turned on Bluetooth now I rfkill can see my bluetooth device
but not bluez it cannot detect it

root@Rajpi:~# bt-adapter -l
No adapters found
root@Rajpi:~# sudo rfkill list
0: phy0: Wireless LAN
        Soft blocked: no
        Hard blocked: no
1: hci0: Bluetooth
        Soft blocked: no
        Hard blocked: no

SO I did check on libssl and even installed it again

root@Rajpi:~# cd /
root@Rajpi:/# sudo find -name libssl
root@Rajpi:/#

I get nothing return on the find so I install libssl1.1 and it is already present but set to install manually
Does that mean it is NOT installed ? How can I install it automatically or manually for that matter

 sudo apt-get install libssl1.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl1.1 is already the newest version (1.1.1d-0+deb10u7).
libssl1.1 set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@Rajpi:/# find -name libssl
root@Rajpi:/#

Still no libssl found ?

Ah lol again wrong. PINE A64 and ROCK64 both don’t have onboard Bluetooth. I misinterpreted the Wiki which mentions the optional USB dongle. So forget about all the above UART attach stuff. I’ll remove the posts to avoid confusion.

In this case something else is missing. Please confirm that its a ROCK64, then I’ll have a closer look at the device tree overlays. The USB port works for storage dongles, right?

It’s not about LibSSL, which is pre-installed as output you posted confirms.

I checked your linked pastbin. Why are you trying to compile sunxi-tools and installed libusb? Both is not required to use USB dongles and and the ROCK64 is not even a sunxi/Allwinner board/SoC. PINE A64 would be. If for some reason you require sunxi-tools, it can be installed from the Armbian repository, no need to compile it.

Back to the USB Bluetooth dongle. Is it detected here?

lsusb

Yea sure here is the information, I am using PineA64 not ROCK64 and I have a bluetooth onboard installed purchase from pinestore https://pine64.com/product/pine64-wifi-802-11bgn-bluetooth-4-0-module/ it has a number 20160321 my guess is it was manufactured in 2016 in March 21st
It did work for Debian OS and Ubuntu 16.04 and here is the thread that was helpful https://forum.pine64.org/showthread.php?tid=2248
but for some reason it does not detect when I use dietpi I have to do some additional script installation in the right sequence.

THIS Particular thread talks about need for OS to have bluetooth driver support https://forum.pine64.org/showthread.php?tid=795
How can I have bluetooth driver support for dietpi using The bluetooth service is working but without the driver for the bluetooth board https://pine64.com/product/pine64-wifi-802-11bgn-bluetooth-4-0-module/ It cannot detect the adapter this is what I get

dietpi@DietPi:~$ bluetoothctl
[bluetooth]# scan on
No default controller available
[bluetooth]# exit
dietpi@DietPi:~$ sudo bluetoothctl scan on
No default controller available
dietpi@DietPi:~$ bluetoothctl agent on
Agent registration enabled
dietpi@DietPi:~$ bluetoothctl power on
No default controller available
dietpi@DietPi:~$ bluetoothctl --version
bluetoothctl: 5.50

Okay, it uses the UART interface it seems. With bluez, there is a command hciattach available, which you should need to run to attach it software-wise, similar like here: https://github.com/MichaIng/DietPi/issues/4804
But I’m not expert with this and not sure which UART interface and which speed it uses. You may simply try it like that and if it does not work, try out some different options. Probably also PINE64 provides some info in their wiki:

hciattach -s 921600 /dev/ttyS0 any 921600 flow