Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update Node.js auf 14 klappt nicht

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Update Node.js auf 14 klappt nicht

    This topic has been deleted. Only users with topic management privileges can see it.
    • Baumert
      Baumert @Thomas Braun last edited by

      @thomas-braun

      sieht bis jetzt gut aus:

      sudo apt update
      OK:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
      Holen:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
      OK:3 https://dl.yarnpkg.com/debian stable InRelease
      OK:4 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
      OK:5 https://deb.nodesource.com/node_14.x focal InRelease
      Holen:6 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
      Es wurden 222 kB in 1 s geholt (281 kB/s).
      Paketlisten werden gelesen... Fertig
      Abhängigkeitsbaum wird aufgebaut.
      Statusinformationen werden eingelesen.... Fertig
      Alle Pakete sind aktuell.
      

      Wie ergänze ich die Datei /etc/apt/sources.list.d/nodesource.list um den Eintrag nodejs18?

      Thomas Braun 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Baumert last edited by

        @baumert sagte in Update Node.js auf 14 klappt nicht:

        Wie ergänze ich die Datei /etc/apt/sources.list.d/nodesource.list um den Eintrag nodejs18?

        Mit einem Editor.
        nano ist z. B. einer.

        sudo nano /etc/apt/sources.list.d/nodesource.list
        
        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Baumert last edited by Thomas Braun

          @baumert sagte in Update Node.js auf 14 klappt nicht:
          Die Quellen würde ich auch noch ausschalten:

          https://dl.yarnpkg.com/debian stable InRelease
          http://de.archive.ubuntu.com/ubuntu focal-backports InRelease
          

          Backports in der sources.list (Zeile 36) und yarnpkg musste mal suchen wo das herkommt:

          grep -R "yarnpkg" /etc/apt/
          

          Und es fehlen dir nun die Quellen für grafana und influx. Wolltest du die nicht mehr?

          Baumert 1 Reply Last reply Reply Quote 0
          • Baumert
            Baumert @Thomas Braun last edited by

            @thomas-braun

            sorry, nano war klar - ich meinte was trage ich ein...

            Es sieht jetzt so aus:

             sudo apt update
            OK:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
            OK:2 http://security.ubuntu.com/ubuntu focal-security InRelease
            OK:3 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
            Holen:4 http://de.archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
            OK:5 https://deb.nodesource.com/node_14.x focal InRelease
            Es wurden 108 kB in 5 s geholt (20,6 kB/s).
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Alle Pakete sind aktuell.
            

            Wie bekommen ich noch diesen Eintrag weg bzw. ausgeschaltet:

            http://de.archive.ubuntu.com/ubuntu focal-backports InRelease
            

            Die Quellen für grafana und influx möchte ich gerne wieder.
            Diese müssen verschwunden sein, wo ich die beiden manuelle aktualisiert habe...

            Baumert Thomas Braun 2 Replies Last reply Reply Quote 0
            • Baumert
              Baumert @Baumert last edited by

              @baumert

               grep -R "focal-backports" /etc/apt/
              

              sagt

              /etc/apt/sources.list:deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
              /etc/apt/sources.list:# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
              /etc/apt/sources.list.save:deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
              /etc/apt/sources.list.save:# deb-src http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Baumert last edited by

                @baumert sagte in Update Node.js auf 14 klappt nicht:

                ich meinte was trage ich ein...

                Statt 14 wie im Moment eine 18.
                Schaut dann halt so oder so ähnlich aus:

                deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x focal main
                

                Die Backports schaltet man aus, indem man in Zeile 36 ein Kommentarzeichen setzt.

                ## Also, please note that software in backports WILL NOT receive any review
                ## or updates from the Ubuntu security team.
                # deb http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
                # deb-src http://de.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
                

                Und lösch die .save-Dateien.

                sudo rm /etc/apt/sources.list.save
                

                Die Quellen für grafana und influx möchte ich gerne wieder.

                Hatte ich oben haarklein schon aufgeführt, wie die richtig angelegt werden.

                Baumert 1 Reply Last reply Reply Quote 0
                • Baumert
                  Baumert @Thomas Braun last edited by

                  @thomas-braun

                  soweit sieht es jetzt gut aus - bin jetzt auf Node.js v18.16.0

                  System Neu.png

                  Save-Dateien wurden gelöscht und focal-backports wurde deaktiviert.

                  Quellen für grafana und influxdb wurde wieder eingebunden, aber jetzt habe ich folgende Meldung (Zeile 16 und 17):

                  sudo apt update
                  OK:1 http://security.ubuntu.com/ubuntu focal-security InRelease
                  OK:2 http://de.archive.ubuntu.com/ubuntu focal InRelease
                  Holen:3 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
                  OK:4 https://apt.grafana.com stable InRelease
                  OK:5 https://repos.influxdata.com/debian stable InRelease
                  OK:6 https://deb.nodesource.com/node_18.x focal InRelease
                  Holen:7 http://de.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [275 kB]
                  Holen:8 http://de.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [410 kB]
                  Holen:9 http://de.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [944 B]
                  Es wurden 799 kB in 1 s geholt (734 kB/s).
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Alle Pakete sind aktuell.
                  N: Datei »influxdata-archive_compat.key« in Verzeichnis »/etc/apt/sources.list.d/« wird ignoriert, da sie eine ungültige Dateinamen-Erweiterung hat.
                  N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://apt.grafana.com stable InRelease« die Architektur »i386« nicht unterstützt.
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Baumert last edited by

                    @baumert

                    Da hast du im falschen Verzeichnis gestanden...

                    sudo rm /etc/apt/sources.list.d/influxdata-archive_compat.key
                    
                    Baumert 1 Reply Last reply Reply Quote 0
                    • Baumert
                      Baumert @Thomas Braun last edited by

                      @thomas-braun

                      OK, jetzt sieht es gut aus - vielen Dank...

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Baumert last edited by

                        @baumert

                        Zeig nochmal ein

                        uptime -p
                        sudo apt update
                        
                        Baumert 1 Reply Last reply Reply Quote 0
                        • Baumert
                          Baumert @Thomas Braun last edited by

                          @thomas-braun

                          uptime -p
                          up 35 minutes
                          
                          sudo apt update
                          OK:1 http://security.ubuntu.com/ubuntu focal-security InRelease
                          OK:2 http://de.archive.ubuntu.com/ubuntu focal InRelease
                          OK:3 https://repos.influxdata.com/debian stable InRelease
                          OK:4 https://apt.grafana.com stable InRelease
                          OK:5 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
                          OK:6 https://deb.nodesource.com/node_18.x focal InRelease
                          Paketlisten werden gelesen... Fertig
                          Abhängigkeitsbaum wird aufgebaut.
                          Statusinformationen werden eingelesen.... Fertig
                          Alle Pakete sind aktuell.
                          N: Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot »https://apt.grafana.com stable InRelease« die Architektur »i386« nicht unterstützt.
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active last edited by Thomas Braun

                            @baumert sagte in Update Node.js auf 14 klappt nicht:

                            Das Laden der konfigurierten Datei »main/binary-i386/Packages« wird übersprungen, da das Depot...

                            Da ist noch was krumm.

                            dpkg -l | grep i386
                            

                            Jenachdem was da um's Eck kommt das Paket in der Fassung löschen.

                            sudo apt remove *:i386
                            sudo dpkg --remove-architecture i386
                            
                            Baumert 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Baumert last edited by Thomas Braun

                              @baumert
                              Wenn das mit der Löschung der Architektur nicht funktioniert editiere die
                              /etc/apt/sources.list.d/grafana.list so:

                              
                              deb [signed-by=/usr/share/keyrings/grafana.key arch=amd64] https://apt.grafana.com stable main
                              
                              1 Reply Last reply Reply Quote 0
                              • Baumert
                                Baumert @Thomas Braun last edited by

                                @thomas-braun

                                super, jetzt sieht es sehr gut aus:

                                sudo apt update
                                OK:1 http://de.archive.ubuntu.com/ubuntu focal InRelease
                                OK:2 https://apt.grafana.com stable InRelease
                                OK:3 http://de.archive.ubuntu.com/ubuntu focal-updates InRelease
                                OK:4 https://repos.influxdata.com/debian stable InRelease
                                OK:5 https://deb.nodesource.com/node_18.x focal InRelease
                                OK:6 http://security.ubuntu.com/ubuntu focal-security InRelease
                                Paketlisten werden gelesen... Fertig
                                Abhängigkeitsbaum wird aufgebaut.
                                Statusinformationen werden eingelesen.... Fertig
                                Alle Pakete sind aktuell.
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Baumert last edited by

                                  @baumert

                                  Was war denn das i386-Paket?

                                  Baumert 1 Reply Last reply Reply Quote 0
                                  • Baumert
                                    Baumert @Thomas Braun last edited by

                                    @thomas-braun

                                    dpkg -l | grep i386
                                    ii  syslinux-legacy                            2:3.63+dfsg-2ubuntu9                amd64        Bootloader for Linux/i386 using MS-DOS floppies
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Baumert last edited by Thomas Braun

                                      @baumert
                                      Okay, das ist nicht der Grund für die Meldung gewesen.
                                      Irgendwie ist da bei grafana irgendwas für i386 geladen worden.
                                      Na egal, jetzt passt es jedenfalls alles wieder übereinander.

                                      Jetzt musst du nur noch den Desktop ausschalten.

                                      Baumert 1 Reply Last reply Reply Quote 0
                                      • Baumert
                                        Baumert @Thomas Braun last edited by

                                        @thomas-braun
                                        nochmal vielen Dank für die Unterstützung 🙂

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post

                                        Support us

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

                                        434
                                        Online

                                        31.9k
                                        Users

                                        80.1k
                                        Topics

                                        1.3m
                                        Posts

                                        2
                                        31
                                        1379
                                        Loading More Posts
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        Community
                                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                        The ioBroker Community 2014-2023
                                        logo