nach dem ich darüber gestolpert bin das ich das Problem mit dem Update auch mit den Kommandos
beheben könnte hab ich es so probiert beim zweiten ausführen von iob nodejs-update hat er es dann Fehlerfrei gemacht und ich habe jetzt endlich die neuste Node Version drauf. Ich bedanke mich für alle Antworten und mein Problem ist damit gelöst.
Ich werde jetzt noch ein Backup der SD Karte machen zur Vorsicht.
Code
Radix1975@raspberrypi5:~ $ sudo apt update
OK:2 http://deb.debian.org/debian bookworm InRelease
OK:3 http://deb.debian.org/debian-security bookworm-security InRelease
OK:4 http://deb.debian.org/debian bookworm-updates InRelease
OK:5 https://deb.nodesource.com/node_20.x nodistro InRelease
OK:6 http://archive.raspberrypi.com/debian bookworm InRelease
OK:7 https://apt.pivccu.de/piVCCU stable InRelease
OK:1 https://phoscon.de/apt/deconz bookworm InRelease
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
Alle Pakete sind aktuell.
Radix1975@raspberrypi5:~ $ sudo apt install -y nodejs
Paketlisten werden gelesen… Fertig
Abhängigkeitsbaum wird aufgebaut… Fertig
Statusinformationen werden eingelesen… Fertig
nodejs ist schon die neueste Version (20.20.2-1nodesource1).
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Radix1975@raspberrypi5:~ $ iob nodejs-update
[sudo] Passwort für Radix1975:
[INFO] No specific version given. Installing recommended version from Node.js v.22 tree.
[INFO] Current Node.js version: v20.20.2
[INFO] Stopping ioBroker with 'iob stop'...
[INFO] ioBroker stopped successfully.
[INFO] Node.js paths are correct.
[INFO] Removing old Node.js versions...
(Lese Datenbank ... 307913 Dateien und Verzeichnisse sind derzeit installiert.)
Entfernen von libreoffice-help-en-gb (4:7.4.7-1+deb12u13) ...
Entfernen von libreoffice-help-common (4:7.4.7-1+deb12u13) ...
Entfernen von node-prismjs (1.29.0+dfsg+~1.26.0-1) ...
Entfernen von node-clipboard (2.0.11+ds+~cs9.6.11-1) ...
Entfernen von node-normalize.css (8.0.1-5) ...
Entfernen von nodejs (20.20.2-1nodesource1) ...
Trigger für man-db (2.11.2-2) werden verarbeitet ...
[INFO] Setting up NodeSource repository for Node.js 22...
[INFO] Downloading NodeSource GPG key...
[INFO] Verifying GPG key fingerprint...
[ERROR] NodeSource GPG key fingerprint mismatch! Expected: 6F71F525282841EEDAF851B42F59B5F99B1BE0B4, Got: pubrsa20482016-05-23[SC]
[INFO] Cleaning up temporary files...
Radix1975@raspberrypi5:~ $ iob nodejs-update
[INFO] No specific version given. Installing recommended version from Node.js v.22 tree.
[INFO] Current Node.js version: not installed
[INFO] Stopping ioBroker with 'iob stop'...
[INFO] ioBroker stopped successfully.
[INFO] Node.js paths are correct.
[INFO] Removing old Node.js versions...
[INFO] Setting up NodeSource repository for Node.js 22...
[INFO] Downloading NodeSource GPG key...
[INFO] Verifying GPG key fingerprint...
[INFO] GPG key fingerprint verified successfully: 6F71F525282841EEDAF851B42F59B5F99B1BE0B4
[INFO] Creating NodeSource repository file...
[INFO] Setting repository pin priority...
[INFO] NodeSource repository configured successfully and will remain in the system.
[INFO] Checking if nodejs package is on hold...
[INFO] nodejs package is not on hold.
[INFO] Updating package lists...
OK:1 http://archive.raspberrypi.com/debian bookworm InRelease
Holen:3 https://deb.nodesource.com/node_22.x nodistro InRelease [12,1 kB]
OK:4 https://apt.pivccu.de/piVCCU stable InRelease
Holen:5 https://deb.nodesource.com/node_22.x nodistro/main arm64 Packages [11,2 kB]
OK:2 https://phoscon.de/apt/deconz bookworm InRelease
OK:6 http://deb.debian.org/debian bookworm InRelease
OK:7 http://deb.debian.org/debian-security bookworm-security InRelease
OK:8 http://deb.debian.org/debian bookworm-updates InRelease
Es wurden 23,3 kB in 5 s geholt (4.319 B/s).
Paketlisten werden gelesen… Fertig
[INFO] Installing Node.js 22...
Vormals nicht ausgewähltes Paket nodejs wird gewählt.
(Lese Datenbank ... 293533 Dateien und Verzeichnisse sind derzeit installiert.)
Vorbereitung zum Entpacken von .../nodejs_22.23.1-1nodesource1_arm64.deb ...
Entpacken von nodejs (22.23.1-1nodesource1) ...
nodejs (22.23.1-1nodesource1) wird eingerichtet ...
Trigger für man-db (2.11.2-2) werden verarbeitet ...
[INFO] Node.js v22.23.1 installed successfully.
[INFO] Checking npm dependencies for compatibility with Node.js 22...
[INFO] No compatibility issues found.
[INFO] Starting ioBroker with 'iob start'...
[INFO] ioBroker started successfully.
[INFO] Node.js update completed successfully!
[INFO] The NodeSource repository has been permanently added to your system.
[INFO] You can now update Node.js in the future using: sudo apt update && sudo apt upgrade nodejs
[WARN] DO NOT use 'nodejs-update' as part of your regular update process!
[WARN] DO NOT use node version managers like 'nvm', 'n' and others in parallel. They will break your installation!
[INFO] Cleaning up temporary files...
Radix1975@raspberrypi5:~ $ nodejs -v
v22.23.1
Radix1975@raspberrypi5:~ $ node -v
v22.23.1
Radix1975@raspberrypi5:~ $ npm -v
10.9.8
Radix1975@raspberrypi5:~ $
Display More