Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Wie komme ich von node 15.8.0 auf 12.20.2 oder 14.x zurück

    NEWS

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    Wie komme ich von node 15.8.0 auf 12.20.2 oder 14.x zurück

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

      @haifisch_777
      Hostname richtig setzen!

      Dann muss der hostname sauber gesetzt werden. Mach das über

      sudo raspi-config
      

      Menü:
      1 System Options
      S4 Hostname

      Dann

      sudo reboot
      
      H 1 Reply Last reply Reply Quote 0
      • H
        Haifisch_777 @Thomas Braun last edited by

        @thomas-braun
        Thanks, hat geklappt!

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

          @haifisch_777
          das _ hat wohl gestört?

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

            @haifisch_777

            sudo apt update
            apt list --upgradable
            
            H 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Haifisch_777 last edited by

              @haifisch_777
              Welches _ ?

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

                @thomas-braun
                hatte ich im Hostnamen

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

                  @thomas-braun sagte in Wie komme ich von node 15.8.0 auf 12.20.2 oder 14.x zurück:

                  apt list --upgradable

                  pi@raspff:~ $ sudo apt update
                  OK:1 http://phoscon.de/apt/deconz buster InRelease
                  OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                             
                  OK:3 http://archive.raspberrypi.org/debian buster InRelease                                                                
                  OK:4 http://packages.microsoft.com/repos/code stable InRelease                                                             
                  OK:5 https://deb.nodesource.com/node_12.x buster InRelease                                                                 
                  OK:6 https://deb.nodesource.com/node_14.x buster InRelease
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.       
                  Statusinformationen werden eingelesen.... Fertig
                  Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.
                  pi@raspff:~ $ apt list --upgradable
                  Auflistung... Fertig
                  raspberrypi-ui-mods/testing 1.20201210+nmu1 all [aktualisierbar von: 1.20200611]
                  N: Es gibt 1 zusätzliche Version. Bitte verwenden Sie die Option »-a«, um sie anzuzeigen.
                  pi@raspff:~ $ 
                  pi@raspff:~ $
                  
                  Homoran 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Haifisch_777 last edited by

                    @haifisch_777

                    Jetzt setzt du vor die node14-Zeile in der /etc/apt/sources.list.d/nodesource.list den Gartenzaun # als Kommentarzeichen.

                    Sollte dann so aussehen:

                    # node 14
                    # deb https://deb.nodesource.com/node_14.x buster main
                    # deb-src https://deb.nodesource.com/node_14.x buster main
                    
                    H 1 Reply Last reply Reply Quote 0
                    • J
                      Jan1 last edited by

                      3 Stunden und das Ding läuft immer noch nicht. In 30Minuten ist der Pi komplett sauber eingerichtet, mit IOBroker und Backup ne Stunde. Fürs nächste Mal 😉

                      Thomas Braun 1 Reply Last reply Reply Quote -1
                      • Thomas Braun
                        Thomas Braun Most Active @Jan1 last edited by

                        @jan1 Lernkurve = 0

                        H J 2 Replies Last reply Reply Quote 0
                        • H
                          Haifisch_777 @Thomas Braun last edited by

                          @thomas-braun
                          Jeder fängt mal klein an 🙂

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

                            @thomas-braun
                            Doch, ,wie man es von Beginn an richtig macht und nicht wild irgendwelche Anleitungen mischt 🙂
                            Dabei lernst schon mal, die Basic. Das was er jetzt macht ist eher stur das kopieren, was Du ihm vorgibst. OK, da sollte auch was hängen bleiben.

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

                              @thomas-braun

                              deb https://deb.nodesource.com/node_12.x buster main
                              deb-src https://deb.nodesource.com/node_12.x buster main
                              
                              # deb https://deb.nodesource.com/node_14.x buster main
                              # deb-src https://deb.nodesource.com/node_14.x buster main
                              
                              1 Reply Last reply Reply Quote 0
                              • H
                                Haifisch_777 @Jan1 last edited by

                                @jan1
                                Naja mein IO-broker ist halt gewachsen, da sind bestimmt Fehler rein gekommen, bisher läuft auch alles , außer die Einbindung der Wetterstation

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

                                  @haifisch_777

                                  sudo apt install nodejs=12.20.2-1nodesource1
                                  
                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    Haifisch_777 @Thomas Braun last edited by

                                    @thomas-braun

                                    
                                    
                                    
                                    pi@raspff:~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
                                    pi@raspff:~ $ sudo apt update
                                    OK:1 http://phoscon.de/apt/deconz buster InRelease
                                    OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease                                                                                              
                                    OK:3 http://packages.microsoft.com/repos/code stable InRelease                                                                                              
                                    OK:4 https://deb.nodesource.com/node_12.x buster InRelease                                                                                                  
                                    OK:5 http://archive.raspberrypi.org/debian buster InRelease                
                                    Paketlisten werden gelesen... Fertig
                                    Abhängigkeitsbaum wird aufgebaut.       
                                    Statusinformationen werden eingelesen.... Fertig
                                    Aktualisierung für 1 Paket verfügbar. Führen Sie »apt list --upgradable« aus, um es anzuzeigen.
                                    pi@raspff:~ $ apt policy nodejs
                                    nodejs:
                                      Installiert:           15.8.0-1nodesource1
                                      Installationskandidat: 15.8.0-1nodesource1
                                      Versionstabelle:
                                     *** 15.8.0-1nodesource1 100
                                            100 /var/lib/dpkg/status
                                         12.20.2-1nodesource1 500
                                            500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                         10.23.1~dfsg-1~deb10u1 500
                                            500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                    pi@raspff:~ $ sudo apt install nodejs=12.20.1-1nodesource1
                                    Paketlisten werden gelesen... Fertig
                                    Abhängigkeitsbaum wird aufgebaut.       
                                    Statusinformationen werden eingelesen.... Fertig
                                    E: Version »12.20.1-1nodesource1« für »nodejs« konnte nicht gefunden werden.
                                    pi@raspff:~ $
                                    
                                    Thomas Braun H 2 Replies Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Haifisch_777 last edited by

                                      @haifisch_777
                                      Du musst auch schon die angebotene Version installieren.

                                      sudo apt install nodejs=12.20.2-1nodesource1
                                      
                                      1 Reply Last reply Reply Quote 0
                                      • H
                                        Haifisch_777 @Haifisch_777 last edited by

                                        @haifisch_777
                                        Ich glaube eben läuft es

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

                                          @haifisch_777
                                          Dann final prüfen ob das sauber ist:

                                          which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt moo
                                          
                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            Haifisch_777 @Thomas Braun last edited by

                                            @thomas-braun sagte in Wie komme ich von node 15.8.0 auf 12.20.2 oder 14.x zurück:

                                            which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt moo

                                            pi@raspff:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt moo
                                            /usr/bin/nodejs
                                            v12.20.2
                                            /usr/bin/node
                                            v12.20.2
                                            /usr/bin/npm
                                            6.14.11
                                            
                                            H 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

                                            729
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            57
                                            3533
                                            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