NEWS
An error occurred during the signature verification [Gelöst]
-
Hallo zusammen,
ich wollte heute ein update machen, folgendes spuckt die Konsole aus:
pi@raspberrypi:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://security.debian.org/debian-security bullseye-security InRelease Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB] Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Get:5 https://repos.influxdata.com/debian bullseye InRelease [7,031 B] Hit:6 https://apt.grafana.com stable InRelease Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease Err:5 https://repos.influxdata.com/debian bullseye InRelease The following signatures couldn't be verified because the public key is not av ailable: NO_PUBKEY D8FF8E1F7DF8B07E Fetched 51.1 kB in 2s (26.9 kB/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 20 packages can be upgraded. Run 'apt list --upgradable' to see them. W: An error occurred during the signature verification. The repository is not up dated and the previous index files will be used. GPG error: https://repos.influx data.com/debian bullseye InRelease: The following signatures couldn't be verifie d 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 ava ilable: NO_PUBKEY D8FF8E1F7DF8B07E W: Some index files failed to download. They have been ignored, or old ones used instead.
Wie kann ich denn die Signaturen aktualisieren?
-
Leg das influx-Repository neu an.
Alte .list-Datei in /etc/apt/sources.list.d zuvor löschen.Hier gibt's weiteres dazu:
https://forum.iobroker.net/topic/62040/linux-debian-grafana-repo-muss-aktualisiert-werden
-
Hab die alten influx keys entfernt.
Wie komme ich an die neuen ran?
Die Adressen unten stimmen für influx sicher nichtsudo wget -q -O /usr/share/keyrings/grafana.key https://apt.grafana.com/gpg.key echo "deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main" | sudo tee /etc/apt/sources.list.d/grafana.list
-
@naturfreund sagte in An error occurred during the signature verification:
Wie komme ich an die neuen ran?
Das Influx-Repo noch mal über deren Installer reinholen. Da kommen die Keys dann mit.
Alternativ: Schau mal nach meinem Beitrag 'Phantastische Repos und wo sie zu finden sind'
(Oder so ähnlich). Da steht es auch drin. -
Link auf phantastische-repositories-und-wo-sie-zu-finden-sind
pi@raspberrypi:~ $ 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)). 0
pi@raspberrypi:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 http://security.debian.org/debian-security bullseye-security InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://repos.influxdata.com/debian stable InRelease Hit:6 https://deb.nodesource.com/node_16.x bullseye InRelease Hit:7 https://apt.grafana.com stable InRelease Ign:8 https://repos.influxdata.com/debian $(lsb_release InRelease Err:9 https://repos.influxdata.com/debian $(lsb_release Release 404 Not Found [IP: 99.84.88.81 443] Reading package lists... Done E: The repository 'https://repos.influxdata.com/debian $(lsb_release Release' does not have a Release file. 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.
-
Der Eintrag
https://repos.influxdata.com/debian $(lsb_release Release'
Ist auch falsch. Da muss statt der Variable der entsprechende Release Name rein. Das passiert eigentlich automatisch wenn man das Skript bzw die Zeile ausführt und nicht einfach nur in die Datei kopiert.
-
pi@raspberrypi:~ $ sudo nano /etc/apt/sources.list.d/influxdb.list
hab ich geändert auf:
deb https://repos.influxdata.com/debian bullseye stable
pi@raspberrypi:~ $ sudo apt update Hit:1 http://security.debian.org/debian-security bullseye-security InRelease Hit:2 http://deb.debian.org/debian bullseye InRelease Hit:3 http://deb.debian.org/debian bullseye-updates InRelease Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease Hit:5 https://repos.influxdata.com/debian stable InRelease Hit:6 https://apt.grafana.com stable InRelease Get:7 https://repos.influxdata.com/debian bullseye InRelease [7,040 B] Hit:8 https://deb.nodesource.com/node_16.x bullseye InRelease Err:7 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,040 B in 2s (3,499 B/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done 20 packages can be upgraded. Run 'apt list --upgradable' to see them. 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.
-
echad@chet:~ $ cat /etc/apt/sources.list.d/influxdata.list deb [signed-by=/etc/apt/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main echad@chet:~ $
Key muss natürlich in /etc/apt/keyrings deponiert sein.
-
Lösch die influx*.list und dann diese vier Zeilen in dein Terminal kopieren:
sudo rm /etc/apt/sources.list.d/infl* 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
-
Und wenn das passt die 20 Updates auf das System schaufeln.
-
Danke @Thomas-Braun , ist alles sauber durchgelaufen
pi@raspberrypi:~ $ sudo apt update Hit:1 http://deb.debian.org/debian bullseye InRelease Hit:2 http://deb.debian.org/debian bullseye-updates InRelease Hit:3 http://security.debian.org/debian-security bullseye-security InRelease Hit:4 https://repos.influxdata.com/debian stable InRelease Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease Hit:6 https://apt.grafana.com stable InRelease Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date.