Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nach Update läuft nichts mehr!

    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

    Nach Update läuft nichts mehr!

    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SaschaS @Wal last edited by

      @Wal und @crunchip Bahnhof in meinem Kopf.. also lokal habe ich nichts rumfahren. Was bringt mir so ne .list?

      Wal 1 Reply Last reply Reply Quote 0
      • S
        SaschaS last edited by

        Alsoooo.... nachstehendes würde ich als nicht so erfolgreich interpretieren, oder?

        pi@raspberrypi:/opt/iobroker $ sudo apt-get install -y nodejs
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.       
        Statusinformationen werden eingelesen.... Fertig
        Die folgenden Pakete werden aktualisiert (Upgrade):
          nodejs
        1 aktualisiert, 0 neu installiert, 0 zu entfernen und 29 nicht aktualisiert.
        Es müssen 15,9 MB an Archiven heruntergeladen werden.
        Nach dieser Operation werden 16,8 MB Plattenplatz zusätzlich benutzt.
        Holen:1 https://deb.nodesource.com/node_12.x stretch/main armhf nodejs armhf 12.16.3-1nodesource1 [15,9 MB]
        Es wurden 15,9 MB in 3 s geholt (4.595 kB/s).
        apt-listchanges: Lese Changelogs...
        (Lese Datenbank ... 59270 Dateien und Verzeichnisse sind derzeit installiert.)
        Vorbereitung zum Entpacken von .../nodejs_12.16.3-1nodesource1_armhf.deb ...
        Detected old npm client, removing...
        Entpacken von nodejs (12.16.3-1nodesource1) über (8.17.0-1nodesource1) ...
        dpkg-deb (Unterprozess): Archiv-Element wird dekomprimiert: lzma-Fehler: komprimierte Daten sind beschädigt
        dpkg-deb: Fehler: Unterprozess <Dekompression> gab den Fehlerwert 2 zurück
        dpkg: Fehler beim Bearbeiten des Archivs /var/cache/apt/archives/nodejs_12.16.3-1nodesource1_armhf.deb (--unpack):
         Extrahierte Daten für »./usr/bin/node« können nicht nach »/usr/bin/node.dpkg-new« kopiert werden: Unerwartetes Ende der Datei oder des Datenstroms
        Fehler traten auf beim Bearbeiten von:
         /var/cache/apt/archives/nodejs_12.16.3-1nodesource1_armhf.deb
        E: Sub-process /usr/bin/dpkg returned an error code (1)
        
        1 Reply Last reply Reply Quote 0
        • Wal
          Wal Developer @SaschaS last edited by

          @SaschaS sagte in Nach Update läuft nichts mehr!:

          @Wal und @crunchip Bahnhof in meinem Kopf.. also lokal habe ich nichts rumfahren. Was bringt mir so ne .list?

          In diesen Dateien stehen die Pfade von wo er updaten soll.

          1 Reply Last reply Reply Quote 0
          • haselchen
            haselchen Most Active last edited by

            @crunchip
            @Wal

            In der list hat er die Einträge von vor der Fummelei wieder eingetragen.
            Mit Version 8 von Nodejs
            Müsste weiter oben stehen auf der Seite hier stehen.

            1 Reply Last reply Reply Quote 0
            • S
              SaschaS last edited by

              @Einstein67 said in Nach Update läuft nichts mehr!:

              tail /etc/apt/sources.list.d/nodesource.list

              Falls das hilft:

              pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list
              deb https://deb.nodesource.com/node_8.x stretch main
              deb-src https://deb.nodesource.com/node_8.x stretch main
              

              und

              pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list
              deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
              # Uncomment line below then 'apt-get update' to enable 'apt-get source'
              #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
              

              Jedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..

              Wal crunchip 2 Replies Last reply Reply Quote 0
              • Wal
                Wal Developer @SaschaS last edited by

                @SaschaS sagte in Nach Update läuft nichts mehr!:

                @Einstein67 said in Nach Update läuft nichts mehr!:

                tail /etc/apt/sources.list.d/nodesource.list

                Falls das hilft:

                pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list
                deb https://deb.nodesource.com/node_8.x stretch main
                deb-src https://deb.nodesource.com/node_8.x stretch main
                

                und

                pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list
                deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
                # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
                

                Jedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..

                Lösche doch bitte jetzt endlich die Datei nodesource.list

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

                und mache mal ein

                sudo nano /etc/apt/sources.list
                
                S 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active @SaschaS last edited by

                  @SaschaS https://github.com/nodesource/distributions#debinstall

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SaschaS @Wal last edited by

                    @Wal said in Nach Update läuft nichts mehr!:

                    @SaschaS sagte in Nach Update läuft nichts mehr!:

                    @Einstein67 said in Nach Update läuft nichts mehr!:

                    tail /etc/apt/sources.list.d/nodesource.list

                    Falls das hilft:

                    pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list.d/nodesource.list
                    deb https://deb.nodesource.com/node_8.x stretch main
                    deb-src https://deb.nodesource.com/node_8.x stretch main
                    

                    und

                    pi@raspberrypi:/opt/iobroker $ tail /etc/apt/sources.list
                    deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
                    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                    #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
                    

                    Jedenfalls bin ich immer noch schön auf v8.17.0 mit node und nodejs..

                    Lösche doch bitte jetzt endlich die Datei nodesource.list

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

                    und mache mal ein

                    sudo nano /etc/apt/sources.list
                    

                    Habe ich gelöscht und sudo nano /etc/apt/sources.list bringt

                    deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
                    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
                    #deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
                    
                    haselchen 1 Reply Last reply Reply Quote 0
                    • haselchen
                      haselchen Most Active @SaschaS last edited by haselchen

                      @SaschaS

                      Also ich würde das machen was das steht 😉
                      Vorher nodejs entfernen .

                      Edit: zu langsam 😂

                      1 Reply Last reply Reply Quote 0
                      • Wal
                        Wal Developer last edited by

                        Gut jetzt wird node entfernt.

                        sudo apt --purge remove nodejs
                        
                        1 Reply Last reply Reply Quote 0
                        • S
                          SaschaS @crunchip last edited by

                          @crunchip said in Nach Update läuft nichts mehr!:

                          @SaschaS https://github.com/nodesource/distributions#debinstall

                          Was willst du mir damit sagen? Soll ich jetzt einen dieser Befehle ausführen?

                          # Using Ubuntu
                          curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
                          sudo apt-get install -y nodejs
                          
                          # Using Debian, as root
                          curl -sL https://deb.nodesource.com/setup_14.x | bash -
                          apt-get install -y nodejs
                          
                          Wal crunchip 2 Replies Last reply Reply Quote 0
                          • Wal
                            Wal Developer @SaschaS last edited by

                            @SaschaS
                            nein jetzt noch nicht.

                            S 1 Reply Last reply Reply Quote 0
                            • S
                              SaschaS @Wal last edited by

                              @Wal said in Nach Update läuft nichts mehr!:

                              @SaschaS
                              nein jetzt noch nicht.

                              Ich folge deinen Anweisungen @Wal. Lösche gerade nodejs.

                              1 Reply Last reply Reply Quote 0
                              • S
                                SaschaS last edited by

                                @Wal An der Stelle waren wir vor einer Stunde schon einmal.
                                Sehe ich das falsch, dass das entfernen nicht sauber funktioniert hat?

                                pi@raspberrypi:/opt/iobroker $ sudo apt --purge remove nodejs
                                Paketlisten werden gelesen... Fertig
                                Abhängigkeitsbaum wird aufgebaut.       
                                Statusinformationen werden eingelesen.... Fertig
                                Die folgenden Pakete werden ENTFERNT:
                                  nodejs*
                                0 aktualisiert, 0 neu installiert, 1 zu entfernen und 0 nicht aktualisiert.
                                Nach dieser Operation werden 67,0 MB Plattenplatz freigegeben.
                                Möchten Sie fortfahren? [J/n] J
                                (Lese Datenbank ... 59270 Dateien und Verzeichnisse sind derzeit installiert.)
                                Entfernen von nodejs (8.17.0-1nodesource1) ...
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/lib« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/lib« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/node-gyp/gyp/pylib/gyp/generator« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-profile« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/env-paths« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-registry-fetch« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/glob« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/os-locale« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/libnpx« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/npm-packlist« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/string_decoder« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/get-caller-file« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/mem« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/readable-stream/lib/internal/streams« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/pacote« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/chownr« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/invert-kv« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/yargs« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/bin-links« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/hosted-git-info« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/node_modules/lcid« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/scripts« nicht leer, wird daher nicht gelöscht
                                dpkg: Warnung: Während Entfernens von nodejs ist Verzeichnis »/usr/lib/node_modules/npm/docs« nicht leer, wird daher nicht gelöscht
                                Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
                                
                                Wal 1 Reply Last reply Reply Quote 0
                                • Wal
                                  Wal Developer @SaschaS last edited by

                                  @SaschaS
                                  Gut mach ein

                                  sudo rm -r /usr/lib/node_modules/npm
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    SaschaS @Wal last edited by

                                    @Wal Jetzt finde ich den Schritt schon schöner.

                                    pi@raspberrypi:/opt/iobroker $ sudo rm -r /usr/lib/node_modules/npm
                                    pi@raspberrypi:/opt/iobroker $ sudo apt --purge remove nodejs
                                    Paketlisten werden gelesen... Fertig
                                    Abhängigkeitsbaum wird aufgebaut.       
                                    Statusinformationen werden eingelesen.... Fertig
                                    Paket »nodejs« ist nicht installiert, wird also auch nicht entfernt.
                                    0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                                    

                                    Next?

                                    Wal 1 Reply Last reply Reply Quote 0
                                    • Wal
                                      Wal Developer @SaschaS last edited by

                                      @SaschaS

                                      curl -sL https://deb.nodesource.com/setup_12.x | bash -
                                      sudo apt install nodejs
                                      
                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        SaschaS @Wal last edited by

                                        @Wal Ne..wäre zu schön gewesen.

                                        pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | bash -
                                        
                                        ## Installing the NodeSource Node.js 12.x repo...
                                        
                                        
                                        ## Populating apt-get cache...
                                        
                                        + apt-get update
                                        Paketlisten werden gelesen... Fertig
                                        W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Die Operation ist nicht erlaubt)
                                        E: Sperrdatei /var/lib/apt/lists/lock konnte nicht geöffnet werden. - open (13: Keine Berechtigung)
                                        E: Das Verzeichnis /var/lib/apt/lists/ kann nicht gesperrt werden.
                                        W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/pkgcache.bin - RemoveCaches (13: Keine Berechtigung)
                                        W: Problem beim Entfernen (unlink) der Datei /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Keine Berechtigung)
                                        Error executing command, exiting
                                        
                                        
                                        Wal 1 Reply Last reply Reply Quote 0
                                        • Wal
                                          Wal Developer @SaschaS last edited by Wal

                                          @SaschaS
                                          mein fehler

                                          curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                                          sudo apt install nodejs
                                          
                                          S 1 Reply Last reply Reply Quote 0
                                          • S
                                            SaschaS @Wal last edited by

                                            @Wal Kein Ding. Ich hab einfach mal kombiniert und es mit

                                            pi@raspberrypi:/opt/iobroker $ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
                                            

                                            gestartet. Damit fängt er jetzt schon einmal an.

                                            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

                                            888
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            help wanted iobroker update js controller update json npm
                                            18
                                            416
                                            53541
                                            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