NEWS
NO_PUBKEY - wie löse ich das?
-
Hallo zusammen,
ich weiß es gibt hier schon Beiträge dazu, aber ich habe leider noch nicht die Lösung gefunden, bzw. finde sie nicht in den topics.
Ich habe mein system über backup neu aufsetzen müssen und nun kann ich InfluxDB und grafana nicht mehr installieren.
ich bekomme immer die Fehlermeldung: no PUBEYWIe kann bzw wo muss ich den hinterlegen?
Vielen Dank und Vg Sven
sudo apt-get update
OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Holen:3 https://repos.influxdata.com/debian bullseye InRelease [7.031 B]
OK:4 https://deb.nodesource.com/node_18.x bullseye InRelease
Holen:5 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye InRelease [5.127 B]
Fehl:3 https://repos.influxdata.com/debian bullseye InRelease
Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY D8FF8E1F7DF8B07E
Paketlisten werden gelesen... Fertig
W: GPG-Fehler: https://repos.influxdata.com/debian bullseye InRelease: Die folgenden Signaturen konnten nicht überprüft werden, weil ihr öffentlicher Schlüssel nicht verfügbar ist: NO_PUBKEY D8FF8E1F7DF8B07E
E: Das Depot »https://repos.influxdata.com/debian bullseye InRelease« ist nicht signiert.
N: Eine Aktualisierung von solch einem Depot kann nicht auf eine sichere Art durchgeführt werden, daher ist es standardmäßig deaktiviert.
N: Weitere Details zur Erzeugung von Paketdepots sowie zu deren Benutzerkonfiguration finden Sie in der Handbuchseite apt-secure(8). -
@sven-muthke sagte in NO_PUBKEY - wie löse ich das?:
NO_PUBKEY
noch nicht die Lösung gefundenin der Suche ..
https://forum.iobroker.net/topic/62040/linux-debian-grafana-repo-muss-aktualisiert-werden
-
@glasfaser dank Dir. ich habe grafana durch influxdb getauscht, kann den key aber nicht löschen, komme also mit dem link leider nicht weiter
was ache ich falsch?
vg Sven
obroker@iobroker:~ $ sudo apt-key del D8FF8E1F7DF8B07E
[sudo] Passwort für iobroker:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK -
Welcher Key ist denn überhaupt zu finden?
-
@thomas-braun
Hi, InfluxDB. KR Sven -
???
Die Ausgabe vonapt-key list | grep -i influx | wc -l
sagt?
Und dann muss das Repo nochmal neu angelegt werden.
-
@thomas-braun
das kommt raus. Was ist Repo und wie lege ich das an?
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
1 -
Bitte VOLLSTÄNDIGE Ein- wie Ausgaben 1:1 inkl. LogIn Prompt aus dem Terminal kopieren und in CodeTags eingebettet hier in den Thread posten.
-
-
Den letzten Key noch löschen, dann
sudo rm -rf /etc/apt/sources.list.d/influ* wget -q https://repos.influxdata.com/influxdata-archive_compat.key echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list sudo apt update apt policy influxdb*
-
@thomas-braun so?
iobroker@iobroker:~ $ apt-key list | grep -i influx | wc -l
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
1 -
@thomas-braun said in NO_PUBKEY - wie löse ich das?:
apt-key list
iobroker@iobroker:~ $ apt-key list
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
/etc/apt/trusted.gpgpub rsa2048 2012-04-01 [SC]
A0DA 38D0 D76E 8B5D 6388 7281 9165 938D 90FD DD2E
uid [ unbekannt ] Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) mpthompson@gmail.com
sub rsa2048 2012-04-01 [E]pub rsa4096 2015-09-28 [SC]
05CE 1508 5FC0 9D18 E99E FB22 684A 14CF 2582 E0C5
uid [ unbekannt ] InfluxDB Packaging Service support@influxdb.com
sub rsa4096 2015-09-28 [E]/etc/apt/trusted.gpg.d/raspberrypi-archive-stable.gpg
pub rsa2048 2012-06-17 [SC]
CF8A 1AF5 02A2 AA2D 763B AE7E 82B1 2992 7FA3 303E
uid [ unbekannt ] Raspberry Pi Archive Signing Key
sub rsa2048 2012-06-17 [E] -
@sven-muthke sagte in NO_PUBKEY - wie löse ich das?:
So ähnlich.
https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträgeDer key muss auch raus:
pub rsa4096 2015-09-28 [SC]
05CE 1508 5FC0 9D18 E99E FB22 684A 14CF 2582 E0C5
uid [ unbekannt ] InfluxDB Packaging Service support@influxdb.com
sub rsa4096 2015-09-28 [E]Also
sudo apt-key del 05CE15085FC09D18E99EFB22684A14CF2582E0C5
Dann weiter wie oben.
-
@thomas-braun vielen Dank, aber ich bekomme den Key nicht raus (glaube ich) irgendetwas mache ich noch falsch
iobroker@iobroker:~ $ sudo apt-key del 05CE15085FC09D18E99EFB22684A14CF2582E0C5
[sudo] Passwort für iobroker:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
iobroker@iobroker:~ $ sudo rm -rf /etc/apt/sources.list.d/influ*
iobroker@iobroker:~ $
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
iobroker@iobroker:~ $
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
iobroker@iobroker:~ $ sudo apt update
OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
OK:3 https://deb.nodesource.com/node_18.x bullseye InRelease
Holen:4 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye InRelease [5.127 B]
Holen:5 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye/main armhf Packages [10,5 kB]
Es wurden 30,6 kB in 1 s geholt (25,0 kB/s).
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Statusinformationen werden eingelesen... Fertig
Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
iobroker@iobroker:~ $ apt policy influxdb*
influxdb-client:
Installiert: (keine)
Installationskandidat: 1.6.7~rc0-1
Versionstabelle:
1.6.7~rc0-1 500
500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
influxdb-dev:
Installiert: (keine)
Installationskandidat: (keine)
Versionstabelle:
influxdb:
Installiert: (keine)
Installationskandidat: 1.6.7~rc0-1
Versionstabelle:
1.6.7~rc0-1 500
500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
iobroker@iobroker:~ $ -
Du musst auch schon alles eingeben...
sudo rm -rf /etc/apt/sources.list.d/influ* wget -q https://repos.influxdata.com/influxdata-archive_compat.key echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list sudo apt update apt policy influxdb*
Und setz die Auszüge aus dem Terminal in CodeTags, damit man das besser lesen kann.
-
@thomas-braun said in NO_PUBKEY - wie löse ich das?:
Ich bin scheinbar zu blöd dafür. Der sagt mir immer noch , dass der Key deprecated ist.
Wie kann ich das Terminal auf Code Tags setzen?
Sorry
obroker@iobroker:~ $ sudo apt-key del 05CE15085FC09D18E99EFB22684A14CF2582E0C5
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
OK
iobroker@iobroker:~ $ sudo rm -rf /etc/apt/sources.list.d/influ*
wget -q https://repos.influxdata.com/influxdata-archive_compat.key
echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
sudo apt update
apt policy influxdb*
influxdata-archive_compat.key: OK
deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
OK:3 https://repos.influxdata.com/debian stable InRelease
OK:4 https://deb.nodesource.com/node_18.x bullseye InRelease
Holen:5 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye InRelease [5.127 B]
Es wurden 5.127 B in 2 s geholt (3.317 B/s).
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Statusinformationen werden eingelesen... Fertig
Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
influxdb-client:
Installiert: (keine)
Installationskandidat: 1.6.7~rc0-1
Versionstabelle:
1.6.7~rc0-1 500
500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
influxdb-dev:
Installiert: (keine)
Installationskandidat: (keine)
Versionstabelle:
influxdb:
Installiert: (keine)
Installationskandidat: 1.8.10-1
Versionstabelle:
1.8.10-1 500
500 https://repos.influxdata.com/debian stable/main armhf Packages
1.6.7~rc0-1 500
500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
iobroker@iobroker:~ $ -
@sven-muthke sagte in NO_PUBKEY - wie löse ich das?:
Der sagt mir immer noch , dass der Key deprecated ist.
Nein, das bedeutet, dass das apt-key Verfahren veraltet ist. Deswegen wird der key ja auch gelöscht.
Zu CodeTags:
https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträgeWie schaut jetzt
sudo apt update sudo apt full-upgrade
aus?
Wobei influxdb bei dir nicht installiert ist, jedenfalls nicht 'ordentlich' über den Paketmanager.
-
Sieht jetzt so aus
======================= SUMMARY ======================= v.2023-04-16 Operatingsystem: Raspbian GNU/Linux 11 (bullseye) Kernel: 6.1.21-v8+ Installation: Native Timezone: Europe/Berlin (CEST, +0200) User-ID: 1000 X-Server: true Boot Target: graphical.target Pending OS-Updates: 2 Pending iob updates: 36 Nodejs-Installation: /usr/bin/nodejs v18.16.0 /usr/bin/node v18.16.0 /usr/bin/npm 9.5.1 /usr/bin/npx 9.5.1 Recommended versions are nodejs 18.x.y and npm 9.x.y Your nodejs installation is correct MEMORY: total used free shared buff/cache available Mem: 3.8G 1.8G 575M 473M 1.4G 1.4G Swap: 99M 0B 99M Total: 3.9G 1.8G 675M Active iob-Instances: 28 Active repo(s): beta ioBroker Core: js-controller 4.0.24 admin 6.3.7 ioBroker Status: iobroker is running on this host. Objects type: jsonl States type: jsonl Status admin and web instance: + system.adapter.admin.0 : admin : iobroker - enabled, port: 8081, bind: 0.0.0.0, run as: admin system.adapter.vis-material-webfont.0 : vis-material-webfont : iobroker - disabled + system.adapter.web.0 : web : iobroker - enabled, port: 8082, bind: 0.0.0.0, run as: admin Objects: 20686 States: 18238 Size of iob-Database: 18M /opt/iobroker/iobroker-data/objects.jsonl 33M /opt/iobroker/iobroker-data/states.jsonl =================== END OF SUMMARY ====================
iobroker@iobroker:~ $
code_text
-
@sven-muthke sagte in NO_PUBKEY - wie löse ich das?:
X-Server: true
Boot Target: graphical.targetAusschalten, auf einem Server läuft keine graphische Oberfläche.
Pending OS-Updates: 2
Pending iob updates: 36
Beides aktuell halten. Sowohl den ioBroker wie auch das Betriebssystem.
Und was sagt nun
sudo apt update sudo apt full-upgrade apt policy influxdb*
so?
-
@thomas-braun said in NO_PUBKEY - wie löse ich das?:
sudo apt update sudo apt full-upgrade apt policy influxdb*
Hi, sieht nach diversen updates jetzt so aus:
den Key bekomme ich immer noch nicht raus
iobroker@iobroker:~ $ sudo apt update sudo apt full-upgrade apt policy influxdb* OK:1 http://archive.raspberrypi.org/debian bullseye InRelease OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease OK:3 https://repos.influxdata.com/debian stable InRelease OK:4 https://deb.nodesource.com/node_18.x bullseye InRelease Holen:5 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye InRelease [5.127 B] Es wurden 5.127 B in 2 s geholt (2.876 B/s). Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig Statusinformationen werden eingelesen... Fertig Alle Pakete sind aktuell. Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut... Fertig Statusinformationen werden eingelesen... Fertig Paketaktualisierung (Upgrade) wird berechnet... Fertig 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. influxdb-client: Installiert: (keine) Installationskandidat: 1.6.7~rc0-1 Versionstabelle: 1.6.7~rc0-1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages influxdb-dev: Installiert: (keine) Installationskandidat: (keine) Versionstabelle: influxdb: Installiert: 1.8.10-1 Installationskandidat: 1.8.10-1 Versionstabelle: *** 1.8.10-1 500 500 https://repos.influxdata.com/debian stable/main armhf Packages 100 /var/lib/dpkg/status 1.6.7~rc0-1 500 500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages iobroker@iobroker:~ $