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.
    • Thomas Braun
      Thomas Braun Most Active @Negalein last edited by

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

      da kommt das

      Wie oben beschrieben...

      Negalein 1 Reply Last reply Reply Quote 0
      • Negalein
        Negalein Global Moderator @crunchip last edited by

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

        du hast da beide drin?

        keine Ahnung.
        In Grafana steht Enterprise

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

          @crunchip

          Kommt jetzt alles über ein Repo:

          echad@chet:~ $ apt policy grafana
          grafana                 grafana-agent           grafana-enterprise      grafana-enterprise-rpi  grafana-rpi
          
          1 Reply Last reply Reply Quote 0
          • Negalein
            Negalein Global Moderator @Thomas Braun last edited by

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

            Wie oben beschrieben...

            Danke, ist fertig.
            Mich hat das Warning: apt-key output should not be parsed (stdout is not a terminal) irritiert gehabt.

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

              @negalein

              Ist doch nur ein Hinweis.

              1 Reply Last reply Reply Quote 1
              • Chaot
                Chaot @Thomas Braun last edited by

                @thomas-braun Juhu!
                Wie gewohnt von dir eine klasse Anleitung die auch einwandfrei funktioniert.
                Ich bekomme zwar eine Warnmeldung:

                apt-key list | grep -i grafana | wc -l 
                Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                1
                

                Aber die ganze Nummer mit dem Ersetzen des Keys funktioniert trotzdem.

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

                  @chaot

                  Der Hinweis kommt, weil apt-key in künftigen Debian-Releases nicht mehr verwendet werden soll. Deswegen werden ja auch die keys da nun herausgekratzt und das Repo wird etwas anders aufgesetzt als bisher.

                  1 Reply Last reply Reply Quote 1
                  • N
                    Naturfreund last edited by

                    Ich habe den key aus der key list gelöscht, bekomme allerdings nach wie vor:

                    pi@raspberrypi:~ $ apt-key list | grep -i grafana | wc -1
                    wc: Ungültige Option -- 1
                    „wc --help“ liefert weitere Informationen.
                    Warning: apt-key output should not be parsed (stdout is not a terminal)
                    

                    apt-key list zeigt folgendes:

                    pi@raspberrypi:~ $ apt-key list
                    /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 2014-06-13 [SC]
                          9FD3 B784 BC1C 6FC3 1A8A  0A1C 1655 A0AB 6857 6280
                    uid        [ unbekannt ] NodeSource <gpg@nodesource.com>
                    sub   rsa4096 2014-06-13 [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]
                    
                    
                    Negalein 1 Reply Last reply Reply Quote 0
                    • Negalein
                      Negalein Global Moderator @Naturfreund last edited by Negalein

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

                      apt-key list | grep -i grafana | wc -1

                      nicht -1. Das ist ein l. Ein kleines L.

                      apt-key list | grep -i grafana | wc -l

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        Naturfreund @Negalein last edited by

                        @negalein 👍 😇

                        ? 1 Reply Last reply Reply Quote 0
                        • L
                          lessthanmore @Thomas Braun last edited by

                          @thomas-braun Danke!
                          Gleiches gilt offensichtlich auch für influxdb.

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

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

                            Gleiches gilt offensichtlich auch für influxdb.

                            Über solche Meldungen bin ich noch nicht gestolpert. Kann aber auch sein, dass mein influx-Repo schon länger umgestellt ist.

                            L 1 Reply Last reply Reply Quote 0
                            • L
                              lessthanmore @Thomas Braun last edited by lessthanmore

                              @Thomas-Braun

                              Hit:1 http://deb.debian.org/debian bullseye InRelease
                              Hit:2 http://deb.debian.org/debian bullseye-updates InRelease          
                              Get:3 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
                              Hit:4 https://apt.grafana.com stable InRelease                         
                              Hit:5 https://repos.influxdata.com/debian stable InRelease          
                              Hit:6 http://ftp.debian.org/debian bullseye-backports InRelease
                              Get:7 http://security.debian.org/debian-security bullseye-security/main Sources [176 kB]
                              Get:8 http://security.debian.org/debian-security bullseye-security/main amd64 Packages [214 kB]
                              Err:5 https://repos.influxdata.com/debian stable InRelease
                                The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 684A14CF2582E0C5
                              Fetched 438 kB in 1s (825 kB/s)
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              All packages are up to date.
                              W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos.influxdata.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 684A14CF2582E0C5
                              W: Failed to fetch https://repos.influxdata.com/debian/dists/stable/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 684A14CF2582E0C5
                              W: Some index files failed to download. They have been ignored, or old ones used instead.
                              
                              

                              Hmm, irgendwas habe ich mir da gerade verbaut (main vs InRelease).

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

                                @lessthanmore

                                echad@chet:~ $ cat /etc/apt/sources.list.d/influxdb.list
                                deb [signed-by=/usr/share/keyrings/influxdb.gpg] https://repos.influxdata.com/debian bullseye stable
                                

                                Ist bei mir schon auf die neue Struktur umgestellt. Der Key ist auch nicht mehr im Schlüsselbund:

                                echad@chet:~ $ apt-key list | grep influx | wc -l
                                Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                                0
                                
                                L 1 Reply Last reply Reply Quote 0
                                • L
                                  lessthanmore @Thomas Braun last edited by lessthanmore

                                  @thomas-braun Bei mir heißt die influxdata.list.
                                  Gibt es da eine Anleitung?
                                  Hätte auch gedacht dass der key influxdb2.key ist.
                                  Welche influxdb Version hast du oder spielt das keine Rolle hier?
                                  Wie kann ich das bei mir korrigieren? Kannst du mir da bitte helfen?

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

                                    @lessthanmore

                                    Key löschen. Geht wie oben:

                                    sudo apt-key del 05CE15085FC09D18E99EFB22684A14CF2582E0C5
                                    

                                    Die /etc/apt/sources.list.d/influxdata.list löschen.
                                    Aktuelles Setup für influxdb:

                                    wget -q -O - https://repos.influxdata.com/influxdb.key | sudo gpg --dearmor -o /usr/share/keyrings/influxdb.gpg
                                    export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc)
                                    echo "deb [signed-by=/usr/share/keyrings/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null
                                    
                                    L A S 3 Replies Last reply Reply Quote 1
                                    • L
                                      lessthanmore @Thomas Braun last edited by

                                      @thomas-braun Lieben Dank, läuft wieder bzw. keine Fehler- bzw. Warnmeldungen mehr.

                                      1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @Naturfreund last edited by

                                        Hallo @naturfreund,

                                        ein Tipp am Rande, wenn Dir ein Befehl, den Du auf der Kommandozeile eingeben sollst, fremd ist oder dich die Neugierde umtreibt, dann kann Du auf der Kommandozeile ja mal folgendes eintippen 😉

                                        # man "befehl"   <- für befehl den einsetzen, den Du nicht kennst
                                        

                                        z.B.:

                                        # man wc
                                        NAME
                                               wc - print newline, word, and byte counts for each file
                                        
                                        SYNOPSIS
                                               wc [OPTION]... [FILE]...
                                               wc [OPTION]... --files0-from=F
                                        
                                        DESCRIPTION
                                               Print newline, word, and byte counts for each FILE, and a total line if more than one FILE is speci‐
                                               fied.  A word is a non-zero-length sequence of printable characters delimited by white space.
                                        
                                               With no FILE, or when FILE is -, read standard input.
                                        
                                               The options below may be used to select which counts are printed, always  in  the  following  order:
                                               newline, word, character, byte, maximum line length.
                                        
                                               -c, --bytes
                                                      print the byte counts
                                        
                                               -m, --chars
                                                      print the character counts
                                        
                                               -l, --lines
                                                      print the newline counts
                                        
                                               --files0-from=F
                                                      read  input  from  the files specified by NUL-terminated names in file F; If F is - then read
                                                      names from standard input
                                        
                                               -L, --max-line-length
                                                      print the maximum display width
                                        
                                               -w, --words
                                                      print the word counts
                                        
                                               --help display this help and exit
                                        
                                               --version
                                                      output version information and exit
                                        
                                        AUTHOR
                                               Written by Paul Rubin and David MacKenzie.
                                        
                                        REPORTING BUGS
                                               GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
                                               Report any translation bugs to <https://translationproject.org/team/>
                                        ...
                                        

                                        So kannst Du für fast jeden Konsolen Befehl eine kurze Beschreibung und eine Liste der Parameter, kompakter geht es mit,

                                        # wc --help
                                        1 dp20eic@yoga-3 ~ % wc --help
                                        Aufruf: wc [OPTION]... [DATEI]...
                                          oder: wc [OPTION]... --files0-from=DL
                                        Zeilen‐, Wort‐ und Byteanzahl für jede DATEI ausgeben und eine Zeile mit der
                                        Gesamtsumme, wenn mehr als eine DATEI angegeben wurde. Ohne DATEI, oder wenn
                                        DATEI „-“ ist, wird von der Standardeingabe gelesen. Ein Wort ist eine nicht
                                        leere Folge von darstellbaren Zeichen, die durch Leerzeichen begrenzt wird.
                                        
                                        Ohne DATEI oder wenn DATEI „-“ ist, Standardeingabe lesen.
                                        
                                        Die unten angeführten Optionen erlauben es, die auszugebenden Zähler
                                        auszuwählen, wobei sie immer in dieser Reihenfolge ausgegeben werden:
                                        Zeilen, Wörter, Zeichen, Bytes, größte Zeilenlänge.
                                        
                                          -c, --bytes            Byteanzahl ausgeben
                                          -m, --chars            Zeichenanzahl ausgeben
                                          -l, --lines            Zeilenanzahl ausgeben
                                              --files0-from=D    Eingabe aus den Dateien lesen, die mit NULL
                                                                 terminiert in der Datei D stehen;
                                                                 ist D „-“, so wird aus der Standardeingabe gelesen
                                          -L, --max-line-length  die Länge der längsten Zeile ausgeben
                                          -w, --words            Wortanzahl ausgeben
                                              --help        diese Hilfe anzeigen und beenden
                                              --version     Versionsinformation anzeigen und beenden
                                        
                                        Onlinehilfe für GNU coreutils: <https://www.gnu.org/software/coreutils/>
                                        Melden Sie Übersetzungsfehler für %s an <translation-team-de@lists.sourceforge.net>
                                        Die vollständige Dokumentation ist hier: <https://www.gnu.org/software/coreutils/wc>
                                        oder auch lokal mittels „info '(coreutils) wc invocation'“
                                        

                                        Somit lernt man Stück für Stück Linux und Tippt/Kopiert nicht nur blind Befehle ab 🙂

                                        VG
                                        Bernd

                                        1 Reply Last reply Reply Quote 2
                                        • A
                                          australien @Thomas Braun last edited by

                                          @thomas-braun
                                          Hi thomas

                                          leider hat das bei mir nichts geholfen 😞

                                          bekomme immer noch die Fehlermeldung

                                          pi@raspberrypi:/ $ sudo apt update
                                          Hit:1 http://deb.debian.org/debian bullseye InRelease
                                          Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
                                          Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                                          Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                                          Get:5 https://repos.influxdata.com/debian bullseye InRelease [7,022 B]
                                          Hit:6 https://deb.nodesource.com/node_17.x bullseye InRelease
                                          Err:5 https://repos.influxdata.com/debian bullseye InRelease
                                            The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                          Fetched 7,022 B in 2s (4,068 B/s)
                                          Reading package lists... Done
                                          Building dependency tree... Done
                                          Reading state information... Done
                                          All packages are up to date.
                                          W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repos.influxdata.com/debian bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                          W: Failed to fetch https://repos.influxdata.com/debian/dists/bullseye/InRelease  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY D8FF8E1F7DF8B07E
                                          W: Some index files failed to download. They have been ignored, or old ones used instead.
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @australien last edited by

                                            @australien

                                            ls -lAh /etc/apt/sources.list.d/
                                            
                                            A 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            684
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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