NEWS
influxDB Update Fehler public key
-
Hallo zusammen,
ich habe seit einer Weile das Problem, dass ich beim Update von InfluxDB einen Error bekomme.
pi@raspberrypi:/etc/apt/sources.list.d $ sudo apt-get update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 https://repos.influxdata.com/debian stable InRelease Get:4 https://repos.influxdata.com/debian bullseye InRelease [7,022 B] Hit:5 https://apt.grafana.com stable InRelease Hit:6 http://security.debian.org/debian-security bullseye-security InRelease Hit:7 http://archive.raspberrypi.org/debian bullseye InRelease Hit:8 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:9 https://repo.ebusd.eu/apt/nomqtt/bullseye bullseye InRelease 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 D8FF8E1F7DF8B07E Fetched 7,022 B in 2s (3,071 B/s) Reading package lists... Done N: Ignoring file 'influxdata-archive_compat.key' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension 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 D8FF8E1F7DF8B07E 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 D8FF8E1F7DF8B07E W: Some index files failed to download. They have been ignored, or old ones used instead.
Ich habe 2 repos Listen für influx mit folgenden Inhalten gefunden. Frag mich warum? Eine sollte doch reichen?
influxdata.list deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
influxdb.list deb [signed-by=/usr/share/keyrings/influxdb-archive-keyring.gpg] https://repos.influxdata.com/debian bullseye stable
Würde das gerne glatt ziehen und wär über Support sehr dankbar
-
Zu influxdb steht hier auch was dabei:
https://forum.iobroker.net/topic/62040/linux-debian-grafana-repo-muss-aktualisiert-werden
-
Das war nicht gut
hab das gemacht...
und jetzt kommt das... Verstehe nicht, was das mit Grafana zu tun hat... Das hat davor noch funktioniert...
pi@raspberrypi:/etc/apt/sources.list.d $ sudo apt-get update Get:1 https://repos.influxdata.com/debian bullseye InRelease [7,022 B] Hit:2 http://security.debian.org/debian-security bullseye-security InRelease Hit:3 http://deb.debian.org/debian bullseye InRelease Hit:4 http://deb.debian.org/debian bullseye-updates InRelease Get:5 https://apt.grafana.com stable InRelease [5,984 B] Hit:6 https://repo.ebusd.eu/apt/nomqtt/bullseye bullseye InRelease Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease Err:1 https://repos.influxdata.com/debian bullseye InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E Get:8 https://apt.grafana.com stable/main armhf Packages [68.2 kB] Err:8 https://apt.grafana.com stable/main armhf Packages File has unexpected size (67781 != 68168). Mirror sync in progress? [IP: 2a04:4e42:6f::729 443] Hashes of expected file: - Filesize:68168 [weak] - SHA512:219e0403856608149840204d86c1f3d0ab07a08acc07f8a8c02957ac843b40ebc292c8798d7d91dd05a5e82c1bd6125fbf6b66726670df4b54247ee0d33b0964 - SHA256:71566d26c07ea46f56e421e023e2ed46ce903d10c8554e981da09cf3d29ccf9c - SHA1:eeab0b4a8a96b34bf3ab4e6381ba719344e42e7b [weak] - MD5Sum:f9059eccea966e300342f8bc9e027eb2 [weak] Release file created at: Tue, 28 Feb 2023 11:22:49 +0000 Get:9 https://apt.grafana.com stable/main arm64 Packages [70.4 kB] Err:9 https://apt.grafana.com stable/main arm64 Packages Hit:10 http://archive.raspberrypi.org/debian bullseye InRelease Fetched 7,022 B in 6s (1,263 B/s) Reading package lists... Done N: Ignoring file 'influxdata-archive_compat.key' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension 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 D8FF8E1F7DF8B07E 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 D8FF8E1F7DF8B07E E: Failed to fetch https://apt.grafana.com/dists/stable/main/binary-armhf/Packages.bz2 File has unexpected size (67781 != 68168). Mirror sync in progress? [IP: 2a04:4e42:6f::729 443] Hashes of expected file: - Filesize:68168 [weak] - SHA512:219e0403856608149840204d86c1f3d0ab07a08acc07f8a8c02957ac843b40ebc292c8798d7d91dd05a5e82c1bd6125fbf6b66726670df4b54247ee0d33b0964 - SHA256:71566d26c07ea46f56e421e023e2ed46ce903d10c8554e981da09cf3d29ccf9c - SHA1:eeab0b4a8a96b34bf3ab4e6381ba719344e42e7b [weak] - MD5Sum:f9059eccea966e300342f8bc9e027eb2 [weak] Release file created at: Tue, 28 Feb 2023 11:22:49 +0000 E: Failed to fetch https://apt.grafana.com/dists/stable/main/binary-arm64/Packages.bz2 W: Some index files failed to download. They have been ignored, or old ones used instead.
-
@xxx_turbo_xxx sagte in influxDB Update Fehler public key:
Ignoring file 'influxdata-archive_compat.key' in directory '/etc/apt/sources.list.d/'
Der .key hat in dem Verzeichnis nix zu suchen.
-
@thomas-braun ok, wo sollte er sonst liegen?
-
Da wo er in der influxdb.list eingetragen und erwartet wird.
Könnte in /usr/share/keyrings sein.Ist es jedenfalls auf meinem System:
echad@chet:~ $ cat /etc/apt/sources.list.d/influxdb.list deb [signed-by=/usr/share/keyrings/influxdb.gpg] https://repos.influxdata.com/debian bullseye stable
-
ah, ok... verstehe
Da liegen auch welche...
pi@raspberrypi:/usr/share/keyrings $ dir debian-archive-bullseye-automatic.gpg debian-archive-buster-security-automatic.gpg debian-archive-stretch-automatic.gpg influxdb-archive-keyring.gpg raspberrypi-archive-removed-keys.gpg debian-archive-bullseye-security-automatic.gpg debian-archive-buster-stable.gpg debian-archive-stretch-security-automatic.gpg influxdb.gpg raspberrypi-archive-stable.gpg debian-archive-bullseye-stable.gpg debian-archive-keyring.gpg debian-archive-stretch-stable.gpg nodesource.gpg debian-archive-buster-automatic.gpg debian-archive-removed-keys.gpg grafana.key raspberrypi-archive-keyring.gpg
-
Dann kann er ja da weg, wo er im Weg ist.
-
@thomas-braun
bin noch ein wenig verwirrt verwendest du dann noch den alten key, weil der bei dir influxdb.gpg lautet?https://www.influxdata.com/blog/linux-package-signing-key-rotation/
Ich verwende iobroker docker und installiere influxdb2-cli per script.
-
Der Name ist wumpe, der Inhalt zählt.
-
@thomas-braun danke habe es verstanden war für mich nur ein wenig verwirrend auf die schnelle