Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Grafana
    5. Grafana Installation - Fehler grafana-rpi:armhf

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    Grafana Installation - Fehler grafana-rpi:armhf

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      heli-wolf last edited by

      Ich möchte Grafana auf meinem Raspberry PI4 installieren und bin nach Anleitung wie folgt vorgegangen.

      sudo apt-get install -y apt-transport-https
      
      sudo apt-get install -y software-properties-common wget
      
      wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
      
      echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.listcode_text
      

      gefolgt von

      sudo apt update
      
      sudo apt install grafana
      

      dabei kommt die folgende Fehlermeldung:

      iobroker@iobroker:~ $ sudo apt install grafana
      Reading package lists... Done
      Building dependency tree... Done
      Reading state information... Done
      You might want to run 'apt --fix-broken install' to correct these.
      The following packages have unmet dependencies:
       grafana-rpi:armhf : Depends: libfontconfig1:armhf but it is not going to be installed
      E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
      
      

      was läuft da falsch und wie kann ich den Fehler beheben.
      Vielen Dank für Eure Hilfe.
      lg

      Homoran DJMarc75 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @heli-wolf last edited by

        @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

        was läuft da falsch

        @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

        The following packages have unmet dependencies:

        @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

        wie kann ich den Fehler beheben.

        @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

        You might want to run 'apt --fix-broken install' to correct these.

        1 Reply Last reply Reply Quote 0
        • DJMarc75
          DJMarc75 @heli-wolf last edited by

          @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

          /etc/apt/sources.list.d/grafana.listcode_text

          probiers mal damit:

          wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
          echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
          

          und dann:

          sudo apt update && sudo apt install grafana
          
          H 1 Reply Last reply Reply Quote 0
          • H
            heli-wolf @DJMarc75 last edited by

            @djmarc75
            Das habe ich versucht aber leider mit derselben Fehlermeldung.

            DJMarc75 1 Reply Last reply Reply Quote 0
            • DJMarc75
              DJMarc75 @heli-wolf last edited by

              @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

              Das habe ich versucht aber leider mit derselben Fehlermeldung.

              und die Ein- und Ausgaben dazu ?

              H 1 Reply Last reply Reply Quote 0
              • H
                heli-wolf @DJMarc75 last edited by

                @djmarc75

                iobroker@iobroker:~ $ wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -
                [sudo] password for iobroker:
                Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                OK
                iobroker@iobroker:~ $ echo "deb https://packages.grafana.com/oss/deb stable main" | sudo tee -a /etc/apt/sources.list.d/grafana.list
                deb https://packages.grafana.com/oss/deb stable main
                iobroker@iobroker:~ $ sudo apt update && sudo apt install grafana
                Hit:1 http://deb.debian.org/debian bullseye InRelease
                Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
                Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
                Hit:4 https://repos.influxdata.com/debian bullseye InRelease
                Hit:5 http://archive.raspberrypi.org/debian bullseye InRelease
                Hit:6 https://packages.grafana.com/oss/deb stable InRelease
                Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                18 packages can be upgraded. Run 'apt list --upgradable' to see them.
                W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:2
                W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                W: Target Packages (main/binary-armhf/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/grafana.list:1 and /etc/apt/sources.list.d/grafana.list:3
                Reading package lists... Done
                Building dependency tree... Done
                Reading state information... Done
                You might want to run 'apt --fix-broken install' to correct these.
                The following packages have unmet dependencies:
                 grafana-rpi:armhf : Depends: libfontconfig1:armhf but it is not going to be installed
                E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
                iobroker@iobroker:~ $
                
                

                Hilft das weiter oder was wird noch benötigt?

                DJMarc75 1 Reply Last reply Reply Quote 0
                • DJMarc75
                  DJMarc75 @heli-wolf last edited by

                  @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

                  18 packages can be upgraded

                  bring das mal erstmal auf den aktuellen Stand.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    heli-wolf @DJMarc75 last edited by

                    @djmarc75
                    wie aktualisiere ich die Packages - ich dachte das geht mit "sudo apt update"
                    aber offensichtlich nicht.

                    Wie kann ich diese aktualisieren?

                    Homoran 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @heli-wolf last edited by Homoran

                      @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

                      ich dachte das geht mit "sudo apt update"

                      das liest nur die Repos neu ein. zum Update brauchst du sudo apt upgrade

                      es heisst ja auch

                      18 packages can be upgraded.

                      H 1 Reply Last reply Reply Quote 0
                      • H
                        heli-wolf @Homoran last edited by

                        @homoran

                        iobroker@iobroker:~ $ sudo apt upgrade
                        Reading package lists... Done
                        Building dependency tree... Done
                        Reading state information... Done
                        You might want to run 'apt --fix-broken install' to correct these.
                        The following packages have unmet dependencies:
                         grafana-rpi:armhf : Depends: libfontconfig1:armhf but it is not installed
                        E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
                        iobroker@iobroker:~ $
                        
                        

                        Aber der Fehler mit
                        "The following packages have unmet dependencies:
                        grafana-rpi:armhf : Depends: libfontconfig1:armhf but it is not installed
                        E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution)."
                        ist nach wie vor da.

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @heli-wolf last edited by

                          @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

                          ist nach wie vor da.

                          hast du denn gemacht was dir empfohlen wird?

                          @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

                          Try 'apt --fix-broken install'

                          H 1 Reply Last reply Reply Quote 0
                          • H
                            heli-wolf @Homoran last edited by

                            @homoran said in Grafana Installation - Fehler grafana-rpi:armhf:

                            apt --fix-broken install'

                            nein - weil ich den Fehler zwar gelesen habe, auch gegooglt aber ich bin dabei nicht schlauer geworden.
                            Ich kann leider mit dem Befehl überhaupt nichts anfangen.

                            Kann mir dabei bitte wer helfen.....

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @heli-wolf last edited by

                              @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

                              Kann mir dabei bitte wer helfen.....

                              ???

                              soll ich das in deine Konsole eintippen?

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                heli-wolf @Homoran last edited by

                                @homoran
                                Sorry, dachte nicht das ich nur diesen Befehl eingeben muss.

                                iobroker@iobroker:~ $ apt --fix-broken install
                                E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
                                E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
                                iobroker@iobroker:~ $
                                
                                

                                bringt aber wieder einen Fehler.

                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @heli-wolf last edited by

                                  @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

                                  bringt aber wieder einen Fehler.

                                  versuch es mal wie alle apt Befehle mit sudo davor

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    heli-wolf @Homoran last edited by

                                    @homoran
                                    Vielen Dank, jetzt hat er zumindest die Installation fortgeführt.

                                    iobroker@iobroker:~ $ sudo apt install grafana
                                    Reading package lists... Done
                                    Building dependency tree... Done
                                    Reading state information... Done
                                    The following NEW packages will be installed:
                                      grafana
                                    0 upgraded, 1 newly installed, 0 to remove and 14 not upgraded.
                                    Need to get 76.8 MB of archives.
                                    After this operation, 271 MB of additional disk space will be used.
                                    Get:1 https://packages.grafana.com/oss/deb stable/main arm64 grafana arm64 9.1.4 [76.8 MB]
                                    Fetched 76.8 MB in 29s (2,660 kB/s)
                                    Selecting previously unselected package grafana.
                                    (Reading database ... 54954 files and directories currently installed.)
                                    Preparing to unpack .../grafana_9.1.4_arm64.deb ...
                                    Unpacking grafana (9.1.4) ...
                                    dpkg: error processing archive /var/cache/apt/archives/grafana_9.1.4_arm64.deb (--unpack):
                                     trying to overwrite '/usr/lib/systemd/system/grafana-server.service', which is also in package grafana-rpi:armhf 9.1.4
                                    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
                                    Errors were encountered while processing:
                                     /var/cache/apt/archives/grafana_9.1.4_arm64.deb
                                    E: Sub-process /usr/bin/dpkg returned an error code (1)
                                    iobroker@iobroker:~ $ sudo /bin/systemctl enable grafana-server
                                    [sudo] password for iobroker:
                                    Synchronizing state of grafana-server.service with SysV service script with /lib/systemd/systemd-sysv-install.
                                    Executing: /lib/systemd/systemd-sysv-install enable grafana-server
                                    Created symlink /etc/systemd/system/multi-user.target.wants/grafana-server.service → /lib/systemd/system/grafana-server.service.
                                    iobroker@iobroker:~ $ sudo /bin/systemctl start grafana-server
                                    iobroker@iobroker:~ $
                                    
                                    

                                    Aber in den folgenden Zeilen besteht ein weiteres Problem:

                                    dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
                                    Errors were encountered while processing:
                                     /var/cache/apt/archives/grafana_9.1.4_arm64.deb
                                    E: Sub-process /usr/bin/dpkg returned an error code (1)
                                    
                                    
                                    Homoran 1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @heli-wolf last edited by

                                      @heli-wolf ich hab das mal nach OffTopic verschoben.
                                      Grafana ist kein Bestandteil von ioBroker.

                                      @heli-wolf sagte in Grafana Installation - Fehler grafana-rpi:armhf:

                                      dpkg: error processing archive /var/cache/apt/archives/grafana_9.1.4_arm64.deb (--unpack):

                                      ich denke du hast einen Pi?
                                      was willst du dann mit einem 64Bit PC paket?

                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        heli-wolf @Homoran last edited by

                                        @homoran said in Grafana Installation - Fehler grafana-rpi:armhf:

                                        Bearbeiten

                                        das habe ich nicht ausgewählt.
                                        Wie kann ich das ändern?

                                        Homoran DJMarc75 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @heli-wolf last edited by

                                          @heli-wolf sorry, mein Fehler!

                                          arm ist nicht amd 😞

                                          alles gut

                                          ab hier jann ich nicht mehr helfen, nutze Grafana nicht

                                          1 Reply Last reply Reply Quote 0
                                          • DJMarc75
                                            DJMarc75 @heli-wolf last edited by

                                            @heli-wolf
                                            Wie bist Du denn da prinzipiell am Start ?

                                            sudo ln -s /usr/bin/node /usr/bin/nodejs
                                            uname -m && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                            
                                            H 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            899
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            91
                                            3456
                                            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