Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Update vom ioBroker klappt nicht :( - Scripts tot

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Update vom ioBroker klappt nicht :( - Scripts tot

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

      @Randyh

      sudo apt update
      apt policy nodejs
      

      Wegen yarn:

      find /etc/apt -name *yarn*
      
      1 Reply Last reply Reply Quote 0
      • R
        Randyh last edited by

        Wirklich vielen Dank für deine Hilfe!

        io@iobroker:/etc/apt/sources.list.d$ sudo apt update
        [sudo] Passwort für io:
        OK:1 http://security.debian.org/debian-security stretch/updates InRelease
        Ign:2 http://ftp.de.debian.org/debian stretch InRelease
        OK:3 http://ftp.de.debian.org/debian stretch-updates InRelease
        OK:4 http://ftp.de.debian.org/debian stretch Release
        OK:5 https://deb.nodesource.com/node_12.x stretch InRelease
        Paketlisten werden gelesen... Fertig
        Abhängigkeitsbaum wird aufgebaut.
        Statusinformationen werden eingelesen.... Fertig
        Alle Pakete sind aktuell.
        io@iobroker:/etc/apt/sources.list.d$ io@iobroker:/etc/apt/sources.list.d$ sudo apt update
        -bash: io@iobroker:/etc/apt/sources.list.d$: Datei oder Verzeichnis nicht gefunden
        io@iobroker:/etc/apt/sources.list.d$ [sudo] Passwort für io:
        -bash: [sudo]: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ OK:1 http://security.debian.org/debian-security stretch/updates InRelease
        -bash: OK:1: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ Ign:2 http://ftp.de.debian.org/debian stretch InRelease
        -bash: Ign:2: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ OK:3 http://ftp.de.debian.org/debian stretch-updates InRelease
        -bash: OK:3: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ OK:4 http://ftp.de.debian.org/debian stretch Release
        -bash: OK:4: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ OK:5 https://deb.nodesource.com/node_12.x stretch InRelease
        -bash: OK:5: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ Paketlisten werden gelesen... Fertig
        -bash: Paketlisten: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ Abhängigkeitsbaum wird aufgebaut.
        -bash: Abhängigkeitsbaum: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ Statusinformationen werden eingelesen.... Fertig
        -bash: Statusinformationen: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ Alle Pakete sind aktuell.
        -bash: Alle: Kommando nicht gefunden.
        io@iobroker:/etc/apt/sources.list.d$ io@iobroker:/etc/apt/sources.list.d$
        -bash: io@iobroker:/etc/apt/sources.list.d$: Datei oder Verzeichnis nicht gefunden
        io@iobroker:/etc/apt/sources.list.d$ apt policy nodejs
        nodejs:
          Installiert:           8.17.0-1nodesource1
          Installationskandidat: 8.17.0-1nodesource1
          Versionstabelle:
         *** 8.17.0-1nodesource1 100
                100 /var/lib/dpkg/status
             4.8.2~dfsg-1 500
                500 http://ftp.de.debian.org/debian stretch/main i386 Packages
        io@iobroker:/etc/apt/sources.list.d$
        
        
        io@iobroker:/etc/apt/sources.list.d$ find /etc/apt -name *yarn*
        io@iobroker:/etc/apt/sources.list.d$
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Randyh last edited by

          @Randyh
          Was zur Hölle tust du da?

          sudo apt remove nodejs
          sudo apt update
          sudo apt policy nodejs
          
          1 Reply Last reply Reply Quote 0
          • R
            Randyh last edited by

            Ich habe eigentlich nur die beiden Befehle eingegeben 😩

            Jetzt auf die 3 Befehle:

            login as: io
            io@192.168.178.45's password:
            Linux iobroker 4.9.0-12-686-pae #1 SMP Debian 4.9.210-1 (2020-01-20) i686
            
            The programs included with the Debian GNU/Linux system are free software;
            the exact distribution terms for each program are described in the
            individual files in /usr/share/doc/*/copyright.
            
            Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
            permitted by applicable law.
            Last login: Fri May 22 10:54:01 2020 from 192.168.178.142
            io@iobroker:~$ sudo apt remove nodejs
            [sudo] Passwort für io:
            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 68,5 MB Plattenplatz freigegeben.
            Möchten Sie fortfahren? [J/n] j
            (Lese Datenbank ... 51635 Dateien und Verzeichnisse sind derzeit installiert.)
            Entfernen von nodejs (8.17.0-1nodesource1) ...
            Trigger für man-db (2.7.6.1-2) werden verarbeitet ...
            io@iobroker:~$ sudo apt update
            OK:1 http://security.debian.org/debian-security stretch/updates InRelease
            Ign:2 http://ftp.de.debian.org/debian stretch InRelease
            OK:3 http://ftp.de.debian.org/debian stretch-updates InRelease
            OK:4 http://ftp.de.debian.org/debian stretch Release
            OK:5 https://deb.nodesource.com/node_12.x stretch InRelease
            Paketlisten werden gelesen... Fertig
            Abhängigkeitsbaum wird aufgebaut.
            Statusinformationen werden eingelesen.... Fertig
            Alle Pakete sind aktuell.
            io@iobroker:~$ sudo apt policy nodejs
            nodejs:
              Installiert:           (keine)
              Installationskandidat: 4.8.2~dfsg-1
              Versionstabelle:
                 4.8.2~dfsg-1 500
                    500 http://ftp.de.debian.org/debian stretch/main i386 Packages
            io@iobroker:~$
            
            
            Thomas Braun 2 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Randyh last edited by

              @Randyh
              Was zeigt

              apt --dry-run dist-upgrade
              
              1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Randyh last edited by

                @Randyh

                cat /etc/apt/sources.list.d/nodesource.list
                
                1 Reply Last reply Reply Quote 0
                • R
                  Randyh last edited by

                  Mit sudo quasi:

                  io@iobroker:~$ sudo apt --dry-run dist-upgrade
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut.
                  Statusinformationen werden eingelesen.... Fertig
                  Paketaktualisierung (Upgrade) wird berechnet... Fertig
                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                  io@iobroker:~$
                  
                  io@iobroker:~$ cat /etc/apt/sources.list.d/nodesource.list
                  deb https://deb.nodesource.com/node_12.x stretch main
                  deb-src https://deb.nodesource.com/node_12.x stretch main
                  io@iobroker:~$
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Randyh last edited by Thomas Braun

                    @Randyh Wenn du etwas unter sudo ausführen sollst, dann schreibe ich das.
                    Keine Eingaben hinzufantasieren, auch nicht so einen Quatsch wie ich weiter oben gesehen habe.

                    ls -la /etc/apt/sources.list.d/
                    cat /etc/apt/sources.list
                    
                    1 Reply Last reply Reply Quote 0
                    • R
                      Randyh last edited by

                      Sorry - hier nochmals ohne sudo

                      io@iobroker:~$ apt --dry-run dist-upgrade
                      HINWEIS: Dies ist nur eine Simulation!
                               apt benötigt root-Privilegien für die reale Ausführung.
                               Behalten Sie ebenfalls in Hinterkopf, dass die Sperren deaktiviert
                               sind, verlassen Sie sich also bezüglich des reellen aktuellen
                               Status der Sperre nicht darauf!
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut.
                      Statusinformationen werden eingelesen.... Fertig
                      Paketaktualisierung (Upgrade) wird berechnet... Fertig
                      0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                      io@iobroker:~$
                      

                      hier noch die letzten Befehle:

                      io@iobroker:~$ ls -la /etc/apt/sources.list.d/
                      insgesamt 12
                      drwxr-xr-x 2 root root 4096 Mai 22 11:25 .
                      drwxr-xr-x 6 root root 4096 Mai 22 10:10 ..
                      -rw-r--r-- 1 root root  112 Mai 22 11:25 nodesource.list
                      io@iobroker:~$ cat /etc/apt/sources.list
                      #
                      
                      # deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official i386 NETINST 20190427-11:18]/ stretch main
                      
                      #deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official i386 NETINST 20190427-11:18]/ stretch main
                      
                      deb http://ftp.de.debian.org/debian/ stretch main
                      deb-src http://ftp.de.debian.org/debian/ stretch main
                      
                      deb http://security.debian.org/debian-security stretch/updates main
                      deb-src http://security.debian.org/debian-security stretch/updates main
                      
                      # stretch-updates, previously known as 'volatile'
                      deb http://ftp.de.debian.org/debian/ stretch-updates main
                      deb-src http://ftp.de.debian.org/debian/ stretch-updates main
                      io@iobroker:~$
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Randyh last edited by

                        @Randyh
                        Wo liegen denn deine ganzen source.lists???

                        ls -la /etc/apt/
                        
                        1 Reply Last reply Reply Quote 0
                        • R
                          Randyh last edited by

                          Das ist eine sehr gute Frage

                          io@iobroker:~$ ls -la /etc/apt/
                          insgesamt 52
                          drwxr-xr-x  6 root root  4096 Mai 22 10:10 .
                          drwxr-xr-x 87 root root  4096 Mai 22 10:51 ..
                          drwxr-xr-x  2 root root  4096 Mai 22 10:44 apt.conf.d
                          -rw-r--r--  1 root root   104 Mai  9  2019 listchanges.conf
                          drwxr-xr-x  2 root root  4096 Jan 18  2019 preferences.d
                          -rw-r--r--  1 root root     0 Mai 22 10:10 s
                          -rw-r--r--  1 root root     0 Mai 22 10:10 source
                          -rw-r--r--  1 root root   621 Mai  9  2019 sources.list
                          -rw-r--r--  1 root root     0 Mai  9  2019 sources.list~
                          drwxr-xr-x  2 root root  4096 Mai 22 11:25 sources.list.d
                          -rw-r--r--  1 root root 12599 Mai 22 10:10 trusted.gpg
                          -rw-r--r--  1 root root  2206 Mai  9  2019 trusted.gpg~
                          drwxr-xr-x  2 root root  4096 Feb  7 10:42 trusted.gpg.d
                          io@iobroker:~$
                          
                          
                          Thomas Braun 1 Reply Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Randyh last edited by

                            @Randyh

                            sudo rm /etc/apt/s
                            sudo rm /etc/apt/source
                            
                            1 Reply Last reply Reply Quote 0
                            • R
                              Randyh last edited by Randyh

                              io@iobroker:~$ sudo rm /etc/apt/s
                              [sudo] Passwort für io:
                              io@iobroker:~$ sudo rm /etc/apt/source
                              io@iobroker:~$
                              
                              

                              Soll ich:
                              apt --dry-run dist-upgrade
                              nochmal dann testen?

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

                                @Randyh Nein.
                                Irgendwas klemmt da bei apt bzw. dpkg.

                                apt policy node
                                
                                1 Reply Last reply Reply Quote 0
                                • R
                                  Randyh last edited by

                                  io@iobroker:~$ apt policy node
                                  node:
                                    Installiert:           (keine)
                                    Installationskandidat: (keine)
                                    Versionstabelle:
                                  io@iobroker:~$
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Randyh last edited by

                                    @Randyh

                                    find /etc/apt -name *list*
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • R
                                      Randyh last edited by

                                      io@iobroker:~$ find /etc/apt -name *list*
                                      /etc/apt/sources.list~
                                      /etc/apt/sources.list
                                      /etc/apt/listchanges.conf
                                      /etc/apt/sources.list.d
                                      /etc/apt/sources.list.d/nodesource.list
                                      /etc/apt/apt.conf.d/20listchanges
                                      io@iobroker:~$
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @Randyh last edited by Thomas Braun

                                        @Randyh

                                        sudo rm /etc/apt/sources.list~
                                        
                                        grep -Erh deb /etc/apt/sources.list*
                                        
                                        1 Reply Last reply Reply Quote 0
                                        • R
                                          Randyh last edited by

                                          io@iobroker:~$ sudo rm /etc/apt/sources.list~
                                          io@iobroker:~$ grep -Erh deb /etc/apt/sources.list*
                                          # deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official i386 NETINST 20190427-11:18]/ stretch main
                                          #deb cdrom:[Debian GNU/Linux 9.9.0 _Stretch_ - Official i386 NETINST 20190427-11:18]/ stretch main
                                          deb http://ftp.de.debian.org/debian/ stretch main
                                          deb-src http://ftp.de.debian.org/debian/ stretch main
                                          deb http://security.debian.org/debian-security stretch/updates main
                                          deb-src http://security.debian.org/debian-security stretch/updates main
                                          deb http://ftp.de.debian.org/debian/ stretch-updates main
                                          deb-src http://ftp.de.debian.org/debian/ stretch-updates main
                                          deb https://deb.nodesource.com/node_12.x stretch main
                                          deb-src https://deb.nodesource.com/node_12.x stretch main
                                          io@iobroker:~$
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Randyh last edited by

                                            @Randyh
                                            Dann nochmal

                                            sudo apt update
                                            sudo apt install nodejs
                                            
                                            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

                                            968
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            js-controller update nodejs
                                            4
                                            73
                                            2946
                                            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