RockPi 4c + Petna SATA Hat (Ubuntu 20.04 + libmraa-rockpi4)

I need help, I can’t start the penta sata hat which with fan and display on Rock pi 4 model C (kit) :frowning:

a problem with libmraa…

system info

rock@rockpi4c:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal

apt-radxa-com.list

root@rockpi4c:/etc/apt/sources.list.d# cat apt-radxa-com.list
deb https://apt.radxa.com/focal-testing/ focal main
deb http://apt.radxa.com/bionic/ bionic main

echo script rock.sh/get-rockpi-penta

rock@rockpi4c:~$ curl -sL https://rock.sh/get-rockpi-penta | sudo -E bash -

*** Penta SATA Hat Install for ROCK Pi 4

*** Tested distributions:
*** Armbian 20.05.4 focal
*** Armbian 20.05.3 buster
*** Debian 9 Desktop (radxa official image)
*** Ubuntu Server 18.04 (radxa official image)

*** Please report problems to setq@radxa.com and we will try to fix.

Package(s) rockpi4c-rk-u-boot-latest libmraa is required.

Would you like to apt-get install the packages? [Y/n] Y
Hit:1 http://ppa.launchpad.net/mraa/mraa/ubuntu focal InRelease
Hit:2 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Hit:3 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease
Hit:4 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease
Hit:5 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease
Hit:6 http://apt.radxa.com/bionic bionic InRelease
Hit:7 https://apt.radxa.com/focal-testing focal InRelease
Reading package lists… Done
Reading package lists… Done
Building dependency tree
Reading state information… Done
rockpi4c-rk-u-boot-latest is already the newest version (2017.09-2700-g70b4cfe057).
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:
> libmraa : Depends: libjson-c3 but it is not installable
> Depends: python3.6 but it is not installable
> Depends: libpython3.6 but it is not installable
> E: Unable to correct problems, you have held broken packages.

running install
running bdist_egg
running egg_info
creating Adafruit_SSD1306.egg-info
writing Adafruit_SSD1306.egg-info/PKG-INFO
writing dependency_links to Adafruit_SSD1306.egg-info/dependency_links.txt
writing requirements to Adafruit_SSD1306.egg-info/requires.txt
writing top-level names to Adafruit_SSD1306.egg-info/top_level.txt
writing manifest file ‘Adafruit_SSD1306.egg-info/SOURCES.txt’
reading manifest file ‘Adafruit_SSD1306.egg-info/SOURCES.txt’
writing manifest file ‘Adafruit_SSD1306.egg-info/SOURCES.txt’
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/Adafruit_SSD1306
copying Adafruit_SSD1306/SSD1306.py -> build/lib/Adafruit_SSD1306
copying Adafruit_SSD1306/init.py -> build/lib/Adafruit_SSD1306
creating build/bdist.linux-aarch64
creating build/bdist.linux-aarch64/egg
creating build/bdist.linux-aarch64/egg/Adafruit_SSD1306
copying build/lib/Adafruit_SSD1306/SSD1306.py -> build/bdist.linux-aarch64/egg/Adafruit_SSD1306
copying build/lib/Adafruit_SSD1306/init.py -> build/bdist.linux-aarch64/egg/Adafruit_SSD1306
byte-compiling build/bdist.linux-aarch64/egg/Adafruit_SSD1306/SSD1306.py to SSD1306.cpython-38.pyc
byte-compiling build/bdist.linux-aarch64/egg/Adafruit_SSD1306/init.py to init.cpython-38.pyc
creating build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/PKG-INFO -> build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/SOURCES.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/dependency_links.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/requires.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
copying Adafruit_SSD1306.egg-info/top_level.txt -> build/bdist.linux-aarch64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents…
creating dist
creating ‘dist/Adafruit_SSD1306-1.6.2-py3.8.egg’ and adding ‘build/bdist.linux-aarch64/egg’ to it
removing ‘build/bdist.linux-aarch64/egg’ (and everything under it)
Processing Adafruit_SSD1306-1.6.2-py3.8.egg
Removing /usr/local/lib/python3.8/dist-packages/Adafruit_SSD1306-1.6.2-py3.8.egg
Copying Adafruit_SSD1306-1.6.2-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adafruit-SSD1306 1.6.2 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.8/dist-packages/Adafruit_SSD1306-1.6.2-py3.8.egg
Processing dependencies for Adafruit-SSD1306==1.6.2
Searching for adafruit-pureio>=1.1.5
Reading https://pypi.org/simple/adafruit-pureio/
Downloading https://files.pythonhosted.org/packages/df/ca/9162d4648669d12af16d5a66d808bdef6967eb684cbed9b1a3ebc19b361a/Adafruit_PureIO-1.1.9.tar.gz#sha256=2caf22fb07c7f771d83267f331a76cde314723f884a9570ea6f768730c87a879
Best match: Adafruit-PureIO 1.1.9
Processing Adafruit_PureIO-1.1.9.tar.gz
Writing /tmp/easy_install-hzlmlgi0/Adafruit_PureIO-1.1.9/setup.cfg
Running Adafruit_PureIO-1.1.9/setup.py -q bdist_egg --dist-dir /tmp/easy_install-hzlmlgi0/Adafruit_PureIO-1.1.9/egg-dist-tmp-w7ffd0x4
WARNING: The directory ‘/home/rock/.cache/pip’ or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo’s -H flag.
zip_safe flag not set; analyzing archive contents…
Moving Adafruit_PureIO-1.1.9-py3.8.egg to /usr/local/lib/python3.8/dist-packages
Adding Adafruit-PureIO 1.1.9 to easy-install.pth file

