Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Reparatur einer defekten Grundinstallation

    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

    Reparatur einer defekten Grundinstallation

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mb78 last edited by

      Ich habe hiermit angefangen

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

      und das erhalten o.g. Ergebnis erhalten

      Thomas Braun Homoran 4 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @mb78 last edited by

        @mb78

        Am besten postest du sowohl deine Ein- wie auch die systemseitigen Ausgaben in Gänze.

        1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @mb78 last edited by

          @mb78 sagte in Reparatur einer defekten Grundinstallation:

          Ich habe hiermit angefangen

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

          und das erhalten o.g. Ergebnis erhalten

          und das demnächst bitte immer zusammen:

          pi@cubietruck:~$ which nodejs && nodejs -v && which node && node -v && which npm                                                         && npm -v && apt policy nodejs
          /usr/bin/nodejs
          v12.20.0
          /usr/bin/node
          v12.20.0
          /usr/bin/npm
          6.14.8
          nodejs:
            Installed: 12.20.0-1nodesource1
            Candidate: 12.20.0-1nodesource1
            Version table:
           *** 12.20.0-1nodesource1 500
                  500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                  100 /var/lib/dpkg/status
               10.21.0~dfsg-1~deb10u1 500
                  500 http://deb.debian.org/debian buster/main armhf Packages
                  500 http://security.debian.org buster/updates/main armhf Packages
          pi@cubietruck:~$
          
          
          1 Reply Last reply Reply Quote 0
          • M
            mb78 last edited by

            Achso, ja ok sorry.

            Is denn da schon ein Fehler drin?

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

              @mb78
              Dann ist die Sache easy.
              Es gilt
              Teil 1.1 Node-Upgrade/ Wechsel der nodejs-Version
              In der /etc/apt/sources.list.d/nodesource.list
              die 13 gegen eine 14 tauschen, dann

              sudo apt update
              sudo apt dist-upgrade
              sudo reboot
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @mb78 last edited by

                @mb78
                Wobei mich immer noch die V13 wundert, auch wenn die grundsätzlich sauber installiert wurde.
                In allen 'vernünftigen' Anleitungen zur Installation von ioBroker steht drin, dass man entweder gar nichts bzgl. node machen muss, weil der Installer die richtige Version mitnimmt oder wenn man es manuell macht IMMER eine gerade Version nimmt.

                1 Reply Last reply Reply Quote 0
                • M
                  mb78 last edited by

                  woher bekomme ich die nodesource.list?

                  Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @mb78 last edited by Homoran

                    @mb78 sagte in Reparatur einer defekten Grundinstallation:

                    woher bekomme ich die nodesource.list?

                    sudo nano /etc/apt/sources.list.d/nodesource.list

                    nano ist ein Editor

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

                      @mb78 Die Datei ist schon auf deinem System vorhanden, hat aber den falschen Eintrag 13 drin.
                      Steht aber auch so im HowTo drin.

                      1 Reply Last reply Reply Quote 0
                      • M
                        mb78 last edited by

                        sudo nano /etc/apt/sources.list.d/nodesource.list
                        
                        
                                     [ Directory '/etc/apt/sourceslist.d' does not exist ]
                        ^G Get Help  ^O Write Out ^W Where Is  ^K Cut Text  ^J Justify   ^C Cur Pos
                        ^X Exit      ^R Read File ^\ Replace   ^U Uncut Text^T To Spell  ^_ Go To Line
                        
                        

                        das ist die Ausgabe

                        Thomas Braun Homoran 3 Replies Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @mb78 last edited by

                          @mb78 Da fehlt ein Punkt.
                          sources.list.d

                          1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @mb78 last edited by

                            @mb78 sagte in Reparatur einer defekten Grundinstallation:

                            das ist die Ausgabe

                            du kannst auch vom Browser in putty kopieren

                            • markieren in der Anleitung im Browser
                            • STRG-C
                            • rechte Maustaste in putty
                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @mb78 last edited by Thomas Braun

                              @mb78
                              Mit STRG-X kommst du da übrigens wieder raus.

                              1 Reply Last reply Reply Quote 0
                              • M
                                mb78 last edited by

                                
                                deb https://deb.nodesource.com/node_13.x buster main
                                deb-src https://deb.nodesource.com/node_13.x buster main
                                
                                

                                hier wieder die Ausgabe

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @mb78 last edited by Homoran

                                  @mb78 sagte in Reparatur einer defekten Grundinstallation:

                                  hier wieder die Ausgabe

                                  und wo ist der Befehl?
                                  oder ist das das nano-Fenster?

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    mb78 last edited by

                                    
                                    deb https://deb.nodesource.com/node_13.x buster main
                                    deb-src https://deb.nodesource.com/node_13.x buster main
                                    
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mb78 last edited by

                                      sudo nano /etc/apt/sources.list.d/nodesource.list
                                      

                                      das war der Befehl.

                                      Homoran 1 Reply Last reply Reply Quote 0
                                      • Homoran
                                        Homoran Global Moderator Administrators @mb78 last edited by Homoran

                                        @mb78 sagte in Reparatur einer defekten Grundinstallation:

                                        das war der Befehl.

                                        ok - dann bist du jetzt im Editor

                                        in beiden Zeilen die 13 gegen eine 12 austauschen

                                        STRG-O für Output (speichern - mit Enter bestätigen)
                                        STRG-X für beenden

                                        Es reicht nach der Änderung auch nur STRG-X, dann kommen noch Abfragen, ob du es speichern willst

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          mb78 last edited by

                                          ich kann dort nicht schreiben...

                                          Homoran 1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @mb78 last edited by

                                            @mb78 sagte in Reparatur einer defekten Grundinstallation:

                                            ich kann dort nicht schreiben...

                                            aber du bist da wirklich mit sudo rein?

                                            was sagt denn puTTY?
                                            Fehlermeldungen immer posten

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            516
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            88
                                            2148
                                            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