Issue with libmraa "unable to locate package"

Followed the instructions here for installing libmraa… https://wiki.radxa.com/Rockpi4/dev/libmraa

But when doing it (and yes, I have verified that I added the source to /etc/apt/sources.list) I get the following error:

root@79966c9:/etc/apt# apt-get install libmraa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libmraa

Have you actually got this package in your apt repo?

It looks like it is available on arm64 but not armhf.

You can modify file /etc/apt/sources.list.d/apt-radxa-com.list like this:

deb http://apt.radxa.com/buster-stable/ buster main
deb http://apt.radxa.com/buster-testing/ buster main

And install needed packages.

sudo apt update
sudo apt install libmraa

@ken this doesn’t work for armhf architecture as neither buster-stable or buster-testing include libmraa for that architecture.

We have supported it in Debian with armhf architecture.
You can modify file /etc/apt/sources.list.d/apt-radxa-com.list again:

deb http://apt.radxa.com/buster-stable/ buster main
deb http://apt.radxa.com/buster-testing/ buster main

And install needed packages.

sudo apt update
sudo apt install libmraa

If you cannot update radxa sourse, you should use this command:

wget -O -  apt.radxa.com/buster-testing/public.key | sudo apt-key add -
2 Likes

Thanks @ken that’s great :+1::ok_hand:

@ken are you sure this has been added to buster-stable? I don’t see it there: https://github.com/radxa/apt/blob/gh-pages/buster-stable/dists/buster/main/binary-armhf/Packages

I can’t see it there either @marvin @ken

Only in buster-testing

@ken can you release to stable?

I had my rockpi 4c with sata-penta hat working until an update clobbered the OS.

I’m having a difficult time getting libmraa onto my rockpi4c. The buster-stable has the libmraa. But the bullseye-stable does not. When I install dietpi buster from my original download, the first thing it forces is in upgrade to bullseye. The version mismatches are preventing me from activating the sata-penta hat, fan and top display.

Anyone have some ideas here? I emailed setq but no reply in 3 days.
Thanks.

Follow-up: I started with dietpi buster. Interrupted the auto update process. added the buster-testing and installed the penta hat. That confirms it’s the bullseye missing components.

rebooting goes into the upgrade process and throws errors. I can stop the auto update process, but this seems like an incorrect fix and a support issue.

Need to have a complete bullseye package that works.
I hope setq or other moderator can correct this problem.

1 Like

Hi Storm_Archer, same problem on my side. At least i managed to got LCD working but only for display. Stick on LCD and FAN are not working.
I think devtree overlay is not compatible with bullseye.

Would be fine if any moderator could help on this problem.