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.
    • 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
      • M
        mb78 last edited by

        @homoran said in Reparatur einer defekten Grundinstallation:

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

        ich kann die zahlen zumindest nicht ändern. Weder markieren noch sonst was.

        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 die zahlen zumindest nicht ändern. Weder markieren noch sonst was.

          du musst mit den Pfeiltasten den Cursor dahinbewegen

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

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

            und jetzte nacheinander

            sudo apt update
            
            sudo apt dist-upgrade
            
            sudo reboot
            
            Homoran 1 Reply Last reply Reply Quote 0
            • Homoran
              Homoran Global Moderator Administrators @mb78 last edited by

              @mb78 sagte in Reparatur einer defekten Grundinstallation:

              und jetzt

              ist die Änderung gespeichert?

              dann ja, aber einzeln und jedesmal Befehl und Antwort posten

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

                 sudo apt update
                Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                Get:3 https://deb.nodesource.com/node_12.x buster InRelease [4,584 B]
                Get:4 https://deb.nodesource.com/node_12.x buster/main armhf Packages [772 B]
                Fetched 5,356 B in 1s (4,627 B/s)
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                59 packages can be upgraded. Run 'apt list --upgradable' to see them.
                N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                Hit:3 https://deb.nodesource.com/node_12.x buster InRelease
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                59 packages can be upgraded. Run 'apt list --upgradable' to see them.
                N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                
                Befehl 1
                
                Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @mb78 last edited by Homoran

                  @mb78 gut so - weiter!

                  lediglich:

                  @mb78 sagte in Reparatur einer defekten Grundinstallation:

                  Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

                  hattest du beim Speichern einen Fehler?
                  das muss @Thomas-Braun gleich mit dir wieder wegputzen

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

                    @mb78
                    Die Datei darf nicht auf save.1 enden sondern muss nodesource.list heißen.
                    Bei dem Rückschritt auf node12 muss auch noch die genaue Versionsnummer reingezogen werden, bei einem upgrade auf node14 wäre das nicht erforderlich (deswegen hatte ich dir node14 parat gelegt).

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

                      soll ich es denn auf 14 ändern?

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

                        @mb78 Nee, lass das jetzt so. Ich glaube eh, du hast das irgendwie schon richtig gemacht.

                        apt policy nodejs
                        

                        liefert?

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

                          pi@raspberrypi:~ $ apt policy nodejs
                          nodejs:
                            Installed: 13.14.0-1nodesource1
                            Candidate: 13.14.0-1nodesource1
                            Version table:
                           *** 13.14.0-1nodesource1 100
                                  100 /var/lib/dpkg/status
                               12.20.1-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
                          N: Ignoring file 'nodesource.list.save.1' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @mb78 last edited by Thomas Braun

                            @mb78

                            sudo rm /etc/apt/sources.list.d/nodesource.list.save.1
                            sudo apt install nodejs=12.20.1-1nodesource1
                            sudo apt update
                            sudo apt dist-upgrade
                            sudo reboot
                            
                            1 Reply Last reply Reply Quote 0
                            • M
                              mb78 last edited by

                              ok, alles durchgelaufen.

                              Was jetzt ?

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

                                @mb78
                                Erfolgskontrolle:

                                which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && sudo apt update
                                
                                1 Reply Last reply Reply Quote 0
                                • M
                                  mb78 last edited by

                                  @thomas-braun said in Reparatur einer defekten Grundinstallation:

                                  which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && sudo apt update

                                  Ergebnis:

                                   which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs && who -r && sudo apt update
                                  /usr/bin/nodejs
                                  v12.20.1
                                  /usr/bin/node
                                  v12.20.1
                                  /usr/bin/npm
                                  6.14.10
                                  nodejs:
                                    Installed: 12.20.1-1nodesource1
                                    Candidate: 12.20.1-1nodesource1
                                    Version table:
                                   *** 12.20.1-1nodesource1 500
                                          500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                          100 /var/lib/dpkg/status
                                       10.23.1~dfsg-1~deb10u1 500
                                          500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                           run-level 5  2021-01-18 15:35
                                  Hit:1 http://archive.raspberrypi.org/debian buster InRelease
                                  Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
                                  Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease
                                  Reading package lists... Done
                                  Building dependency tree
                                  Reading state information... Done
                                  All packages are up to date.
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @mb78 last edited by Thomas Braun

                                    @mb78
                                    Ja, das passt jetzt. Wenn du ganz 'mutig' bist stellst du den Server auf den richtigen RunLevel (3) ein. Dann wird der komplette Grafik-Stack nicht unnötigerweise mitgeladen. Das setzt allerdings vorraus, dass da kein Display z. B. für eine Visualisierung dran hängt, der Server also 'headless' läuft.
                                    Zugang per ssh/puTTY ist ja jetzt bekannt.

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

                                      bin ich nicht.
                                      soll ich jetzt mal zigbee neu starten? der steht jetzt nämlich auf komlett rot

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

                                        @mb78
                                        Hängt denn da überhaupt ein Display dran?

                                        Jedenfalls kannst du dich jetzt um zigbee kümmern.
                                        Vielleicht den angeknabberten Thread mit @Asgothian wieder aufleben lassen.

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

                                          Weiß ich nicht.
                                          Ich starte den Adapter mal neu unr rechne mit dem schlimmsten.

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

                                            @mb78 sagte in Reparatur einer defekten Grundinstallation:

                                            Weiß ich nicht.

                                            ? Du wirst doch wissen, ob an dem Pi ein Monitor/TV oder sowas hängt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            886
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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