2023-08-29
Re-enabling grafana deb updates.. again
I did a manual apt update and saw an error message again for the grafana packages, which confirmed a posting I saw about grafana having to issue a new GPG key again.root@gosper:~# apt update Get:1 https://packages.grafana.com/oss/deb stable InRelease [5,984 B] Err:1 https://packages.grafana.com/oss/deb stable InRelease The following signatures couldn't be verified because the public key is not av ailable: NO_PUBKEY 963FA27710458545 Hit:2 http://deb.devuan.org/merged beowulf InRelease Hit:3 http://deb.devuan.org/merged beowulf-security InRelease Hit:4 http://deb.devuan.org/merged beowulf-updates InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. W: An error occurred during the signature verification. The repository is not up dated and the previous index files will be used. GPG error: https://packages.gra fana.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 avai lable: NO_PUBKEY 963FA27710458545 W: Some index files failed to download. They have been ignored, or old ones used instead.And again the solution was to update the GPG key for grafana packages, as mentioned in Grafana security update: GPG signing key rotation | Grafana Labs. I followed the same steps as in the update of the grafana signing key in june 2023 to get things working again.root@gosper:~# cd /etc/apt/trusted.gpg.d/ root@gosper:/etc/apt/trusted.gpg.d# wget -q -O - https://apt.grafana.com/gpg.key | gpg --dearmor > grafana.gpgI also filed a bug with cron-apt because it hides the 'problem with this repository' error from me. Logged as #778 - cron-apt does not report repositories with GPG problems. Found via James Tucker: "In case you missed it, grafana…" - rag.pub