Unable to do a sudo apt-get update

This has been asked before but the solution wasn’t good enough. When id o a sudo apt-get update it gives me an error GPG error http://apt.radxa.com/focal-stable public key is not availabe: NO_PUBKEY 9B98116C9AA302C7.

I’ve tried the solution
wget -O - apt.radxa.com/focal-stable/public.key | sudo apt-key add -
but this just stops the update in it’s shoes. It doesn’t actually go and do an update and it also doesn’t set up an NTP server

This is the sequence of commands documented here https://wiki.radxa.com/Rock4/FAQs - just copy and paste each command into a terminal and press enter after each one:

sudo apt-get install -y wget
source /etc/os-release
export DISTRO="${VERSION_CODENAME}-stable"
wget -O - apt.radxa.com/$DISTRO/public.key | sudo apt-key add -
sudo apt-get update

I understand your frustration with this issue. It seems like the GPG key problem is causing you some trouble. Here’s a suggestion:

It appears that the previous solution didn’t work for you, and I’m sorry to hear that. To address the GPG error related to the missing public key (NO_PUBKEY 9B98116C9AA302C7), you can try the following steps:

  1. Open a terminal window.
  2. Run the following command to retrieve the missing GPG key:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9B98116C9AA302C7
  1. After adding the key, run the following command to update your package list:
sudo apt-get update

This shoes should resolve the GPG error issue without disrupting the update process. If you encounter any further problems or have additional questions, please feel free to ask.