Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst]Fehler bei Node.js Upgrade

    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

    [gelöst]Fehler bei Node.js Upgrade

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

      Habe heute versucht Updates vom RPI durchzuführen. Funktioniert eigentlich immer zuverlässig...

      Heute erhalte ich bei Eingabe von:

      sudo apt-get upgrade
      

      folgende Fehler:

      pi@iobroker-fm:~ $ sudo apt-get upgrade
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      You might want to run 'apt --fix-broken install' to correct these.
      The following packages have unmet dependencies:
       libraspberrypi0 : Depends: raspberrypi-bootloader (= 1.20200819-1) but 1.20200723-1 is installed
      E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
      

      Bin leider kein Linux Guru 😕
      Habe jedoch mal im Netz nach Hilfe gesucht und einige Infos erhalten um die Packages etc. zu cleanen aber alles hat nichts geholfen.
      Wer kann mir hier weiterhelfen?
      Danke für Eure Hilfe.
      pat

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

        @valbuz

        sudo apt update
        sudo apt dist-upgrade
        

        oder

        sudo apt update
        sudo apt install libraspberrypi0 raspberrypi-bootloader
        

        oder alternativ als letzte Lösung (etwas unfein):

        sudo apt update
        sudo apt --fix-broken install
        

        Die beiden Versionsnummern der Pakete müssen gleich sein.
        Auf meinem System schaut das so aus:

        pi@raspberrypi:~ $ apt policy raspberrypi-bootloader libraspberrypi0
        raspberrypi-bootloader:
          Installiert:           1.20200902-1
          Installationskandidat: 1.20200902-1
          Versionstabelle:
         *** 1.20200902-1 500
                500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                100 /var/lib/dpkg/status
        libraspberrypi0:
          Installiert:           1.20200902-1
          Installationskandidat: 1.20200902-1
          Versionstabelle:
         *** 1.20200902-1 500
                500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                100 /var/lib/dpkg/status
        

        Wichtig ist das

        sudo apt update
        

        vor der Installation oder Aktualisierung von Paketen/Programmen. Ich vermute das fehlt bei dir.

        V 1 Reply Last reply Reply Quote 0
        • V
          valbuz @Thomas Braun last edited by

          Hallo Thomas

          Erstmal Danke für Deine Antwort und Hilfe.
          Vorweg noch, obwohl ich es nicht erwähnte
          Ein

          sudo apt-get update
          

          mache ich immer als erstes, auch in diesem Falle

          Die Lösung war dann:

          sudo apt install libraspberrypi0 raspberrypi-bootloader

          Aber eben, warum ich eigentlich in dieses Problem kam, weiss ich nicht.
          Zum Glück musste ich nicht die komplette Installation nochmals durchführen 😊

          Danke Dir nochmals!

          pat

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

            @valbuz Gut.
            Wie sehen die beiden Pakete denn nun aus bei dir?

            apt policy raspberrypi-bootloader libraspberrypi0
            

            Übrigens ist apt-get veraltet. Man verwendet den 'Nachfolger' apt.

            V 1 Reply Last reply Reply Quote 0
            • V
              valbuz @Thomas Braun last edited by

              @Thomas-Braun sagte in [gelöst]Fehler bei Node.js Upgrade:

              @valbuz Gut.
              Wie sehen die beiden Pakete denn nun aus bei dir?

              apt policy raspberrypi-bootloader libraspberrypi0
              

              Übrigens ist apt-get veraltet. Man verwendet den 'Nachfolger' apt.

              pi@iobroker-fm:~ $ apt policy raspberrypi-bootloader libraspberrypi0
              raspberrypi-bootloader:
                Installed: 1.20200902-1
                Candidate: 1.20200902-1
                Version table:
               *** 1.20200902-1 500
                      500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                      100 /var/lib/dpkg/status
              libraspberrypi0:
                Installed: 1.20200902-1
                Candidate: 1.20200902-1
                Version table:
               *** 1.20200902-1 500
                      500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                      100 /var/lib/dpkg/status
              
              

              Ich denke Perfekt 👍

              Also nur "apt" (weniger ist immer besser...)

              pat

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

                @valbuz

                sudo apt update
                

                Meldet jetzt alle Pakete als aktuell?

                V 1 Reply Last reply Reply Quote 0
                • V
                  valbuz @Thomas Braun last edited by

                  @Thomas-Braun sagte in [gelöst]Fehler bei Node.js Upgrade:

                  @valbuz

                  sudo apt update
                  

                  Meldet jetzt alle Pakete als aktuell?

                  Ja, auch Node.js wurde aktualisiert.

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

                    @valbuz
                    Gut. Und node ist gerade im System?

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

                    Aber eben, warum ich eigentlich in dieses Problem kam, weiss ich nicht.

                    Schlechtes timing des updates, vermute ich. Die Repositories waren wohl noch nicht auf einem konsistenten Stand.

                    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

                    883
                    Online

                    31.9k
                    Users

                    80.1k
                    Topics

                    1.3m
                    Posts

                    upgrade fehler rpi node.js
                    2
                    8
                    385
                    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