Installed /usr/local/lib/python3.8/dist-packages/Adafruit_PureIO-1.1.9-py3.8.egg
Searching for Adafruit-GPIO==1.0.5
Best match: Adafruit-GPIO 1.0.5
Processing Adafruit_GPIO-1.0.5-py3.8.egg
Adafruit-GPIO 1.0.5 is already the active version in easy-install.pth

Using /usr/local/lib/python3.8/dist-packages/Adafruit_GPIO-1.0.5-py3.8.egg
Searching for spidev==3.5
Best match: spidev 3.5
Processing spidev-3.5-py3.8-linux-aarch64.egg
spidev 3.5 is already the active version in easy-install.pth

Using /usr/local/lib/python3.8/dist-packages/spidev-3.5-py3.8-linux-aarch64.egg
Finished processing dependencies for Adafruit-SSD1306==1.6.2
/home/rock
(Reading database … 202681 files and directories currently installed.)
Preparing to unpack /tmp/tmp.QLxIPB9ZHn …
Removed /etc/systemd/system/multi-user.target.wants/rockpi-penta.service.
Unpacking rockpi-penta (0.10) over (0.10) …
Setting up rockpi-penta (0.10) …
Created symlink /etc/systemd/system/multi-user.target.wants/rockpi-penta.service → /lib/systemd/system/rockpi-penta.service.

sudo apt install libjson-c3 python3.6 libpython3.6

root@rockpi4c:/etc/apt/sources.list.d# sudo apt install libjson-c3 python3.6 libpython3.6
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package libjson-c3 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package python3.6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package libpython3.6 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package ‘libjson-c3’ has no installation candidate
E: Package ‘python3.6’ has no installation candidate
E: Package ‘libpython3.6’ has no installation candidate

sudo systemctl --type=service

