Installation InfluxDB2 funktioniert nicht

Topics about the Software of Revolution Pi
Post Reply
REVPI-WHS
Posts: 13
Joined: 21 Nov 2024, 18:07

Installation InfluxDB2 funktioniert nicht

Post by REVPI-WHS »

Hallo Zusammen,
in meinem letzten Post hattet Ihr mir folgende Anleitung für meinen Revolution Pi Module 4S Rev 1.0 (bookworm) mitgegeben: https://revolutionpi.com/documentation/ ... h-grafana/
Aber egal was ich mache, bei Eingabe von:

echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
sudo apt update && sudo apt install -y influxdb2

bekomme ich Fehlermeldungen:
-----------------------------
cat: influxdata-archive_compat.key: No such file or directory
-bash: gpg: command not found
Hit:1 http://deb.debian.org/debian bookworm-updates InRelease
Hit:2 http://security.debian.org/debian-security bookworm-security InRelease
Hit:3 http://packages.revolutionpi.de bookworm InRelease
Hit:4 http://packages.revolutionpi.de bookworm-backports InRelease
Hit:5 https://deb.debian.org/debian bookworm InRelease
Get:6 https://repos.influxdata.com/debian stable InRelease [6,907 B]
Hit:7 http://archive.raspberrypi.org/debian bookworm InRelease
Err:6 https://repos.influxdata.com/debian stable InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8 E1F7DF8B07E
Reading package lists... Done
W: GPG error: https://repos.influxdata.com/debian stable 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 stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
------------------------------------------------------------------------------------

Über einen Tipp würde ich mich sehr freuen, im Netz finde ich leider bezogen auf den RevPi keine Hilfe.
Vielen Dank and Grüße
Andreas
User avatar
dirk
KUNBUS
Posts: 2214
Joined: 15 Dec 2016, 13:19

Re: Installation InfluxDB2 funktioniert nicht

Post by dirk »

Hallo Andreas,
da hat sich wohl einiges geändert. Ich habe einen Test gemacht und habe denselben Fehler erhalten wie du. Die erste Aktion ist, dass du das "gpg" Package installierst:

Code: Select all

sudo apt install gpg


Allerdings habe ich danach noch dieseb Fehler erhalten:

Code: Select all

cat: influxdata-archive_compat.key: No such file or directory
Die komplette Ausgabe sieht so aus:

Code: Select all

pi@RevPi94369:~$ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list

cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null 
sudo apt update && sudo apt install -y influxdb2
deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
cat: influxdata-archive_compat.key: No such file or directory
gpg: no valid OpenPGP data found.
Hit:1 http://packages.revolutionpi.de bookworm InRelease
Hit:2 http://packages.revolutionpi.de bookworm-backports InRelease                                                                                                                     
Hit:3 http://deb.debian.org/debian bookworm-updates InRelease                                                                                                                          
Hit:4 http://security.debian.org/debian-security bookworm-security InRelease                                                                                                           
Hit:5 http://archive.raspberrypi.org/debian bookworm InRelease                                                                                  
Hit:6 https://deb.debian.org/debian bookworm InRelease                                                                   
Get:7 https://repos.influxdata.com/debian stable InRelease [6,907 B]                               
Err:7 https://repos.influxdata.com/debian stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
Reading package lists... Done
W: GPG error: https://repos.influxdata.com/debian stable 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 stable InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
pi@RevPi94369:~$ 
Auf der schnellen Suche ergeben sich einige Treffer:
https://duckduckgo.com/?q=%2Fetc%2Fapt% ... gpg&ia=web

Ich melde mich wieder, sobald ich mehr weiß. Falls du inzwischen etwas beitragen möchtest nur zu:
https://gitlab.com/revolutionpi/documentation
Post Reply