Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Visualisierung
    4. Linux/Debian - Grafana-Repo muss aktualisiert werden

    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

    Linux/Debian - Grafana-Repo muss aktualisiert werden

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

      und wieder eine Anfänger Frage, muss ich hier auch die beiden Schlüssel von influx löschen ?

      pi@raspberrypi:~ $ apt-key list
      Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
      /etc/apt/trusted.gpg
      --------------------
      pub   rsa2048 2012-04-01 [SC]
            A0DA 38D0 D76E 8B5D 6388  7281 9165 938D 90FD DD2E
      uid        [ unbekannt ] Mike Thompson (Raspberry Pi Debian armhf ARMv6+VFP) <mpthompson@gmail.com>
      sub   rsa2048 2012-04-01 [E]
      
      pub   rsa2048 2012-06-17 [SC]
            CF8A 1AF5 02A2 AA2D 763B  AE7E 82B1 2992 7FA3 303E
      uid        [ unbekannt ] Raspberry Pi Archive Signing Key
      sub   rsa2048 2012-06-17 [E]
      
      pub   rsa4096 2015-09-28 [SC]
            05CE 1508 5FC0 9D18 E99E  FB22 684A 14CF 2582 E0C5
      uid        [ unbekannt ] InfluxDB Packaging Service <support@influxdb.com>
      sub   rsa4096 2015-09-28 [E]
      
      /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg
      ----------------------------------------------------
      pub   rsa4096 2023-01-18 [SC] [verfällt: 2026-01-17]
            9D53 9D90 D332 8DC7 D6C8  D3B9 D8FF 8E1F 7DF8 B07E
      uid        [ unbekannt ] InfluxData Package Signing Key <support@influxdata.com>
      
      pi@raspberrypi:~ $
      

      und dann

      sudo rm /etc/apt/sources.list.d/influxdb.list
      wget -q https://repos.influxdata.com/influxdata-archive_compat.key
      echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
      echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
      sudo apt update
      sudo apt full-upgrade
      

      ausführen ?

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

        @darkblu

        Ja, die Schlüssel sollten aus apt-key raus.
        Ob du dann das Repo anlegen musst hängt vom jetzigen Setup ab.

        D 1 Reply Last reply Reply Quote 0
        • D
          darkblu @Thomas Braun last edited by

          @thomas-braun
          Wie finde ich denn raus, ob ich das Repo anlegen muss, bzw. welches Setup ich habe ?
          Sorry für meine Unwissenheit.

          wendy2702 1 Reply Last reply Reply Quote 0
          • wendy2702
            wendy2702 @darkblu last edited by

            @darkblu Guckst du hier: https://forum.iobroker.net/post/937984

            1 Reply Last reply Reply Quote 0
            • D
              darkblu last edited by

              sodele,

              ls -lA /etc/apt/sources.list.d/
              sudo apt update
              

              sagt:

              pi@raspberrypi:~ $ sudo apt-key del 05CE15085FC09D18E99EFB22684A14CF2582E0C5
              Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
              OK
              pi@raspberrypi:~ $ sudo apt-key del 9D539D90D3328DC7D6C8D3B9D8FF8E1F7DF8B07E
              Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
              OK
              pi@raspberrypi:~ $ ls -lA /etc/apt/sources.list.d/
              insgesamt 12
              -rw-r--r-- 1 root root  84 30. Jan 18:31 grafana.list
              -rw-r--r-- 1 root root 208 26. Aug 15:09 nodesource.list
              -rw-r--r-- 1 root root 191 30. Okt 2021  raspi.list
              pi@raspberrypi:~ $ sudo apt update
              OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
              OK:2 https://deb.nodesource.com/node_16.x bullseye InRelease
              OK:3 https://apt.grafana.com stable InRelease
              OK:4 http://archive.raspberrypi.org/debian bullseye InRelease
              Paketlisten werden gelesen… Fertig
              Abhängigkeitsbaum wird aufgebaut… Fertig
              Statusinformationen werden eingelesen… Fertig
              Alle Pakete sind aktuell.
              

              wenn ich es richtig verstanden habe, bin ich dann endlich am Ziel und muss nix mehr machen 😧 ?

              also das hier (nicht machen):

              sudo rm /etc/apt/sources.list.d/influxdb.list
              wget -q https://repos.influxdata.com/influxdata-archive_compat.key
              echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
              echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
              sudo apt update
              sudo apt full-upgrade
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @darkblu last edited by

                @darkblu

                Da ist kein Repo für influxdb angelegt.
                Also wirst du das tun müssen, wenn influxdb verwendet werden soll.

                D 1 Reply Last reply Reply Quote 0
                • D
                  darkblu @Thomas Braun last edited by

                  @thomas-braun
                  ey ey Sir
                  hier die Ausgabe:

                  pi@raspberrypi:~ $ iob stop
                  pi@raspberrypi:~ $ sudo rm /etc/apt/sources.list.d/influxdb.list
                  rm: das Entfernen von '/etc/apt/sources.list.d/influxdb.list' ist nicht möglich: Datei oder Verzeichnis nicht gefunden
                  pi@raspberrypi:~ $ wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                  pi@raspberrypi:~ $ echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                  influxdata-archive_compat.key: OK
                  pi@raspberrypi:~ $ echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                  deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                  pi@raspberrypi:~ $ sudo apt update
                  OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                  Holen:2 https://repos.influxdata.com/debian stable InRelease [6.874 B]
                  OK:3 https://apt.grafana.com stable InRelease
                  OK:4 https://deb.nodesource.com/node_16.x bullseye InRelease
                  OK:5 http://archive.raspberrypi.org/debian bullseye InRelease
                  Holen:6 https://repos.influxdata.com/debian stable/main armhf Packages [1.669 B]
                  Es wurden 8.543 B in 1 s geholt (6.376 B/s).
                  Paketlisten werden gelesen… Fertig
                  Abhängigkeitsbaum wird aufgebaut… Fertig
                  Statusinformationen werden eingelesen… Fertig
                  Alle Pakete sind aktuell.
                  pi@raspberrypi:~ $ sudo apt full-upgrade
                  Paketlisten werden gelesen… Fertig
                  Abhängigkeitsbaum wird aufgebaut… Fertig
                  Statusinformationen werden eingelesen… Fertig
                  Paketaktualisierung (Upgrade) wird berechnet… Fertig
                  0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
                  pi@raspberrypi:~ $
                  

                  jetzt bin ich aber durch ?

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

                    @darkblu

                    apt policy influxdb*
                    

                    sagt?

                    D 1 Reply Last reply Reply Quote 0
                    • D
                      darkblu @Thomas Braun last edited by

                      @thomas-braun said in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                      apt policy influxdb*

                      sagt:

                      pi@raspberrypi:~ $ apt policy influxdb*
                      influxdb-client:
                        Installiert:           (keine)
                        Installationskandidat: 1.6.7~rc0-1
                        Versionstabelle:
                           1.6.7~rc0-1 500
                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                      influxdb-dev:
                        Installiert:           (keine)
                        Installationskandidat: (keine)
                        Versionstabelle:
                      influxdb:
                        Installiert:           1.8.10-1
                        Installationskandidat: 1.8.10-1
                        Versionstabelle:
                       *** 1.8.10-1 500
                              500 https://repos.influxdata.com/debian stable/main armhf Packages
                              100 /var/lib/dpkg/status
                           1.6.7~rc0-1 500
                              500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                      pi@raspberrypi:~ $
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @darkblu last edited by

                        @darkblu

                        Passt.

                        D 1 Reply Last reply Reply Quote 0
                        • D
                          darkblu @Thomas Braun last edited by

                          @thomas-braun ,
                          ich kann mich nur wiederholen
                          vielen lieben Dank

                          1 Reply Last reply Reply Quote 0
                          • H
                            hotspot_2 @Thomas Braun last edited by

                            @thomas-braun said in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                            @shellyrulestheworld

                            sudo rm /etc/apt/sources.list.d/influxdb.list
                            wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                            echo '393e8779c89ac8d958f81f942f9ad7fb82a25e133faddaf92e15b16e6ac9ce4c influxdata-archive_compat.key' | sha256sum -c && cat influxdata-archive_compat.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg > /dev/null
                            echo 'deb [signed-by=/etc/apt/trusted.gpg.d/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                            sudo apt update
                            sudo apt full-upgrade
                            

                            Hallo zusammen, ich habe das oben stehende gemacht und der Fehler mit dem Key ist dann weg.

                            Erhalte dann aber diesen Fehler:

                            Fehl:1 https://packages.grafana.com/oss/deb stable/main amd64 grafana amd64 9.3.6
                              404  Not Found [IP: 151.101.2.217 443]
                            E: Fehlschlag beim Holen von https://packages.grafana.com/oss/deb/pool/main/g/grafana/grafana_9.3.6_amd64.deb 404  Not Found [IP: 151.101.2.217 443]
                            E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?
                            
                            

                            apt-get update bringt auch keine Besserung.

                            Hat mir jemand einen Tipp was ich da machen kann?

                            Vielen Dank.

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

                              @hotspot_2

                              Bitte IMMER vollständige Ein- wie Ausgaben inkl. LogIn Prompt posten.

                              ls -lA
                              

                              in dem Verzeichnis wo do da gerade drinstandst sagt?

                              cat /etc/apt/sources.list.d/gra*
                              

                              sagt?

                              H 1 Reply Last reply Reply Quote 0
                              • H
                                hotspot_2 @Thomas Braun last edited by

                                @thomas-braun sagte in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                                @hotspot_2

                                Bitte IMMER vollständige Ein- wie Ausgaben inkl. LogIn Prompt posten.

                                Alles klar! Danke für den Hinweis.

                                ls -lA
                                

                                in dem Verzeichnis wo do da gerade drinstandst sagt?

                                marcus@iobroker:~$ sudo ls -lA
                                [sudo] Passwort für marcus:
                                Das hat nicht funktioniert, bitte nochmal probieren.
                                [sudo] Passwort für marcus:
                                insgesamt 28
                                -rw------- 1 marcus marcus 4908 31. Jan 10:55 .bash_history
                                -rw-r--r-- 1 marcus marcus  220  6. Sep 11:02 .bash_logout
                                -rw-r--r-- 1 marcus marcus 3526  6. Sep 11:02 .bashrc
                                -rw-r--r-- 1 marcus marcus 1684 26. Jan 22:11 influxdata-archive_compat.key
                                -rw------- 1 marcus marcus    0  2. Jan 21:47 .node_repl_history
                                drwxr-xr-x 3 marcus marcus 4096  2. Jan 21:10 .npm
                                -rw-r--r-- 1 marcus marcus  807  6. Sep 11:02 .profile
                                
                                
                                cat /etc/apt/sources.list.d/gra*
                                

                                sagt?

                                marcus@iobroker:~$ cat /etc/apt/sources.list.d/gra*
                                deb https://packages.grafana.com/oss/deb stable main
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @hotspot_2 last edited by Thomas Braun

                                  @hotspot_2 sagte in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                                  sudo ls -lA

                                  Wer hat denn gesagt, dass du da root-Rechte benötigst?

                                  Das Grafana-Repository nochmal neuanlegen, da fehlen Einträge in der *.list-Datei.

                                  H 1 Reply Last reply Reply Quote 0
                                  • H
                                    hotspot_2 @Thomas Braun last edited by

                                    @thomas-braun

                                    Hier nochmal ohne "sudo":

                                    marcus@iobroker:~$ ls -lA
                                    insgesamt 28
                                    -rw------- 1 marcus marcus 4908 31. Jan 10:55 .bash_history
                                    -rw-r--r-- 1 marcus marcus  220  6. Sep 11:02 .bash_logout
                                    -rw-r--r-- 1 marcus marcus 3526  6. Sep 11:02 .bashrc
                                    -rw-r--r-- 1 marcus marcus 1684 26. Jan 22:11 influxdata-archive_compat.key
                                    -rw------- 1 marcus marcus    0  2. Jan 21:47 .node_repl_history
                                    drwxr-xr-x 3 marcus marcus 4096  2. Jan 21:10 .npm
                                    -rw-r--r-- 1 marcus marcus  807  6. Sep 11:02 .profile
                                    
                                    

                                    Wie lege ich den das grafana repository neu an?

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

                                      @hotspot_2

                                      https://forum.iobroker.net/topic/62040/linux-debian-grafana-repo-muss-aktualisiert-werden

                                      H 1 Reply Last reply Reply Quote 0
                                      • H
                                        hotspot_2 @Thomas Braun last edited by

                                        @thomas-braun

                                        Das hat jetzt funktioniert. Vielen Dank! Kein Problem mehr beim Update.

                                        Beim Update passiert aber nun noch folgendes:

                                        marcus@iobroker:~$ sudo apt-get upgrade
                                        Paketlisten werden gelesen… Fertig
                                        Abhängigkeitsbaum wird aufgebaut… Fertig
                                        Statusinformationen werden eingelesen… Fertig
                                        Paketaktualisierung (Upgrade) wird berechnet… Fertig
                                        Die folgenden Pakete sind zurückgehalten worden:
                                          linux-image-amd64
                                        Die folgenden Pakete werden aktualisiert (Upgrade):
                                          curl git git-man grafana libcurl3-gnutls libcurl4 libtiff5
                                        7 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
                                        Es müssen noch 89,3 MB von 97,8 MB an Archiven heruntergeladen werden.
                                        Nach dieser Operation werden 42,0 kB Plattenplatz zusätzlich benutzt.
                                        Möchten Sie fortfahren? [J/n] J
                                        Fehl:1 https://apt.grafana.com stable/main amd64 grafana amd64 9.3.6
                                          404  Not Found [IP: 146.75.118.217 443]
                                        E: Fehlschlag beim Holen von https://apt.grafana.com/pool/main/g/grafana/grafana_9.3.6_amd64.deb 404  Not Found [IP: 146.75.118.217 443]
                                        E: Einige Archive konnten nicht heruntergeladen werden; vielleicht »apt-get update« ausführen oder mit »--fix-missing« probieren?
                                        
                                        

                                        Gibts da noch einen Fix?

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

                                          @hotspot_2 sagte in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                                          cat /etc/apt/sources.list.d/gra*
                                          
                                          sudo apt update
                                          
                                          H 1 Reply Last reply Reply Quote 0
                                          • H
                                            hotspot_2 @Thomas Braun last edited by

                                            @thomas-braun sagte in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                                            @hotspot_2 sagte in Linux/Debian - Grafana-Repo muss aktualisiert werden:

                                            cat /etc/apt/sources.list.d/gra*
                                            
                                            marcus@iobroker:~$ cat /etc/apt/sources.list.d/gra*
                                            deb [signed-by=/usr/share/keyrings/grafana.key] https://apt.grafana.com stable main
                                            
                                            
                                            sudo apt update
                                            
                                            marcus@iobroker:~$ sudo apt update
                                            OK:1 http://security.debian.org/debian-security bullseye-security InRelease
                                            OK:2 http://deb.debian.org/debian bullseye InRelease
                                            OK:3 http://deb.debian.org/debian bullseye-updates InRelease
                                            OK:4 https://apt.grafana.com stable InRelease
                                            OK:5 https://repos.influxdata.com/debian stable InRelease
                                            OK:6 https://deb.nodesource.com/node_14.x bullseye InRelease
                                            OK:7 https://deb.nodesource.com/node_16.x bullseye InRelease
                                            Paketlisten werden gelesen… Fertig
                                            Abhängigkeitsbaum wird aufgebaut… Fertig
                                            Statusinformationen werden eingelesen… Fertig
                                            Aktualisierung für 8 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                                            
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            763
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            21
                                            144
                                            27775
                                            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