root@rockpi4c:~# sudo systemctl --type=service
UNIT LOAD ACTIVE SUB DESCRIPTION
accounts-daemon.service loaded active running Accounts Service
alsa-restore.service loaded active exited Save/Restore Sound Card State
apport.service loaded active exited LSB: automatic crash report generation
avahi-daemon.service loaded active running Avahi mDNS/DNS-SD Stack
bluetooth.service loaded active running Bluetooth service
brcm-btfw-load.service loaded active running Load Broadcom Bluetooth firmware
console-setup.service loaded active exited Set console font and keymap
cron.service loaded active running Regular background program processing daemon
cups-browsed.service loaded active running Make remote CUPS printers available locally
cups.service loaded active running CUPS Scheduler
dbus.service loaded active running D-Bus System Message Bus
dhcpcd.service loaded active running DHCP Client Daemon
fake-hwclock.service loaded active exited Restore / save the current clock
fwupd.service loaded active running Firmware update daemon
getty@tty1.service loaded active running Getty on tty1
hddtemp.service loaded active exited LSB: disk temperature monitoring daemon
ifupdown-pre.service loaded active exited Helper to synchronize boot up for ifupdown
kerneloops.service loaded active running Tool to automatically collect and submit kernel crash signatures
keyboard-setup.service loaded active exited Set the console keyboard layout
kmod-static-nodes.service loaded active exited Create list of static device nodes for the current kernel
lightdm.service loaded active running Light Display Manager
ModemManager.service loaded active running Modem Manager
networking.service loaded active exited Raise network interfaces
NetworkManager-wait-online.service loaded active exited Network Manager Wait Online
NetworkManager.service loaded active running Network Manager
ntp.service loaded active running Network Time Service
openvpn.service loaded active exited OpenVPN service
polkit.service loaded active running Authorization Manager
rc-local.service loaded active exited /etc/rc.local Compatibility
resolvconf.service loaded active exited Nameserver information manager
● rockpi-penta.service loaded failed failed Rockpi SATA Hat
serial-getty@ttyFIQ0.service loaded active running Serial Getty on ttyFIQ0
setvtrgb.service loaded active exited Set console scheme
snapd.seeded.service loaded active exited Wait until snapd is fully seeded
ssh.service loaded active running OpenBSD Secure Shell server
sysfsutils.service loaded active exited LSB: Set sysfs variables from /etc/sysfs.conf
sysstat.service loaded active exited Resets System Activity Data Collector
systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
systemd-journald.service loaded active running Journal Service
systemd-logind.service loaded active running Login Service
systemd-modules-load.service loaded active exited Load Kernel Modules
systemd-random-seed.service loaded active exited Load/Save Random Seed
systemd-remount-fs.service loaded active exited Remount Root and Kernel File Systems
systemd-resolved.service loaded active running Network Name Resolution
systemd-sysctl.service loaded active exited Apply Kernel Variables
systemd-sysusers.service loaded active exited Create System Users
systemd-tmpfiles-setup-dev.service loaded active exited Create Static Device Nodes in /dev
systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
systemd-udev-trigger.service loaded active exited udev Coldplug all Devices
systemd-udevd.service loaded active running udev Kernel Device Manager
systemd-update-utmp.service loaded active exited Update UTMP about System Boot/Shutdown
systemd-user-sessions.service loaded active exited Permit User Sessions
udisks2.service loaded active running Disk Manager
ufw.service loaded active exited Uncomplicated firewall
unattended-upgrades.service loaded active running Unattended Upgrades Shutdown
upower.service loaded active running Daemon for power management
user-runtime-dir@1000.service loaded active exited User Runtime Directory /run/user/1000
user@1000.service loaded active running User Manager for UID 1000
whoopsie.service loaded active running crash report submission daemon
wpa_supplicant.service loaded active running WPA supplicant

LOAD = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB = The low-level unit activation state, values depend on unit type.

60 loaded units listed. Pass --all to see loaded but inactive units, too.
To show all installed unit files use ‘systemctl list-unit-files’.

systemctl status rockpi-penta.service

root@rockpi4c:~# systemctl status rockpi-penta.service
● rockpi-penta.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-penta.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Fri 2021-06-18 18:19:12 +03; 1h 18min ago
Process: 11527 ExecStart=/usr/bin/python3 /usr/bin/rockpi-penta/main.py on (code=exited, status=1/FAILURE)
Main PID: 11527 (code=exited, status=1/FAILURE)

Jun 18 18:19:12 rockpi4c systemd[1]: rockpi-penta.service: Scheduled restart job, restart counter is at 5.
Jun 18 18:19:12 rockpi4c systemd[1]: Stopped Rockpi SATA Hat.
Jun 18 18:19:12 rockpi4c systemd[1]: rockpi-penta.service: Start request repeated too quickly.
Jun 18 18:19:12 rockpi4c systemd[1]: rockpi-penta.service: Failed with result ‘exit-code’.
Jun 18 18:19:12 rockpi4c systemd[1]: Failed to start Rockpi SATA Hat.

@All and @jack Help me please =)

First, you should ping setq and not jack
Second, you need to write mail to setq
Third,give me output of
apt search libjson-c3
and
apt search libjson*

apt search libjson-c3

rock@rockpi4c:~$ apt search libjson-c3
Sorting… Done
Full Text Search… Done

apt search libjson*

rock@rockpi4c:~$ apt search libjson*
Sorting… Done
Full Text Search… Done
bit-babbler/focal 0.8build1 arm64
BitBabbler hardware TRNG and kernel entropy source support

devscripts/focal 2.20.2ubuntu2 arm64
scripts to make the life of a Debian Package maintainer easier

libjson-any-perl/focal 1.39-2 all
wrapper class for the various JSON classes

libjson-c-dev/focal-security,focal-updates,now 0.13.1+dfsg-7ubuntu0.3 arm64 [installed]
JSON manipulation library - development files

libjson-c-doc/focal-security,focal-updates 0.13.1+dfsg-7ubuntu0.3 all
JSON manipulation library - documentation files

libjson-c4/focal-security,focal-updates,now 0.13.1+dfsg-7ubuntu0.3 arm64 [installed,automatic]
JSON manipulation library - shared library

libjson-glib-1.0-0/focal,now 1.4.4-2ubuntu2 arm64 [installed,automatic]
GLib JSON manipulation library

libjson-glib-1.0-common/focal,now 1.4.4-2ubuntu2 all [installed,automatic]
GLib JSON manipulation library (common files)

libjson-glib-dev/focal 1.4.4-2ubuntu2 arm64
GLib JSON manipulation library (development files)

libjson-glib-doc/focal 1.4.4-2ubuntu2 all
GLib JSON manipulation library (documentation)

libjson-hyper-perl/focal 0.011-2 all
extract links from JSON via a schema

libjson-java/focal 2.4-3 all
library for transforming Java objects and XML to JSON and back again

libjson-maybexs-perl/focal,now 1.004000-1 all [installed,automatic]
interface to the best available JSON module

libjson-multivalueordered-perl/focal 0.006-1 all
module to handle JSON like {“a”:1, “a”:2}

libjson-parse-perl/focal 0.56-1 arm64
module to read JSON into a Perl variable

libjson-path-perl/focal 0.420-2 all
search nested hashref/arrayref structures using JSONPath

libjson-perl/focal 4.02000-2 all
module for manipulating JSON-formatted data

libjson-pointer-perl/focal 0.07-1 all
Perl implementation of JSON Pointer (RFC6901)

libjson-pp-perl/focal 4.04000-1 all
module for manipulating JSON-formatted data (Pure Perl)

libjson-rpc-perl/focal 1.06-2 all
Perl implementation of JSON-RPC 1.1 protocol

libjson-simple-doc/focal 2.3.0-1 all
documentation for libjson-simple-java

libjson-simple-java/focal 2.3.0-1 all
Simple, lightweight and efficient JSON toolkit for Java

libjson-smart-java/focal 2.2-2 all
JSON Small and Fast Parser

libjson-types-perl/focal 0.05-1 all
variable type utility for JSON encoding

libjson-validator-perl/focal 3.23+dfsg-1 all
module to validate data against a JSON schema

libjson-webtoken-perl/focal 0.10-2 all
JSON Web Token (JWT) implementation

libjson-xs-perl/focal 4.020-1build1 arm64
module for manipulating JSON-formatted data (C/XS-accelerated)

libjson11-1/focal 1.0.0-2 arm64
Tiny JSON library for C++11

libjson11-1-dev/focal 1.0.0-2 arm64
Tiny JSON library for C++11 (development files)

libjson4s-java/focal 3.5.1+really3.2.10-1 all
Single AST to be used by other scala json libraries

libjsonb-api-java/focal 1.0-1 all
Java API for JSON Binding (JSON-B)

libjsoncpp-dev/focal 1.7.4-3.1ubuntu2 arm64
library for reading and writing JSON for C++ (devel files)

libjsoncpp-doc/focal 1.7.4-3.1ubuntu2 all
API documentation for libjsoncpp-dev

libjsoncpp1/focal,now 1.7.4-3.1ubuntu2 arm64 [installed,automatic]
library for reading and writing JSON for C++

libjsonld-java/focal 0.13.0-2 all
Java implementation of JSON-LD 1.0 and JSON-LD-API 1.0 specifications

libjsonm-ocaml/focal 1.0.1-2build1 arm64
Non-blocking streaming JSON codec for OCaml (plugins)

libjsonm-ocaml-dev/focal 1.0.1-2build1 arm64
Non-blocking streaming JSON codec for OCaml

libjsonm-ocaml-doc/focal 1.0.1-2build1 all
Non-blocking streaming JSON codec for OCaml (documentation)

libjsonnet-dev/focal 0.15.0+ds-1build1 arm64
data templating language (devel)

libjsonnet0/focal 0.15.0+ds-1build1 arm64
data templating language (lib)

libjsonp-java/focal 1.0.4-1 all
Java API for JSON Processing

libjsonp-java-doc/focal 1.0.4-1 all
Java API for JSON Processing (documentation)

libjsonparser-dev/focal 1.1.0-1 arm64
Very low footprint JSON parser written in portable ANSI C - development headers

libjsonparser1.1/focal 1.1.0-1 arm64
Very low footprint JSON parser written in portable ANSI C

