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

donate donate
  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.5k

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

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

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

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
812 Beiträge 97 Kommentatoren 364.9k 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.
  • da_WoodyD da_Woody

    @marlan99 :+1: es lebt... ;)

    J Offline
    J Offline
    Josh
    schrieb am zuletzt editiert von
    #662

    Habe jetzt auch das Upgrade von V14 auf V16 auf meinem Master und den beiden Slaves gewagt. Hat alles wunderbar geklappt. Selbst die beiden ZigBee-Adapter werden wieder grün und auch der rpi2-Adapter.

    Danke für die gute Arbeit :-)

    Master: Intel NUC10i5-32GB-1TB_SSD - Proxmox 8.3 - LXC Debian 11
    Slave1: RPi3B - ZigBee CC2652P - 10x DS18B20
    Slave2: RPi3B - ZigBee CC2538+CC2592
    node.js 20.18.1 / NPM 10.8.2 / js-controller 7.0.3

    1 Antwort Letzte Antwort
    2
    • kxnK Offline
      kxnK Offline
      kxn
      schrieb am zuletzt editiert von
      #663

      Hallo ich habe das Problem das ich influxdb nicht von ver 2 auf 3 updaten kann seit dem Nodejs update von 14 auaf 16...

      Das update endet mit dem Error 25!

      Hier mein output zu meinem System:

      aarch64
      /usr/bin/nodejs
      /usr/bin/node
      /usr/bin/npm
      v16.16.0
      v16.16.0
      8.11.0
      pi
      /home/pi
      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_16.x buster InRelease
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      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 buster/main armhf Packages
              100 /var/lib/dpkg/status
           10.24.0~dfsg-1~deb10u1 500
              500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
      
      
      Thomas BraunT apollon77A 2 Antworten Letzte Antwort
      0
      • kxnK kxn

        Hallo ich habe das Problem das ich influxdb nicht von ver 2 auf 3 updaten kann seit dem Nodejs update von 14 auaf 16...

        Das update endet mit dem Error 25!

        Hier mein output zu meinem System:

        aarch64
        /usr/bin/nodejs
        /usr/bin/node
        /usr/bin/npm
        v16.16.0
        v16.16.0
        8.11.0
        pi
        /home/pi
        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_16.x buster InRelease
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        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 buster/main armhf Packages
                100 /var/lib/dpkg/status
             10.24.0~dfsg-1~deb10u1 500
                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #664

        @kxn

        Upgrade mit aktiver --debug-Option liefert?

        (Vermutlich den Hinweis, Verzeichnisse umzubenennen).

        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
        1
        • kxnK kxn

          Hallo ich habe das Problem das ich influxdb nicht von ver 2 auf 3 updaten kann seit dem Nodejs update von 14 auaf 16...

          Das update endet mit dem Error 25!

          Hier mein output zu meinem System:

          aarch64
          /usr/bin/nodejs
          /usr/bin/node
          /usr/bin/npm
          v16.16.0
          v16.16.0
          8.11.0
          pi
          /home/pi
          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_16.x buster InRelease
          Paketlisten werden gelesen... Fertig
          Abhängigkeitsbaum wird aufgebaut.
          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 buster/main armhf Packages
                  100 /var/lib/dpkg/status
               10.24.0~dfsg-1~deb10u1 500
                  500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
          
          
          apollon77A Offline
          apollon77A Offline
          apollon77
          schrieb am zuletzt editiert von
          #665

          @kxn Bitte das upgrade kommando mit --debug laufen lassen ... Dann hat npm irgendein Problem.

          Voraussichtlich meckert er das es irgendwelche temporären Verzeichnisse schon gibt dann diese löschen

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          GlasfaserG 1 Antwort Letzte Antwort
          0
          • apollon77A apollon77

            @kxn Bitte das upgrade kommando mit --debug laufen lassen ... Dann hat npm irgendein Problem.

            Voraussichtlich meckert er das es irgendwelche temporären Verzeichnisse schon gibt dann diese löschen

            GlasfaserG Offline
            GlasfaserG Offline
            Glasfaser
            schrieb am zuletzt editiert von
            #666

            @apollon77

            Jeder neu erstellte Thread oder im bestehenden Thread kommt immer diese Anfrage
            und wird immer von neuen durchgekaut .

            Abwohl du hier ein Hinweis hinterlegt hast :

            3ebf0ae8-53d7-4b66-aac0-a63a73be289a-grafik.png

            und @thomas-braun im Howto Thread erklärt hat .

            Könnte man das nicht für die " Übergangszeit " NodeJS10 /12 /14 zu Nodjs16 noch mehr kenntlicher machen im Thread -Start !?

            Thomas hast es so :

            8f19020c-9e78-4ba2-b41f-5b7dcc0172aa-grafik.png

            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

            1Topf1 1 Antwort Letzte Antwort
            0
            • GlasfaserG Glasfaser

              @apollon77

              Jeder neu erstellte Thread oder im bestehenden Thread kommt immer diese Anfrage
              und wird immer von neuen durchgekaut .

              Abwohl du hier ein Hinweis hinterlegt hast :

              3ebf0ae8-53d7-4b66-aac0-a63a73be289a-grafik.png

              und @thomas-braun im Howto Thread erklärt hat .

              Könnte man das nicht für die " Übergangszeit " NodeJS10 /12 /14 zu Nodjs16 noch mehr kenntlicher machen im Thread -Start !?

              Thomas hast es so :

              8f19020c-9e78-4ba2-b41f-5b7dcc0172aa-grafik.png

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

              Hallo zusammen.

              Ich wollte nun auch mal auf Nodejs 16 hoch, aber das funzt nicht. Braucht man für die v16 eventuell zwingend npm 8? Muß ich das extra / manuell hochziehen?
              Oder habe ich ein anderes Problem? Siehe Zeile 19?
              JS Controller ist die V 4.0.23. System ist Debian Bullseye, vorher mit update/upgrade eingesalbt. :blush:

              iobroker@ioBroker:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
              sudo apt install -y nodejs
              
              ## Installing the NodeSource Node.js 16.x repo...
              
              
              ## Populating apt-get cache...
              
              + apt-get update
              OK:1 http://deb.debian.org/debian bullseye InRelease
              OK:2 http://security.debian.org/debian-security bullseye-security InRelease
              OK:3 http://deb.debian.org/debian bullseye-updates InRelease
              Ign:4 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid InRelease
              Holen:5 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release [13,9 kB]
              OK:6 https://deb.nodesource.com/node_14.x bullseye InRelease
              Holen:7 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release.gpg [316 B]
              Ign:7 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release.gpg
              Paketlisten werden gelesen… Fertig
              W: GPG-Fehler: http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release: Die folgenden Signaturen waren ungültig: 2042F03C5FABD0BA2CED40412B3F92F902D65EFF
              E: Das Depot »http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release« 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).
              Error executing command, exiting
              Paketlisten werden gelesen… Fertig
              Abhängigkeitsbaum wird aufgebaut… Fertig
              Statusinformationen werden eingelesen… Fertig
              nodejs ist schon die neueste Version (14.20.0-deb-1nodesource1).
              Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                linux-image-5.10.0-9-amd64
              Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
              0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
              iobroker@ioBroker:/opt/iobroker$ iobroker start
              iobroker@ioBroker:/opt/iobroker$ npm -v
              6.14.17
              iobroker@ioBroker:/opt/iobroker$ node -v
              v14.20.0
              iobroker@ioBroker:/opt/iobroker$ nodejs -v
              v14.20.0
              iobroker@ioBroker:/opt/iobroker$
              
              
              Thomas BraunT J 2 Antworten Letzte Antwort
              0
              • 1Topf1 1Topf

                Hallo zusammen.

                Ich wollte nun auch mal auf Nodejs 16 hoch, aber das funzt nicht. Braucht man für die v16 eventuell zwingend npm 8? Muß ich das extra / manuell hochziehen?
                Oder habe ich ein anderes Problem? Siehe Zeile 19?
                JS Controller ist die V 4.0.23. System ist Debian Bullseye, vorher mit update/upgrade eingesalbt. :blush:

                iobroker@ioBroker:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
                sudo apt install -y nodejs
                
                ## Installing the NodeSource Node.js 16.x repo...
                
                
                ## Populating apt-get cache...
                
                + apt-get update
                OK:1 http://deb.debian.org/debian bullseye InRelease
                OK:2 http://security.debian.org/debian-security bullseye-security InRelease
                OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                Ign:4 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid InRelease
                Holen:5 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release [13,9 kB]
                OK:6 https://deb.nodesource.com/node_14.x bullseye InRelease
                Holen:7 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release.gpg [316 B]
                Ign:7 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release.gpg
                Paketlisten werden gelesen… Fertig
                W: GPG-Fehler: http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release: Die folgenden Signaturen waren ungültig: 2042F03C5FABD0BA2CED40412B3F92F902D65EFF
                E: Das Depot »http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release« 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).
                Error executing command, exiting
                Paketlisten werden gelesen… Fertig
                Abhängigkeitsbaum wird aufgebaut… Fertig
                Statusinformationen werden eingelesen… Fertig
                nodejs ist schon die neueste Version (14.20.0-deb-1nodesource1).
                Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                  linux-image-5.10.0-9-amd64
                Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                iobroker@ioBroker:/opt/iobroker$ iobroker start
                iobroker@ioBroker:/opt/iobroker$ npm -v
                6.14.17
                iobroker@ioBroker:/opt/iobroker$ node -v
                v14.20.0
                iobroker@ioBroker:/opt/iobroker$ nodejs -v
                v14.20.0
                iobroker@ioBroker:/opt/iobroker$
                
                
                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von Thomas Braun
                #668

                @1topf

                Was ist das? Zu 99,9% falsche Quelle:

                http://ppa.launchpad.net/linrunner/tlp/ubuntu
                

                Das ist für Ubuntu und auch noch ein ppa. Also was ist das?
                Lösch die zugehörige .list-Datei.

                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
                • 1Topf1 1Topf

                  Hallo zusammen.

                  Ich wollte nun auch mal auf Nodejs 16 hoch, aber das funzt nicht. Braucht man für die v16 eventuell zwingend npm 8? Muß ich das extra / manuell hochziehen?
                  Oder habe ich ein anderes Problem? Siehe Zeile 19?
                  JS Controller ist die V 4.0.23. System ist Debian Bullseye, vorher mit update/upgrade eingesalbt. :blush:

                  iobroker@ioBroker:/opt/iobroker$ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
                  sudo apt install -y nodejs
                  
                  ## Installing the NodeSource Node.js 16.x repo...
                  
                  
                  ## Populating apt-get cache...
                  
                  + apt-get update
                  OK:1 http://deb.debian.org/debian bullseye InRelease
                  OK:2 http://security.debian.org/debian-security bullseye-security InRelease
                  OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                  Ign:4 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid InRelease
                  Holen:5 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release [13,9 kB]
                  OK:6 https://deb.nodesource.com/node_14.x bullseye InRelease
                  Holen:7 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release.gpg [316 B]
                  Ign:7 http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release.gpg
                  Paketlisten werden gelesen… Fertig
                  W: GPG-Fehler: http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release: Die folgenden Signaturen waren ungültig: 2042F03C5FABD0BA2CED40412B3F92F902D65EFF
                  E: Das Depot »http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid Release« 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).
                  Error executing command, exiting
                  Paketlisten werden gelesen… Fertig
                  Abhängigkeitsbaum wird aufgebaut… Fertig
                  Statusinformationen werden eingelesen… Fertig
                  nodejs ist schon die neueste Version (14.20.0-deb-1nodesource1).
                  Das folgende Paket wurde automatisch installiert und wird nicht mehr benötigt:
                    linux-image-5.10.0-9-amd64
                  Verwenden Sie »sudo apt autoremove«, um es zu entfernen.
                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                  iobroker@ioBroker:/opt/iobroker$ iobroker start
                  iobroker@ioBroker:/opt/iobroker$ npm -v
                  6.14.17
                  iobroker@ioBroker:/opt/iobroker$ node -v
                  v14.20.0
                  iobroker@ioBroker:/opt/iobroker$ nodejs -v
                  v14.20.0
                  iobroker@ioBroker:/opt/iobroker$
                  
                  
                  J Offline
                  J Offline
                  Jan1
                  schrieb am zuletzt editiert von Jan1
                  #669

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

                  OK:6 https://deb.nodesource.com/node_14.x bullseye InRelease

                  Solange da nicht ein Eintrag mit 16 auftaucht, wirst auch nicht auf 16 hoch kommen.
                  Die falsche Quelle zu launchpad hat Thomas schon angemeckert. Du hast Debian und ubuntu als Quelle, kann nur schief gehen.
                  NPM kommt mit Node, deshalb, nie an NPM manuelle fummeln ;)

                  1 Antwort Letzte Antwort
                  0
                  • 1Topf1 Offline
                    1Topf1 Offline
                    1Topf
                    schrieb am zuletzt editiert von
                    #670

                    @thomas-braun

                    Hat mich eben auch gewundert, verstehe auch nicht, wie das da hingekommen ist. Ist ein Debian ohne GUI und wird alle paar Wochen per update/upgrade gepflegt. Bislang problemlos. sources.list sah so aus:

                    # deb cdrom:[Debian GNU/Linux 11.1.0 _Bullseye_ - Official amd64 NETINST 20211009-10:07]/ bullseye main
                    
                    #deb cdrom:[Debian GNU/Linux 11.1.0 _Bullseye_ - Official amd64 NETINST 20211009-10:07]/ bullseye main
                    
                    deb http://deb.debian.org/debian/ bullseye main
                    deb-src http://deb.debian.org/debian/ bullseye main
                    
                    deb http://security.debian.org/debian-security bullseye-security main
                    deb-src http://security.debian.org/debian-security bullseye-security main
                    
                    # bullseye-updates, to get updates before a point release is made;
                    # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
                    deb http://deb.debian.org/debian/ bullseye-updates main
                    deb-src http://deb.debian.org/debian/ bullseye-updates main
                    
                    deb http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid main
                    
                    # This system was installed using small removable media
                    # (e.g. netinst, live or single CD). The matching "deb cdrom"
                    # entries were disabled at the end of the installation process.
                    # For information about how to configure apt package sources,
                    # see the sources.list(5) manual.
                    

                    Hab Ubuntu ausgeklammert, jetzt lief alles durch. :+1:
                    Mal schaun, ob die Adapter dann noch alle gehen.

                    Thomas BraunT 1 Antwort Letzte Antwort
                    0
                    • 1Topf1 1Topf

                      @thomas-braun

                      Hat mich eben auch gewundert, verstehe auch nicht, wie das da hingekommen ist. Ist ein Debian ohne GUI und wird alle paar Wochen per update/upgrade gepflegt. Bislang problemlos. sources.list sah so aus:

                      # deb cdrom:[Debian GNU/Linux 11.1.0 _Bullseye_ - Official amd64 NETINST 20211009-10:07]/ bullseye main
                      
                      #deb cdrom:[Debian GNU/Linux 11.1.0 _Bullseye_ - Official amd64 NETINST 20211009-10:07]/ bullseye main
                      
                      deb http://deb.debian.org/debian/ bullseye main
                      deb-src http://deb.debian.org/debian/ bullseye main
                      
                      deb http://security.debian.org/debian-security bullseye-security main
                      deb-src http://security.debian.org/debian-security bullseye-security main
                      
                      # bullseye-updates, to get updates before a point release is made;
                      # see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
                      deb http://deb.debian.org/debian/ bullseye-updates main
                      deb-src http://deb.debian.org/debian/ bullseye-updates main
                      
                      deb http://ppa.launchpad.net/linrunner/tlp/ubuntu lucid main
                      
                      # This system was installed using small removable media
                      # (e.g. netinst, live or single CD). The matching "deb cdrom"
                      # entries were disabled at the end of the installation process.
                      # For information about how to configure apt package sources,
                      # see the sources.list(5) manual.
                      

                      Hab Ubuntu ausgeklammert, jetzt lief alles durch. :+1:
                      Mal schaun, ob die Adapter dann noch alle gehen.

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

                      @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?

                      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

                      1Topf1 1 Antwort Letzte Antwort
                      0
                      • 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
                                          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

                                          782

                                          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