Problems updating from respository

I have a brand new Rock 5c, just setting it up.

I have flashed the eMMC with:
rock-5c_bookworm_kde_b1.output.img.xz

Everything boots ok. Now trying apt update I am getting an error that the public key is not available.

I have tried updating the key:

# Install signing keyring
keyring="$(mktemp)"
version="$(curl -L https://github.com/radxa-pkg/radxa-archive-keyring/releases/latest/download/VERSION)"
curl -L --output "$keyring" "https://github.com/radxa-pkg/radxa-archive-keyring/releases/latest/download/radxa-archive-keyring_${version}_all.deb"
sudo dpkg -i "$keyring"
rm -f "$keyring"

But I still get the error:

Err:6 https://radxa-repo.github.io/rk3588s2-bookworm rk3588s2-bookworm InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY E572249A33EB9743 NO_PUBKEY 5D93177D0752732A

Any ideas how to resolve this?

Update: I modified /etc/apt/sources.list.d/80-radxa-rk3588s2.list to point to an older key and it worked again.

deb [signed-by=/usr/share/keyrings/radxa-archive-keyring-2024.gpg] https://radxa-repo.github.io/rk3588s2-bookworm rk3588s2-bookworm main
1 Like

Thank you Michael, you saved me! I’ve got the same problem

Rather than editing the apt source, can just repoint the sym link too:

sudo ln -sfn /usr/share/keyrings/radxa-archive-keyring-2024.gpg /usr/share/keyrings/radxa-archive-keyring.gpg

This is probably cleaner and less break-proof, in case a fix/update is pushed from Radxa.

1 Like