libjsonpath-java/focal 2.0.0-5 all
Jayway JsonPath - XPath like expressions for JSON

libjsonrpc-glib-1.0-1/focal 3.34.0-1 arm64
JSON-RPC library for GLib

libjsonrpc-glib-1.0-dev/focal 3.34.0-1 arm64
JSON-RPC library for GLib - development files

libjsonrpc-glib-doc/focal 3.34.0-1 all
JSON-RPC library for GLib - documentation

libjsonrpccpp-client0/focal 0.7.0-1build3 arm64
library implementing json-rpc C++ clients

libjsonrpccpp-client0-dbg/focal 0.7.0-1build3 arm64
debugging symbols for libjsonrpccpp-client0

libjsonrpccpp-common0/focal 0.7.0-1build3 arm64
common functionality for server and client library

libjsonrpccpp-common0-dbg/focal 0.7.0-1build3 arm64
debugging symbols for libjsonrpccpp-common0

libjsonrpccpp-dev/focal 0.7.0-1build3 arm64
development files for JSON-RPC C++ framework

libjsonrpccpp-server0/focal 0.7.0-1build3 arm64
library implementing json-rpc C++ servers

libjsonrpccpp-server0-dbg/focal 0.7.0-1build3 arm64
debugging symbols for libjsonrpccpp-server0

libjsonrpccpp-stub0/focal 0.7.0-1build3 arm64
library for stub generation of libjsonrpccpp based applications

libjsonrpccpp-stub0-dbg/focal 0.7.0-1build3 arm64
debugging symbols for libjsonrpccpp-stub0

libjsonrpccpp-tools/focal 0.7.0-1build3 arm64
stub generator for libjsonrpccpp based applications

libjsoup-java/focal 1.10.2-2 all
Java HTML parser that makes sense of real-world HTML soup

libjsoup-java-doc/focal 1.10.2-2 all
Documentation for jsoup HTML Parser

libmoosex-types-json-perl/focal 1.00-1 all
module providing JSON-constrained strings

libyojson-ocaml/focal 1.7.0-1build1 arm64
JSON library for OCaml - runtime package

libyojson-ocaml-dev/focal 1.7.0-1build1 arm64
JSON library for OCaml - development package

sudo apt-cache policy

rock@rockpi4c:~$ sudo apt-cache policy
[sudo] password for rock:
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://ppa.launchpad.net/mraa/mraa/ubuntu focal/main arm64 Packages
release v=20.04,o=LP-PPA-mraa-mraa,a=focal,n=focal,l=libmraa,c=main,b=arm64
origin ppa.launchpad.net
500 http://apt.radxa.com/bionic bionic/main arm64 Packages
release o=apt.radxa.com,n=bionic,l=apt.radxa.com,c=main,b=arm64
origin apt.radxa.com
500 https://apt.radxa.com/focal-testing focal/main arm64 Packages
release o=apt.radxa.com,n=focal,l=apt.radxa.com,c=main,b=arm64
origin apt.radxa.com
100 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe arm64 Packages
release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=universe,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal-updates/multiverse arm64 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=multiverse,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal-updates/universe arm64 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=universe,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal-updates/restricted arm64 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=restricted,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal-updates/main arm64 Packages
release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=main,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal-security/multiverse arm64 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=multiverse,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal-security/universe arm64 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=universe,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal-security/restricted arm64 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=restricted,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal-security/main arm64 Packages
release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=main,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal/multiverse arm64 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=multiverse,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal/universe arm64 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=universe,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal/restricted arm64 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=restricted,b=arm64
origin ports.ubuntu.com
500 http://ports.ubuntu.com/ubuntu-ports focal/main arm64 Packages
release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=main,b=arm64
origin ports.ubuntu.com
Pinned packages:

@setq Help me please =)

Well, script need to be updated to support debian10. You may look into code to see where exactly it tries to use libjson-c3 and replace it with libjson-c4

Hey @VerAS,

why did you add bionic to your sources list? (suppose there is your librmaa coming from).

I actually gave up getting the packages and dependencies right and built

https://github.com/swig/swig v.4.0.2 (because i’ve read that swig 3 won’t work but not sure about it)
and

https://github.com/eclipse/mraa master
with cmake -DSWIG_DIR:PATH=/usr/share/swig/4.0.2 -DSWIG_EXECUTABLE:FILEPATH=/usr/bin/swig

after that i removed the librmaa dependency in the get-rockpi-penta script and then finally everything worked. :smiley:

Maybe this helps :slight_smile: