Bluetooth Monitoring application (Part 2)

Related to this topic: Bluetooth monitoring

I want to install it on another Vero4K OSMC device. I’m trying the same as the last time but get stuck on this command:

sudo apt-get install -f libmosquitto-dev mosquitto mosquitto-clients libmosquitto1
osmc@osmc2:~/monitor$ sudo apt-get install -f libmosquitto-dev mosquitto mosquitto-clients libmosquitto1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libmosquitto1 : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is to be installed
 mosquitto : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is to be installed
E: Unable to correct problems, you have held broken packages.

How and is it safe to install the latest libc6?
Or is the error related to the previous command I ran where I also got an error:

osmc@osmc2:~/monitor$ sudo apt-get update
Ign:1 http://ftp.debian.org/debian stretch InRelease
Hit:2 http://ftp.debian.org/debian stretch-updates InRelease
Hit:3 http://security.debian.org stretch/updates InRelease
Hit:4 http://ftp.debian.org/debian stretch Release
Hit:5 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
Get:6 https://repo.mosquitto.org/debian buster InRelease [11.0 kB]
Get:8 https://repo.mosquitto.org/debian buster/main armhf Packages [15.8 kB]
Get:9 https://repo.mosquitto.org/debian buster/main all Packages [2132 B]
Fetched 28.9 kB in 2s (12.0 kB/s)
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-arm64/Packages' as repository 'https://repo.mosquitto.org/debian buster InRelease' doesn't support architecture 'arm64'

Or do I need to run this maybe first?
sudo apt-get upgrade -y
sudo apt-get dist-upgrade -y

Website from where I copied the commands: GitHub - andrewjfreyer/monitor: Distributed advertisement-based BTLE presence detection reported via mqtt

Any help would be appreciated!

Seems to be the wrong architecture.
You would want an armhf version, if available.

Sam

UPDATE: I think I got it.
I changed sudo wget http://repo.mosquitto.org/debian/mosquitto-buster.list
to be: sudo wget http://repo.mosquitto.org/debian/mosquitto-stretch.list
and now it installed!

Yeah I run into that the last time (2018) as well but I can’t remember and didn’t write down how I fixed that :frowning:

Actually I don’t think that’s the real issue.
It’s when I want to install mosquitto I get this:

The following packages have unmet dependencies:
 libmosquitto1 : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is to be installed
 mosquitto : Depends: libc6 (>= 2.28) but 2.24-11+deb9u4 is to be installed
E: Unable to correct problems, you have held broken packages.

So I need to know if and how I can update that on the OSMC.