Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Probleme bei der Aktualisierung von node.js

    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

    Probleme bei der Aktualisierung von node.js

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Maatjes last edited by crunchip

      @maatjes edit

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

        @maatjes

        Da war/ist aber auch noch die dfsg-Version von nodejs installiert. Die muss vorher weg.

        iob stop
        sudo apt remove node*
        sudo apt update
        sudo apt full-upgrade 
        iob start
        
        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Maatjes last edited by

          @maatjes

          Und davon abgesehen würde ich dein 32bit-Buster durch ein 64bit-Bullseye ersetzen.

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

            @Thomas-Braun

            Also ich habe zwischenzeitlich das System geschossen und habe mein Backup wieder installiert.

            Habe jetzt folgendes gemacht:

            pi@raspberrypi:~ $ sudo nano cat /etc/apt/sources.list.d/nodesource.list
            pi@raspberrypi:~ $ sudo apt update && sudo apt upgrade
            pi@raspberrypi:~ $ sudo reboot
            pi@raspberrypi:~ $ iob stop
            pi@raspberrypi:~ $ sudo apt remove node*
            (hier werden Fehler bezgl. Kernel angezeigt u.a.)
            pi@raspberrypi:~ $ sudo apt update
            pi@raspberrypi:~ $ sudo apt full-upgrade
            pi@raspberrypi:~ $ iob start
            pi@raspberrypi:~ $ sudo apt update && sudo apt upgrade
            

            ausgeführt.

            Wenn ich gefragt wurde ob ich etwas ausführen möchte habe ich mit Y bestätigt. Anschließend bekam ich "abort"

            Irgendwie hat da aber immer noch etwas nicht funktioniert:

            The following packages will be REMOVED:
              nodejs nodejs-doc
            0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
            After this operation, 123 MB disk space will be freed.
            Do you want to continue? [Y/n] Y
            Abort.
            pi@raspberrypi:~ $ sudo apt update
            Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
            Hit:2 http://archive.raspberrypi.org/debian buster InRelease                                                         
            Hit:3 https://deb.nodesource.com/node_18.x buster InRelease                                                          
            Get:4 https://apt.pivccu.de/piVCCU stable InRelease [13.6 kB]                                  
            Get:5 https://deb.nodesource.com/node_10.x buster InRelease [4,584 B]
            Get:6 https://apt.pivccu.de/piVCCU stable/main armhf Packages [13.8 kB]
            Fetched 32.0 kB in 1s (22.2 kB/s)   
            Reading package lists... Done
            Building dependency tree       
            Reading state information... Done
            2 packages can be upgraded. Run 'apt list --upgradable' to see them.
            pi@raspberrypi:~ $ sudo apt full-upgrade 
            Reading package lists... Done
            Building dependency tree       
            Reading state information... Done
            Calculating upgrade... Done
            The following packages were automatically installed and are no longer required:
              libbrotli1 libc-ares2
            Use 'sudo apt autoremove' to remove them.
            The following packages will be REMOVED:
              nodejs-doc
            The following packages will be upgraded:
              nodejs
            1 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
            Need to get 25.9 MB of archives.
            After this operation, 53.2 MB of additional disk space will be used.
            Do you want to continue? [Y/n] Y
            Abort.
            pi@raspberrypi:~ $ iob start
            pi@raspberrypi:~ $ sudo apt update && sudo apt upgrade
            Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
            Hit:2 http://archive.raspberrypi.org/debian buster InRelease                                                         
            Hit:3 https://apt.pivccu.de/piVCCU stable InRelease                                                                  
            Hit:4 https://deb.nodesource.com/node_18.x buster InRelease             
            Get:5 https://deb.nodesource.com/node_10.x buster InRelease [4,584 B]
            Fetched 4,584 B in 1s (3,365 B/s)    
            Reading package lists... Done
            Building dependency tree       
            Reading state information... Done
            2 packages can be upgraded. Run 'apt list --upgradable' to see them.
            Reading package lists... Done
            Building dependency tree       
            Reading state information... Done
            Calculating upgrade... Done
            The following packages were automatically installed and are no longer required:
              libbrotli1 libc-ares2 nodejs-doc
            Use 'sudo apt autoremove' to remove them.
            The following packages have been kept back:
              nodejs nodejs-doc
            0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
            pi@raspberrypi:~ $ 
            
            
            crunchip ? 2 Replies Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Maatjes last edited by

              @maatjes setz es doch neu auf, hab ich oben schon geschrieben, siehe buster

              M 1 Reply Last reply Reply Quote 0
              • M
                Maatjes @crunchip last edited by

                @crunchip

                Daran musste ich auch denken... wollte ich natürlich vermeiden aber im Grund benutze ich pivCCU sowieso nicht mehr...

                crunchip 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @Maatjes last edited by

                  @maatjes sagte in Probleme bei der Aktualisierung von node.js:

                  wollte ich natürlich vermeiden

                  da kommst du auf kurz oder lang nicht drum herum

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @Maatjes last edited by A Former User

                    @maatjes sagte in Probleme bei der Aktualisierung von node.js:

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

                    Moin,

                    bitte was ist denn das für ein Befehl, das passt vorne und hinten nicht.

                    - sudo <- Befehl, um Admin rechte zu bekommen
                    - nano <- Befehl, um einen Editor zu starten
                    - cat <- Befehl, um eine Datei auf der Kommandozeile/Shell anzuzeigen/auszugeben
                    - /etc/apt/sources.list.d/nodesource.list <- ist der Pad /etc/apt/sources.list.d/ und die Datei nodesource.list
                    

                    Richtig wäre es eher so

                    # sudo nano /etc/apt/sources.list.d/nodesource.list
                    oder
                    # sudo cat /etc/apt/sources.list.d/nodesource.list  # sudo ist hier eigentlich nicht von nöten
                    oder halt so
                    # sudo nano /etc/apt/sources.list.d/nodesource.list && cat /etc/apt/sources.list.d/nodesource.list
                    

                    VG
                    Bernd

                    P.S.: so wie Du das angegeben hast, hast Du eine leere Datei cat im Editor nano geöffnet und eine zweite /etc/apt/sources.list.d/nodesource.list, an die Du aber erst kommst, wenn Du die erste mit ^x schließt.

                    1 Reply Last reply Reply Quote 1
                    • M
                      Maatjes last edited by

                      Also ich habe jetzt meinen Raspi komplett neu aufgesetzt. Jetzt ist natürlich auch alles auf dem neusten Stand und funktioniert.

                      Vielen Dank für eure Mühen und Hilfe 😃

                      [Gelöst]

                      DJMarc75 1 Reply Last reply Reply Quote 0
                      • DJMarc75
                        DJMarc75 @Maatjes last edited by

                        @maatjes sagte in Probleme bei der Aktualisierung von node.js:

                        Also ich habe jetzt meinen Raspi komplett neu aufgesetzt. Jetzt ist natürlich auch alles auf dem neusten Stand und funktioniert.

                        Dann nochmal bitte

                        iob diag
                        

                        zeigen und Dein

                        @maatjes sagte in Probleme bei der Aktualisierung von node.js:

                        [Gelöst]

                        macht hier wenig Sinn... Da musst Du Deinen Startbeitrag editieren (die 3 Punkte unten rechts) und im Titel [gelöst] davor setzen .

                        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

                        952
                        Online

                        31.9k
                        Users

                        80.2k
                        Topics

                        1.3m
                        Posts

                        5
                        20
                        534
                        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