Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [How-to] Node.js ioBroker richtig updaten-2021/22 Edition

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

[How-to] Node.js ioBroker richtig updaten-2021/22 Edition

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
812 Beiträge 97 Kommentatoren 364.1k Aufrufe 83 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Thomas BraunT Thomas Braun

    @1topf

    apt policy tlp tlp-rdw
    sudo ln -s /usr/bin/node /usr/bin/nodejs
    uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
    

    sagt?

    1Topf1 Offline
    1Topf1 Offline
    1Topf
    schrieb am zuletzt editiert von
    #672

    @thomas-braun

    iobroker@ioBroker:~$ apt policy tlp tlp-rdw
    
    sudo ln -s /usr/bin/node /usr/bin/nodejs
    
    uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
    tlp:
      Installiert:           (keine)
      Installationskandidat: 1.3.1-2
      Versionstabelle:
         1.3.1-2 500
            500 http://deb.debian.org/debian bullseye/main amd64 Packages
    tlp-rdw:
      Installiert:           (keine)
      Installationskandidat: 1.3.1-2
      Versionstabelle:
         1.3.1-2 500
            500 http://deb.debian.org/debian bullseye/main amd64 Packages
    ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
    x86_64
    /usr/bin/nodejs
    /usr/bin/node
    /usr/bin/npm
    v16.16.0
    v16.16.0
    8.11.0
    iobroker
    /home/iobroker
    OK:1 http://security.debian.org/debian-security bullseye-security InRelease
    OK:2 http://deb.debian.org/debian bullseye InRelease
    OK:3 http://deb.debian.org/debian bullseye-updates InRelease
    OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
    Paketlisten werden gelesen… Fertig
    Abhängigkeitsbaum wird aufgebaut… Fertig
    Statusinformationen werden eingelesen… Fertig
    Alle Pakete sind aktuell.
    nodejs:
      Installiert:           16.16.0-deb-1nodesource1
      Installationskandidat: 16.16.0-deb-1nodesource1
      Versionstabelle:
     *** 16.16.0-deb-1nodesource1 500
            500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
            100 /var/lib/dpkg/status
         12.22.12~dfsg-1~deb11u1 500
            500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
         12.22.5~dfsg-2~11u1 500
            500 http://deb.debian.org/debian bullseye/main amd64 Packages
    
    
    1 Antwort Letzte Antwort
    1
    • C Offline
      C Offline
      chinaboy
      schrieb am zuletzt editiert von
      #673

      Servus zusammen,

      wollte nach einem fehlgeschlagene mbus Adapter update mein System aktualisieren und bekomme beim ausführen folgenden Fehler:

      pi@raspberrypi:~ $ sudo apt dist-upgrade
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Probieren Sie »apt --fix-broken install«, um dies zu korrigieren.
      Die folgenden Pakete haben unerfüllte Abhängigkeiten:
       libc6-dbg : Hängt ab von: libc6 (= 2.28-10+rpt2+rpi1+deb10u1) aber 2.28-10+rpi1 ist installiert
       libc6-dev : Hängt ab von: libc6 (= 2.28-10+rpt2+rpi1+deb10u1) aber 2.28-10+rpi1 ist installiert
      E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt --fix-broken install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).
      

      Es ist ein Master/Slave System
      Die Node js / NPM Stände von Master V12.22.1 / V6.14.12 und Slave V14.20.0 / V6.14.17 sind jetzt auch unterschiedlich ist mir aufgefallen.
      Zur Analyse:

      pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
      ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
      armv7l
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v12.22.1
      v12.22.1
      6.14.12
      pi
      /home/pi
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:3 https://repos.influxdata.com/debian buster InRelease
      OK:4 https://deb.nodesource.com/node_14.x buster InRelease
      OK:5 https://packages.grafana.com/oss/deb stable InRelease
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Aktualisierung für 112 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
      nodejs:
        Installiert:           12.22.1-1nodesource1
        Installationskandidat: 14.20.0-deb-1nodesource1
        Versionstabelle:
           14.20.0-deb-1nodesource1 500
              500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
       *** 12.22.1-1nodesource1 100
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      

      sudo apt --fix-broken install --> bringt das hier:

      pi@raspberrypi:~ $ sudo apt --fix-broken install
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Abhängigkeiten werden korrigiert ... Fertig
      Die folgenden zusätzlichen Pakete werden installiert:
        libc6
      Vorgeschlagene Pakete:
        glibc-doc
      Die folgenden Pakete werden aktualisiert (Upgrade):
        libc6
      1 aktualisiert, 0 neu installiert, 0 zu entfernen und 111 nicht aktualisiert.
      4 nicht vollständig installiert oder entfernt.
      Es müssen noch 0 B von 2.351 kB an Archiven heruntergeladen werden.
      Nach dieser Operation werden 4.096 B Plattenplatz freigegeben.
      Möchten Sie fortfahren? [J/n] J
      Changelogs werden gelesen... Fertig
      Unquoted string "gnuo" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 81.
      Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "3ub"
              (Missing operator before ub?)
      Unquoted string "ub" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 84.
      Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "ub export"
              (Do you need to predeclare ub?)
      debconf: Perl may be unconfigured (Unrecognized character \x1F; marked by <-- HERE after 3ub export<-- HERE near column 11 at /usr/share/perl/5.28/Exporter.pm line 84.
      Compilation failed in require at /usr/share/perl/5.28/Carp.pm line 222.
      Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.28/IO/File.pm line 7.
      BEGIN failed--compilation aborted at /usr/lib/arm-linux-gnueabihf/perl/5.28/IO/File.pm line 7.
      Compilation failed in require at /usr/share/perl/5.28/FileHandle.pm line 9.
      Compilation failed in require at (eval 1) line 3.
      BEGIN failed--compilation aborted at (eval 1) line 3.
      ) -- aborting
      (Lese Datenbank ... 55443 Dateien und Verzeichnisse sind derzeit installiert.)
      Vorbereitung zum Entpacken von .../libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb ...
      Unquoted string "gnuo" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 81.
      Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "3ub"
              (Missing operator before ub?)
      Unquoted string "ub" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 84.
      Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "ub export"
              (Do you need to predeclare ub?)
      Unrecognized character \x1F; marked by <-- HERE after 3ub export<-- HERE near column 11 at /usr/share/perl/5.28/Exporter.pm line 84.
      Compilation failed in require at /usr/share/perl/5.28/base.pm line 135.
              ...propagated at /usr/share/perl/5.28/base.pm line 157.
      BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Log.pm line 7.
      Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
      BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
      Compilation failed in require at /usr/share/debconf/frontend line 6.
      BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
      dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb (--unpack):
       »neues libc6:armhf-Skript des Paketes pre-installation«-Unterprozess gab den Fehlerwert 255 zurück
      Fehler traten auf beim Bearbeiten von:
       /var/cache/apt/archives/libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)
      pi@raspberrypi:~ $
      
      

      Jemand ein Idee was ich tun kann

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • C chinaboy

        Servus zusammen,

        wollte nach einem fehlgeschlagene mbus Adapter update mein System aktualisieren und bekomme beim ausführen folgenden Fehler:

        pi@raspberrypi:~ $ sudo apt dist-upgrade
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Probieren Sie »apt --fix-broken install«, um dies zu korrigieren.
        Die folgenden Pakete haben unerfüllte Abhängigkeiten:
         libc6-dbg : Hängt ab von: libc6 (= 2.28-10+rpt2+rpi1+deb10u1) aber 2.28-10+rpi1 ist installiert
         libc6-dev : Hängt ab von: libc6 (= 2.28-10+rpt2+rpi1+deb10u1) aber 2.28-10+rpi1 ist installiert
        E: Unerfüllte Abhängigkeiten. Versuchen Sie »apt --fix-broken install« ohne Angabe eines Pakets (oder geben Sie eine Lösung an).
        

        Es ist ein Master/Slave System
        Die Node js / NPM Stände von Master V12.22.1 / V6.14.12 und Slave V14.20.0 / V6.14.17 sind jetzt auch unterschiedlich ist mir aufgefallen.
        Zur Analyse:

        pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
        ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
        pi@raspberrypi:~ $
        pi@raspberrypi:~ $ uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        armv7l
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v12.22.1
        v12.22.1
        6.14.12
        pi
        /home/pi
        OK:1 http://archive.raspberrypi.org/debian buster InRelease
        OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
        OK:3 https://repos.influxdata.com/debian buster InRelease
        OK:4 https://deb.nodesource.com/node_14.x buster InRelease
        OK:5 https://packages.grafana.com/oss/deb stable InRelease
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Aktualisierung für 112 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
        nodejs:
          Installiert:           12.22.1-1nodesource1
          Installationskandidat: 14.20.0-deb-1nodesource1
          Versionstabelle:
             14.20.0-deb-1nodesource1 500
                500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
         *** 12.22.1-1nodesource1 100
                100 /var/lib/dpkg/status
             10.24.0~dfsg-1~deb10u1 500
                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        

        sudo apt --fix-broken install --> bringt das hier:

        pi@raspberrypi:~ $ sudo apt --fix-broken install
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Abhängigkeiten werden korrigiert ... Fertig
        Die folgenden zusätzlichen Pakete werden installiert:
          libc6
        Vorgeschlagene Pakete:
          glibc-doc
        Die folgenden Pakete werden aktualisiert (Upgrade):
          libc6
        1 aktualisiert, 0 neu installiert, 0 zu entfernen und 111 nicht aktualisiert.
        4 nicht vollständig installiert oder entfernt.
        Es müssen noch 0 B von 2.351 kB an Archiven heruntergeladen werden.
        Nach dieser Operation werden 4.096 B Plattenplatz freigegeben.
        Möchten Sie fortfahren? [J/n] J
        Changelogs werden gelesen... Fertig
        Unquoted string "gnuo" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 81.
        Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "3ub"
                (Missing operator before ub?)
        Unquoted string "ub" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 84.
        Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "ub export"
                (Do you need to predeclare ub?)
        debconf: Perl may be unconfigured (Unrecognized character \x1F; marked by <-- HERE after 3ub export<-- HERE near column 11 at /usr/share/perl/5.28/Exporter.pm line 84.
        Compilation failed in require at /usr/share/perl/5.28/Carp.pm line 222.
        Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.28/IO/File.pm line 7.
        BEGIN failed--compilation aborted at /usr/lib/arm-linux-gnueabihf/perl/5.28/IO/File.pm line 7.
        Compilation failed in require at /usr/share/perl/5.28/FileHandle.pm line 9.
        Compilation failed in require at (eval 1) line 3.
        BEGIN failed--compilation aborted at (eval 1) line 3.
        ) -- aborting
        (Lese Datenbank ... 55443 Dateien und Verzeichnisse sind derzeit installiert.)
        Vorbereitung zum Entpacken von .../libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb ...
        Unquoted string "gnuo" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 81.
        Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "3ub"
                (Missing operator before ub?)
        Unquoted string "ub" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 84.
        Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "ub export"
                (Do you need to predeclare ub?)
        Unrecognized character \x1F; marked by <-- HERE after 3ub export<-- HERE near column 11 at /usr/share/perl/5.28/Exporter.pm line 84.
        Compilation failed in require at /usr/share/perl/5.28/base.pm line 135.
                ...propagated at /usr/share/perl/5.28/base.pm line 157.
        BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Log.pm line 7.
        Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
        BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
        Compilation failed in require at /usr/share/debconf/frontend line 6.
        BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
        dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb (--unpack):
         »neues libc6:armhf-Skript des Paketes pre-installation«-Unterprozess gab den Fehlerwert 255 zurück
        Fehler traten auf beim Bearbeiten von:
         /var/cache/apt/archives/libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        pi@raspberrypi:~ $
        
        

        Jemand ein Idee was ich tun kann

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von Thomas Braun
        #674

        @chinaboy sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

        libc6

        Das ist ein sehr zentrales Paket, da muss man sehr vorsichtig sein.

        apt policy libc6 libc6-dbg libc6-dev
        

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        C 1 Antwort Letzte Antwort
        0
        • Thomas BraunT Thomas Braun

          @chinaboy sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

          libc6

          Das ist ein sehr zentrales Paket, da muss man sehr vorsichtig sein.

          apt policy libc6 libc6-dbg libc6-dev
          
          C Offline
          C Offline
          chinaboy
          schrieb am zuletzt editiert von
          #675

          @thomas-braun said in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

          apt policy libc6 libc6-dbg libc6-dev

          pi@raspberrypi:~ $ apt policy libc6 libc6-dbg libc6-dev
          libc6:
            Installiert:           2.28-10+rpi1
            Installationskandidat: 2.28-10+rpt2+rpi1+deb10u1
            Versionstabelle:
               2.28-10+rpt2+rpi1+deb10u1 500
                  500 http://archive.raspberrypi.org/debian buster/main armhf Packages
               2.28-10+rpi1+deb10u1 500
                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
           *** 2.28-10+rpi1 100
                  100 /var/lib/dpkg/status
          libc6-dbg:
            Installiert:           2.28-10+rpt2+rpi1+deb10u1
            Installationskandidat: 2.28-10+rpt2+rpi1+deb10u1
            Versionstabelle:
           *** 2.28-10+rpt2+rpi1+deb10u1 500
                  500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                  100 /var/lib/dpkg/status
               2.28-10+rpi1+deb10u1 500
                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
          libc6-dev:
            Installiert:           2.28-10+rpt2+rpi1+deb10u1
            Installationskandidat: 2.28-10+rpt2+rpi1+deb10u1
            Versionstabelle:
           *** 2.28-10+rpt2+rpi1+deb10u1 500
                  500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                  100 /var/lib/dpkg/status
               2.28-10+rpi1+deb10u1 500
                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
          pi@raspberrypi:~ $
          
          
          Thomas BraunT 1 Antwort Letzte Antwort
          0
          • C chinaboy

            @thomas-braun said in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

            apt policy libc6 libc6-dbg libc6-dev

            pi@raspberrypi:~ $ apt policy libc6 libc6-dbg libc6-dev
            libc6:
              Installiert:           2.28-10+rpi1
              Installationskandidat: 2.28-10+rpt2+rpi1+deb10u1
              Versionstabelle:
                 2.28-10+rpt2+rpi1+deb10u1 500
                    500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                 2.28-10+rpi1+deb10u1 500
                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
             *** 2.28-10+rpi1 100
                    100 /var/lib/dpkg/status
            libc6-dbg:
              Installiert:           2.28-10+rpt2+rpi1+deb10u1
              Installationskandidat: 2.28-10+rpt2+rpi1+deb10u1
              Versionstabelle:
             *** 2.28-10+rpt2+rpi1+deb10u1 500
                    500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                    100 /var/lib/dpkg/status
                 2.28-10+rpi1+deb10u1 500
                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
            libc6-dev:
              Installiert:           2.28-10+rpt2+rpi1+deb10u1
              Installationskandidat: 2.28-10+rpt2+rpi1+deb10u1
              Versionstabelle:
             *** 2.28-10+rpt2+rpi1+deb10u1 500
                    500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                    100 /var/lib/dpkg/status
                 2.28-10+rpi1+deb10u1 500
                    500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
            pi@raspberrypi:~ $
            
            
            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #676

            @chinaboy sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

            sudo apt update
            sudo apt install libc6=2.28-10+rpt2+rpi1+deb10u1
            sudo reboot
            

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            C 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @chinaboy sagte in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

              sudo apt update
              sudo apt install libc6=2.28-10+rpt2+rpi1+deb10u1
              sudo reboot
              
              C Offline
              C Offline
              chinaboy
              schrieb am zuletzt editiert von
              #677

              @thomas-braun said in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

              sudo apt install libc6=2.28-10+rpt2+rpi1+deb10u1

              pi@raspberrypi:~ $ sudo apt update
              OK:1 http://archive.raspberrypi.org/debian buster InRelease
              OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
              OK:3 https://deb.nodesource.com/node_14.x buster InRelease
              OK:4 https://packages.grafana.com/oss/deb stable InRelease
              OK:5 https://repos.influxdata.com/debian buster InRelease
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen.... Fertig
              Aktualisierung für 112 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
              pi@raspberrypi:~ $ sudo apt install libc6=2.28-10+rpt2+rpi1+deb10u1
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen.... Fertig
              Vorgeschlagene Pakete:
                glibc-doc
              Die folgenden Pakete werden aktualisiert (Upgrade):
                libc6
              1 aktualisiert, 0 neu installiert, 0 zu entfernen und 111 nicht aktualisiert.
              4 nicht vollständig installiert oder entfernt.
              Es müssen noch 0 B von 2.351 kB an Archiven heruntergeladen werden.
              Nach dieser Operation werden 4.096 B Plattenplatz freigegeben.
              Changelogs werden gelesen... Fertig
              Unquoted string "gnuo" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 81.
              Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "3ub"
                      (Missing operator before ub?)
              Unquoted string "ub" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 84.
              Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "ub export"
                      (Do you need to predeclare ub?)
              debconf: Perl may be unconfigured (Unrecognized character \x1F; marked by <-- HERE after 3ub export<-- HERE near column 11 at /usr/share/perl/5.28/Exporter.pm line 84.
              Compilation failed in require at /usr/share/perl/5.28/Carp.pm line 222.
              Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.28/IO/File.pm line 7.
              BEGIN failed--compilation aborted at /usr/lib/arm-linux-gnueabihf/perl/5.28/IO/File.pm line 7.
              Compilation failed in require at /usr/share/perl/5.28/FileHandle.pm line 9.
              Compilation failed in require at (eval 1) line 3.
              BEGIN failed--compilation aborted at (eval 1) line 3.
              ) -- aborting
              (Lese Datenbank ... 55443 Dateien und Verzeichnisse sind derzeit installiert.)
              Vorbereitung zum Entpacken von .../libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb ...
              Unquoted string "gnuo" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 81.
              Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "3ub"
                      (Missing operator before ub?)
              Unquoted string "ub" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 84.
              Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "ub export"
                      (Do you need to predeclare ub?)
              Unrecognized character \x1F; marked by <-- HERE after 3ub export<-- HERE near column 11 at /usr/share/perl/5.28/Exporter.pm line 84.
              Compilation failed in require at /usr/share/perl/5.28/base.pm line 135.
                      ...propagated at /usr/share/perl/5.28/base.pm line 157.
              BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Log.pm line 7.
              Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
              BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
              Compilation failed in require at /usr/share/debconf/frontend line 6.
              BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
              dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb (--unpack):
               »neues libc6:armhf-Skript des Paketes pre-installation«-Unterprozess gab den Fehlerwert 255 zurück
              Fehler traten auf beim Bearbeiten von:
               /var/cache/apt/archives/libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb
              E: Sub-process /usr/bin/dpkg returned an error code (1)
              pi@raspberrypi:~ $
              
              
              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • C chinaboy

                @thomas-braun said in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                sudo apt install libc6=2.28-10+rpt2+rpi1+deb10u1

                pi@raspberrypi:~ $ sudo apt update
                OK:1 http://archive.raspberrypi.org/debian buster InRelease
                OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                OK:3 https://deb.nodesource.com/node_14.x buster InRelease
                OK:4 https://packages.grafana.com/oss/deb stable InRelease
                OK:5 https://repos.influxdata.com/debian buster InRelease
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                Aktualisierung für 112 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                pi@raspberrypi:~ $ sudo apt install libc6=2.28-10+rpt2+rpi1+deb10u1
                Paketlisten werden gelesen... Fertig
                Abhängigkeitsbaum wird aufgebaut.
                Statusinformationen werden eingelesen.... Fertig
                Vorgeschlagene Pakete:
                  glibc-doc
                Die folgenden Pakete werden aktualisiert (Upgrade):
                  libc6
                1 aktualisiert, 0 neu installiert, 0 zu entfernen und 111 nicht aktualisiert.
                4 nicht vollständig installiert oder entfernt.
                Es müssen noch 0 B von 2.351 kB an Archiven heruntergeladen werden.
                Nach dieser Operation werden 4.096 B Plattenplatz freigegeben.
                Changelogs werden gelesen... Fertig
                Unquoted string "gnuo" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 81.
                Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "3ub"
                        (Missing operator before ub?)
                Unquoted string "ub" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 84.
                Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "ub export"
                        (Do you need to predeclare ub?)
                debconf: Perl may be unconfigured (Unrecognized character \x1F; marked by <-- HERE after 3ub export<-- HERE near column 11 at /usr/share/perl/5.28/Exporter.pm line 84.
                Compilation failed in require at /usr/share/perl/5.28/Carp.pm line 222.
                Compilation failed in require at /usr/lib/arm-linux-gnueabihf/perl/5.28/IO/File.pm line 7.
                BEGIN failed--compilation aborted at /usr/lib/arm-linux-gnueabihf/perl/5.28/IO/File.pm line 7.
                Compilation failed in require at /usr/share/perl/5.28/FileHandle.pm line 9.
                Compilation failed in require at (eval 1) line 3.
                BEGIN failed--compilation aborted at (eval 1) line 3.
                ) -- aborting
                (Lese Datenbank ... 55443 Dateien und Verzeichnisse sind derzeit installiert.)
                Vorbereitung zum Entpacken von .../libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb ...
                Unquoted string "gnuo" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 81.
                Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "3ub"
                        (Missing operator before ub?)
                Unquoted string "ub" may clash with future reserved word at /usr/share/perl/5.28/Exporter.pm line 84.
                Bareword found where operator expected at /usr/share/perl/5.28/Exporter.pm line 84, near "ub export"
                        (Do you need to predeclare ub?)
                Unrecognized character \x1F; marked by <-- HERE after 3ub export<-- HERE near column 11 at /usr/share/perl/5.28/Exporter.pm line 84.
                Compilation failed in require at /usr/share/perl/5.28/base.pm line 135.
                        ...propagated at /usr/share/perl/5.28/base.pm line 157.
                BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Log.pm line 7.
                Compilation failed in require at /usr/share/perl5/Debconf/Db.pm line 7.
                BEGIN failed--compilation aborted at /usr/share/perl5/Debconf/Db.pm line 7.
                Compilation failed in require at /usr/share/debconf/frontend line 6.
                BEGIN failed--compilation aborted at /usr/share/debconf/frontend line 6.
                dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb (--unpack):
                 »neues libc6:armhf-Skript des Paketes pre-installation«-Unterprozess gab den Fehlerwert 255 zurück
                Fehler traten auf beim Bearbeiten von:
                 /var/cache/apt/archives/libc6_2.28-10+rpt2+rpi1+deb10u1_armhf.deb
                E: Sub-process /usr/bin/dpkg returned an error code (1)
                pi@raspberrypi:~ $
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #678

                @chinaboy

                Keine Ahnung was du da zerschossen hast.
                Mal irgendwann irgendwie irgendwas am Paketmanager vorbei ins System gepflügt? Sieht mir nämlich danach aus.

                Ist aber für diesen Thread auch OT. Mach bei Bedarf einen eigenen auf, das hat mit nodejs nix zu tun

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                C 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @chinaboy

                  Keine Ahnung was du da zerschossen hast.
                  Mal irgendwann irgendwie irgendwas am Paketmanager vorbei ins System gepflügt? Sieht mir nämlich danach aus.

                  Ist aber für diesen Thread auch OT. Mach bei Bedarf einen eigenen auf, das hat mit nodejs nix zu tun

                  C Offline
                  C Offline
                  chinaboy
                  schrieb am zuletzt editiert von
                  #679

                  @thomas-braun
                  Schon mal Danke für deine Hilfe.
                  Ich versuch jetzt mal ein Backup einzuspielen auf einem neuen System16.x

                  Kannst du mir sagen wie ich bei einem Multihost System 1xMaster/1xSlave ein Backup richtig einspiele, hab das noch nie gemacht.
                  Muss ich das System vorher trennen oder geht das auch im Verbund?
                  Zuerst Slave dann Master oder reicht es nur auf dem Master das Backup einzuspielen?
                  Hab das noch nie gemacht, wäre cool wenns dazu einm kleines Kochrezept gibt.

                  1 Antwort Letzte Antwort
                  0
                  • A Offline
                    A Offline
                    andygla
                    schrieb am zuletzt editiert von
                    #680

                    Bei mir funktioniert das leider nicht. ich bekomme folgende Meldung:

                    nodejs is already the newest version (12.22.12-deb-1nodesource1).

                    Hat jemand eine Lösung dafür?

                    Danke.

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • A andygla

                      Bei mir funktioniert das leider nicht. ich bekomme folgende Meldung:

                      nodejs is already the newest version (12.22.12-deb-1nodesource1).

                      Hat jemand eine Lösung dafür?

                      Danke.

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #681

                      @andygla

                      Lösung: Repository einrichten.

                      Wie biste denn da jetzt unterwegs?

                      sudo ln -s /usr/bin/node /usr/bin/nodejs
                      uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                      

                      anschauen.

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      A 2 Antworten Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @andygla

                        Lösung: Repository einrichten.

                        Wie biste denn da jetzt unterwegs?

                        sudo ln -s /usr/bin/node /usr/bin/nodejs
                        uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        

                        anschauen.

                        A Offline
                        A Offline
                        andygla
                        schrieb am zuletzt editiert von
                        #682

                        @thomas-braun said in [How-to] Node.js ioBroker richtig updaten-2021/22 Edition:

                        sudo ln -s /usr/bin/node /usr/bin/nodejs uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs

                        1 Antwort Letzte Antwort
                        0
                        • Thomas BraunT Thomas Braun

                          @andygla

                          Lösung: Repository einrichten.

                          Wie biste denn da jetzt unterwegs?

                          sudo ln -s /usr/bin/node /usr/bin/nodejs
                          uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                          

                          anschauen.

                          A Offline
                          A Offline
                          andygla
                          schrieb am zuletzt editiert von
                          #683

                          @thomas-braun

                          Danke.
                          Das ist das Ergebnis.

                          armv7l
                          /usr/bin/nodejs
                          /usr/bin/node
                          /usr/bin/npm
                          v12.22.12
                          v12.22.12

                          6.14.16
                          pi
                          /home/pi

                          Thomas BraunT 1 Antwort Letzte Antwort
                          0
                          • A andygla

                            @thomas-braun

                            Danke.
                            Das ist das Ergebnis.

                            armv7l
                            /usr/bin/nodejs
                            /usr/bin/node
                            /usr/bin/npm
                            v12.22.12
                            v12.22.12

                            6.14.16
                            pi
                            /home/pi

                            Thomas BraunT Online
                            Thomas BraunT Online
                            Thomas Braun
                            Most Active
                            schrieb am zuletzt editiert von
                            #684

                            @andygla

                            Bitte in CodeTags posten, danke.

                            iobroker stop
                            sudo apt update
                            sudo apt full-upgrade
                            sudo reboot
                            

                            Linux-Werkzeugkasten:
                            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                            NodeJS Fixer Skript:
                            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                            A 1 Antwort Letzte Antwort
                            0
                            • Thomas BraunT Thomas Braun

                              @andygla

                              Bitte in CodeTags posten, danke.

                              iobroker stop
                              sudo apt update
                              sudo apt full-upgrade
                              sudo reboot
                              
                              A Offline
                              A Offline
                              andygla
                              schrieb am zuletzt editiert von
                              #685

                              @thomas-braun

                              Sorry absoluter rookie.

                              pi@raspberrypi:~ $ 
                              pi@raspberrypi:~ $ iobroker stop
                              pi@raspberrypi:~ $ sudo apt update
                              Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
                              Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                                                                                                                                                                                                                            
                              Get:3 https://packages.grafana.com/oss/deb stable InRelease [12.1 kB]                                                                                                                                                                   
                              Hit:4 https://repos.influxdata.com/debian buster InRelease                                                                                                                                                                              
                              Hit:5 https://phoscon.de/apt/deconz buster InRelease                                                                                                                              
                              Hit:6 https://deb.nodesource.com/node_12.x buster InRelease                                            
                              E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'
                              N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
                              Do you want to accept these changes and continue updating from this repository? [y/N] y
                              Err:3 https://packages.grafana.com/oss/deb stable InRelease                                                                                                                                                                                                                                                                                                                
                                The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
                              Reading package lists... Done                                                                                                                                                                                                                                                                                                                                              
                              W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
                              E: The repository 'https://packages.grafana.com/oss/deb 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@raspberrypi:~ $ sudo apt-get  install -y nodejs
                              
                              
                              Thomas BraunT 3 Antworten Letzte Antwort
                              0
                              • A andygla

                                @thomas-braun

                                Sorry absoluter rookie.

                                pi@raspberrypi:~ $ 
                                pi@raspberrypi:~ $ iobroker stop
                                pi@raspberrypi:~ $ sudo apt update
                                Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
                                Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                                                                                                                                                                                                                            
                                Get:3 https://packages.grafana.com/oss/deb stable InRelease [12.1 kB]                                                                                                                                                                   
                                Hit:4 https://repos.influxdata.com/debian buster InRelease                                                                                                                                                                              
                                Hit:5 https://phoscon.de/apt/deconz buster InRelease                                                                                                                              
                                Hit:6 https://deb.nodesource.com/node_12.x buster InRelease                                            
                                E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'
                                N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
                                Do you want to accept these changes and continue updating from this repository? [y/N] y
                                Err:3 https://packages.grafana.com/oss/deb stable InRelease                                                                                                                                                                                                                                                                                                                
                                  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
                                Reading package lists... Done                                                                                                                                                                                                                                                                                                                                              
                                W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
                                E: The repository 'https://packages.grafana.com/oss/deb 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@raspberrypi:~ $ sudo apt-get  install -y nodejs
                                
                                
                                Thomas BraunT Online
                                Thomas BraunT Online
                                Thomas Braun
                                Most Active
                                schrieb am zuletzt editiert von
                                #686

                                @andygla

                                Zu Grafana:

                                sudo apt-get install -y apt-transport-https
                                sudo apt-get install -y software-properties-common wget
                                wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
                                sudo apt update 
                                sudo apt full-upgrade
                                

                                Linux-Werkzeugkasten:
                                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                NodeJS Fixer Skript:
                                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                1 Antwort Letzte Antwort
                                0
                                • A andygla

                                  @thomas-braun

                                  Sorry absoluter rookie.

                                  pi@raspberrypi:~ $ 
                                  pi@raspberrypi:~ $ iobroker stop
                                  pi@raspberrypi:~ $ sudo apt update
                                  Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
                                  Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                                                                                                                                                                                                                            
                                  Get:3 https://packages.grafana.com/oss/deb stable InRelease [12.1 kB]                                                                                                                                                                   
                                  Hit:4 https://repos.influxdata.com/debian buster InRelease                                                                                                                                                                              
                                  Hit:5 https://phoscon.de/apt/deconz buster InRelease                                                                                                                              
                                  Hit:6 https://deb.nodesource.com/node_12.x buster InRelease                                            
                                  E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'
                                  N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
                                  Do you want to accept these changes and continue updating from this repository? [y/N] y
                                  Err:3 https://packages.grafana.com/oss/deb stable InRelease                                                                                                                                                                                                                                                                                                                
                                    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
                                  Reading package lists... Done                                                                                                                                                                                                                                                                                                                                              
                                  W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
                                  E: The repository 'https://packages.grafana.com/oss/deb 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@raspberrypi:~ $ sudo apt-get  install -y nodejs
                                  
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von Thomas Braun
                                  #687

                                  @andygla

                                  Zu nodejs:

                                  curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash
                                  sudo apt update
                                  sudo apt install nodejs
                                  sudo ln -s /usr/bin/node /usr/bin/nodejs
                                  

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  1 Antwort Letzte Antwort
                                  0
                                  • A andygla

                                    @thomas-braun

                                    Sorry absoluter rookie.

                                    pi@raspberrypi:~ $ 
                                    pi@raspberrypi:~ $ iobroker stop
                                    pi@raspberrypi:~ $ sudo apt update
                                    Get:1 http://archive.raspberrypi.org/debian buster InRelease [32.6 kB]
                                    Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                                                                                                                                                                                                                            
                                    Get:3 https://packages.grafana.com/oss/deb stable InRelease [12.1 kB]                                                                                                                                                                   
                                    Hit:4 https://repos.influxdata.com/debian buster InRelease                                                                                                                                                                              
                                    Hit:5 https://phoscon.de/apt/deconz buster InRelease                                                                                                                              
                                    Hit:6 https://deb.nodesource.com/node_12.x buster InRelease                                            
                                    E: Repository 'http://archive.raspberrypi.org/debian buster InRelease' changed its 'Suite' value from 'testing' to 'oldstable'
                                    N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
                                    Do you want to accept these changes and continue updating from this repository? [y/N] y
                                    Err:3 https://packages.grafana.com/oss/deb stable InRelease                                                                                                                                                                                                                                                                                                                
                                      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
                                    Reading package lists... Done                                                                                                                                                                                                                                                                                                                                              
                                    W: GPG error: https://packages.grafana.com/oss/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 8C8C34C524098CB6
                                    E: The repository 'https://packages.grafana.com/oss/deb 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@raspberrypi:~ $ sudo apt-get  install -y nodejs
                                    
                                    
                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    schrieb am zuletzt editiert von
                                    #688

                                    @andygla

                                    Und dann regelmäßig das System auf Stand halten.
                                    Das ist offenbar noch nie gemacht worden, der suite change ist nämlich schon fast ein Jahr her. Seither ist apt also nicht mehr angepackt worden...

                                    Regelmäßig alle paar Wochen:

                                    sudo apt update
                                    sudo apt full-upgrade
                                    sudo reboot
                                    

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    A 1 Antwort Letzte Antwort
                                    0
                                    • Thomas BraunT Thomas Braun

                                      @andygla

                                      Und dann regelmäßig das System auf Stand halten.
                                      Das ist offenbar noch nie gemacht worden, der suite change ist nämlich schon fast ein Jahr her. Seither ist apt also nicht mehr angepackt worden...

                                      Regelmäßig alle paar Wochen:

                                      sudo apt update
                                      sudo apt full-upgrade
                                      sudo reboot
                                      
                                      A Offline
                                      A Offline
                                      andygla
                                      schrieb am zuletzt editiert von
                                      #689

                                      @thomas-braun

                                      hat funktioniert. Vielen Dank!!!

                                      1 Antwort Letzte Antwort
                                      0
                                      • S Offline
                                        S Offline
                                        spacecowboy.21
                                        schrieb am zuletzt editiert von
                                        #690

                                        Ich bräuchte mal eure hilfe.

                                        Ich habe versucht Node.js zu auf die 16.x Version zu bekommen.
                                        Das update ist auch ohne Fehler durchgelaufen.

                                        Node sollte ja auch gleich sein. Ist es aber nicht.

                                        x86_64
                                        /usr/bin/nodejs
                                        /usr/local/bin/node
                                        /usr/local/bin/npm
                                        v16.16.0
                                        v14.18.2
                                        8.15.1
                                        root
                                        /opt/iobroker
                                        Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
                                        Hit:2 https://deb.nodesource.com/node_16.x bullseye InRelease
                                        Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
                                        Hit:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease
                                        Reading package lists... Done                     
                                        Building dependency tree       
                                        Reading state information... Done
                                        All packages are up to date.
                                        nodejs:
                                          Installed: 16.16.0-deb-1nodesource1
                                          Candidate: 16.16.0-deb-1nodesource1
                                          Version table:
                                         *** 16.16.0-deb-1nodesource1 500
                                                500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                                                100 /var/lib/dpkg/status
                                             8.10.0~dfsg-2ubuntu0.4 500
                                                500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                                             8.10.0~dfsg-2ubuntu0.2 500
                                                500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
                                             8.10.0~dfsg-2 500
                                                500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
                                        

                                        wie bekomme ich das wieder gerade?

                                        Thomas BraunT 1 Antwort Letzte Antwort
                                        0
                                        • S spacecowboy.21

                                          Ich bräuchte mal eure hilfe.

                                          Ich habe versucht Node.js zu auf die 16.x Version zu bekommen.
                                          Das update ist auch ohne Fehler durchgelaufen.

                                          Node sollte ja auch gleich sein. Ist es aber nicht.

                                          x86_64
                                          /usr/bin/nodejs
                                          /usr/local/bin/node
                                          /usr/local/bin/npm
                                          v16.16.0
                                          v14.18.2
                                          8.15.1
                                          root
                                          /opt/iobroker
                                          Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
                                          Hit:2 https://deb.nodesource.com/node_16.x bullseye InRelease
                                          Hit:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease
                                          Hit:4 http://archive.ubuntu.com/ubuntu bionic-security InRelease
                                          Reading package lists... Done                     
                                          Building dependency tree       
                                          Reading state information... Done
                                          All packages are up to date.
                                          nodejs:
                                            Installed: 16.16.0-deb-1nodesource1
                                            Candidate: 16.16.0-deb-1nodesource1
                                            Version table:
                                           *** 16.16.0-deb-1nodesource1 500
                                                  500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages
                                                  100 /var/lib/dpkg/status
                                               8.10.0~dfsg-2ubuntu0.4 500
                                                  500 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages
                                               8.10.0~dfsg-2ubuntu0.2 500
                                                  500 http://archive.ubuntu.com/ubuntu bionic-security/universe amd64 Packages
                                               8.10.0~dfsg-2 500
                                                  500 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages
                                          

                                          wie bekomme ich das wieder gerade?

                                          Thomas BraunT Online
                                          Thomas BraunT Online
                                          Thomas Braun
                                          Most Active
                                          schrieb am zuletzt editiert von Thomas Braun
                                          #691

                                          @spacecowboy-21

                                          Ich habe versucht Node.js zu auf die 16.x Version zu bekommen.

                                          Wie und was hast du gemacht? Insbesondere als root im Zusammenhang mit node14...

                                          https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                                          Eigentlich IMMER das gleiche...
                                          NICHT als root rumhampeln, NICHT am Paketmanager vorbei irgendwas ins System donnern.

                                          Linux-Werkzeugkasten:
                                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                          NodeJS Fixer Skript:
                                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                          S 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          608

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe