Trying to Upgrade from 9.4.3 to latest version, Getting Public Key Error

So I’m trying to upgrade from 9.4.3 to the latest version of Grafana on a RPi 4 running Bullseye but I keep getting the following error.

Err:5 https://packages.grafana.com/oss/deb stable InRelease

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545

Reading package lists... Done

W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545

W: Failed to fetch https://packages.grafana.com/oss/deb/dists/stable/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 963FA27710458545

I found other postings about fixing this issue, and tried them, but still no luck.

The key file I have is /etc/apt/keyrings/grafana.gpg

The package list is as follows…

/etc/apt/sources.list.d/grafana.list

deb https://packages.grafana.com/oss/deb stable main
deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main

That seem correct, but apparently it isn’t. Sure could use some help on getting upgraded…

hi @skcamdam

have you tried:

mkdir -p /etc/apt/keyrings/

wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor > /etc/apt/keyrings/grafana.gpg

echo "deb [signed-by=/etc/apt/keyrings/grafana.gpg] https://apt.grafana.com stable main" | tee /etc/apt/sources.list.d/grafana.list

Here’s a similar case: