Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

broken(?) public key for debian 11 #9

Open
bodsch opened this issue Jan 30, 2023 · 1 comment
Open

broken(?) public key for debian 11 #9

bodsch opened this issue Jan 30, 2023 · 1 comment

Comments

@bodsch
Copy link

bodsch commented Jan 30, 2023

On an empty debian11 system the role can no longer be applied:

TASK [influx1 : Debian - Add InfluxDB repository] ******************************
fatal: [influx1]: FAILED! => changed=false 
  msg: 'Failed to update apt cache: W: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 D8FF8E1F7DF8B07E, E:The repository ''https://repos.influxdata.com/debian bullseye InRelease'' is not signed.'
@bodsch
Copy link
Author

bodsch commented Jan 30, 2023

this pre_tasks helps me:

    - name: add influxdata-archive_compat.key
      shell:
        cd /tmp/ ;
        curl https://repos.influxdata.com/influxdata-archive_compat.key > /tmp/influxdata-archive_compat.key &&
        echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c /tmp/influxdata-archive_compat.key' | sha256sum -c && cat /tmp/influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant