APT Repository

All tools are distributed via a Debian package repository available at https://repo.unipi.technology/debian/

The APT repository is already preconfigured in our official images.

To install the tools to a clean Debian/Raspberry Pi OS system, follow the steps in the repository index

Fixing expired GPG key

If you did not update your system packages before the key was switched or you use an obsolete system, you may not be able to update the Unipi packages anymore:

Err:4 https://repo.unipi.technology/debian bookworm InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D2055305AB75C32D

...

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repo.unipi.technology/debian bookworm InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D2055305AB75C32D
W: Failed to fetch https://repo.unipi.technology/debian/dists/bookworm/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D2055305AB75C32D
W: Some index files failed to download. They have been ignored, or old ones used instead.

To fix this issue, you need to make a workaround to update the key:

sudo su
wget -O - https://repo.unipi.technology/unipi_next.asc > /etc/apt/trusted.gpg.d/unipi_pub.asc
apt update && apt install unipi-os-configurator-data unipi-os-configurator -y
rm /etc/apt/trusted.gpg.d/unipi_pub.asc

These steps updated the OS data package, which contains the GPG key for the Unipi repository.