Influxdb - public key is not available

When you will be doing apt update you may encounter warnings similar to that below:

Err:4 https://repos.influxdata.com/debian bullseye InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ABCDF1234ZXV098

and

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

It can be fixed with steps provided by influx team Linux Package Signing Key Rotation

2 Likes

You have just pasted link I have provided in my post :smiley:

Sorry. It was easy to miss when skimming.

I have followed the step from the link and it still failed ( except step 4 since old key is not there). Is there any step that i missed ?

Who knows. Nobody knows what you have done and what is your configuration - especialy for apt sources.
For me I had to replace /etc/apt/sources.list.d/influxdata.list with my custom file name.

Just found, this issue already fixed temporary according this link
Influx instalation on latest Raspbian fails · Issue #1753 · openhab/openhabian · GitHub

  • deinstall influx
  • start openhabian-config, let it update
  • switch to main branch
  • reinstall influx from the menu