Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. NO_PUBKEY - wie löse ich das?

    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

    NO_PUBKEY - wie löse ich das?

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

      @sven-muthke

      Bitte VOLLSTÄNDIGE Ein- wie Ausgaben 1:1 inkl. LogIn Prompt aus dem Terminal kopieren und in CodeTags eingebettet hier in den Thread posten.

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

        @sven-muthke

        Zum Üben:

        apt-key list
        

        sagt?

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

          @sven-muthke

          Den letzten Key noch löschen, dann

          sudo rm -rf /etc/apt/sources.list.d/influ*
          
          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 /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
          
          echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
          
          sudo apt update
          
          apt policy influxdb*
          
          1 Reply Last reply Reply Quote 0
          • Sven Muthke
            Sven Muthke @Thomas Braun last edited by

            @thomas-braun so?
            iobroker@iobroker:~ $ apt-key list | grep -i influx | wc -l
            Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
            1

            1 Reply Last reply Reply Quote 0
            • Sven Muthke
              Sven Muthke @Thomas Braun last edited by

              @thomas-braun said in NO_PUBKEY - wie löse ich das?:

              apt-key list

              iobroker@iobroker:~ $ 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 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/raspberrypi-archive-stable.gpg

              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]

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

                @sven-muthke sagte in NO_PUBKEY - wie löse ich das?:

                So ähnlich.
                https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

                Der key muss auch raus:

                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]

                Also

                sudo apt-key del 05CE15085FC09D18E99EFB22684A14CF2582E0C5
                

                Dann weiter wie oben.

                Sven Muthke 1 Reply Last reply Reply Quote 0
                • Sven Muthke
                  Sven Muthke @Thomas Braun last edited by

                  @thomas-braun vielen Dank, aber ich bekomme den Key nicht raus (glaube ich) irgendetwas mache ich noch falsch

                  iobroker@iobroker:~ $ sudo apt-key del 05CE15085FC09D18E99EFB22684A14CF2582E0C5
                  [sudo] Passwort für iobroker:
                  Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                  OK
                  iobroker@iobroker:~ $ sudo rm -rf /etc/apt/sources.list.d/influ*
                  iobroker@iobroker:~ $
                  wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                  iobroker@iobroker:~ $
                  wget -q https://repos.influxdata.com/influxdata-archive_compat.key
                  iobroker@iobroker:~ $ sudo apt update
                  OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                  Holen:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease [15,0 kB]
                  OK:3 https://deb.nodesource.com/node_18.x bullseye InRelease
                  Holen:4 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye InRelease [5.127 B]
                  Holen:5 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye/main armhf Packages [10,5 kB]
                  Es wurden 30,6 kB in 1 s geholt (25,0 kB/s).
                  Paketlisten werden gelesen... Fertig
                  Abhängigkeitsbaum wird aufgebaut... Fertig
                  Statusinformationen werden eingelesen... Fertig
                  Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                  iobroker@iobroker:~ $ 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: (keine)
                  Installationskandidat: 1.6.7~rc0-1
                  Versionstabelle:
                  1.6.7~rc0-1 500
                  500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                  iobroker@iobroker:~ $

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

                    @sven-muthke

                    Du musst auch schon alles eingeben...

                    sudo rm -rf /etc/apt/sources.list.d/influ*
                    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 /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
                    echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                    sudo apt update
                    apt policy influxdb*
                    

                    Und setz die Auszüge aus dem Terminal in CodeTags, damit man das besser lesen kann.

                    Sven Muthke 1 Reply Last reply Reply Quote 0
                    • Sven Muthke
                      Sven Muthke @Thomas Braun last edited by

                      @thomas-braun said in NO_PUBKEY - wie löse ich das?:

                      Ich bin scheinbar zu blöd dafür. Der sagt mir immer noch , dass der Key deprecated ist.

                      Wie kann ich das Terminal auf Code Tags setzen?

                      Sorry 😞

                      obroker@iobroker:~ $ sudo apt-key del 05CE15085FC09D18E99EFB22684A14CF2582E0C5
                      Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
                      OK
                      iobroker@iobroker:~ $ sudo rm -rf /etc/apt/sources.list.d/influ*
                      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 /usr/share/keyrings/influxdata-archive_compat.gpg > /dev/null
                      echo 'deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main' | sudo tee /etc/apt/sources.list.d/influxdata.list
                      sudo apt update
                      apt policy influxdb*
                      influxdata-archive_compat.key: OK
                      deb [signed-by=/usr/share/keyrings/influxdata-archive_compat.gpg] https://repos.influxdata.com/debian stable main
                      OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                      OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                      OK:3 https://repos.influxdata.com/debian stable InRelease
                      OK:4 https://deb.nodesource.com/node_18.x bullseye InRelease
                      Holen:5 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye InRelease [5.127 B]
                      Es wurden 5.127 B in 2 s geholt (3.317 B/s).
                      Paketlisten werden gelesen... Fertig
                      Abhängigkeitsbaum wird aufgebaut... Fertig
                      Statusinformationen werden eingelesen... Fertig
                      Aktualisierung für 2 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
                      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: (keine)
                      Installationskandidat: 1.8.10-1
                      Versionstabelle:
                      1.8.10-1 500
                      500 https://repos.influxdata.com/debian stable/main armhf Packages
                      1.6.7~rc0-1 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
                      iobroker@iobroker:~ $

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

                        @sven-muthke sagte in NO_PUBKEY - wie löse ich das?:

                        Der sagt mir immer noch , dass der Key deprecated ist.

                        Nein, das bedeutet, dass das apt-key Verfahren veraltet ist. Deswegen wird der key ja auch gelöscht.

                        Zu CodeTags:
                        https://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge

                        Wie schaut jetzt

                        sudo apt update
                        sudo apt full-upgrade
                        

                        aus?

                        Wobei influxdb bei dir nicht installiert ist, jedenfalls nicht 'ordentlich' über den Paketmanager.

                        Sven Muthke 1 Reply Last reply Reply Quote 0
                        • Sven Muthke
                          Sven Muthke @Thomas Braun last edited by

                          @thomas-braun

                          Sieht jetzt so aus

                          ======================= SUMMARY =======================
                          		     v.2023-04-16
                          
                          
                          Operatingsystem: 	Raspbian GNU/Linux 11 (bullseye)
                          Kernel: 		6.1.21-v8+
                          Installation: 		Native
                          Timezone: 		Europe/Berlin (CEST, +0200)
                          User-ID: 		1000
                          X-Server: 		true
                          Boot Target: 		graphical.target
                          
                          Pending OS-Updates: 	2
                          Pending iob updates: 	36
                          
                          Nodejs-Installation: 	/usr/bin/nodejs 	v18.16.0
                          			/usr/bin/node 		v18.16.0
                          			/usr/bin/npm 		9.5.1
                          			/usr/bin/npx 		9.5.1
                          
                          Recommended versions are nodejs 18.x.y and npm 9.x.y
                          Your nodejs installation is correct
                          
                          MEMORY: 
                                         total        used        free      shared  buff/cache   available
                          Mem:            3.8G        1.8G        575M        473M        1.4G        1.4G
                          Swap:            99M          0B         99M
                          Total:          3.9G        1.8G        675M
                          
                          Active iob-Instances: 	28
                          Active repo(s): beta
                          
                          ioBroker Core: 		js-controller 		4.0.24
                          			admin 			6.3.7
                          
                          ioBroker Status: 	iobroker is running on this host.
                          
                          
                          Objects type: jsonl
                          States  type: jsonl
                          
                          Status admin and web instance:
                          + system.adapter.admin.0                  : admin                 : iobroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                            system.adapter.vis-material-webfont.0   : vis-material-webfont  : iobroker                                 - disabled
                          + system.adapter.web.0                    : web                   : iobroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
                          
                          Objects: 		20686
                          States: 		18238
                          
                          Size of iob-Database:
                          
                          18M	/opt/iobroker/iobroker-data/objects.jsonl
                          33M	/opt/iobroker/iobroker-data/states.jsonl
                          
                          
                          
                          =================== END OF SUMMARY ====================
                          

                          iobroker@iobroker:~ $

                          code_text

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

                            @sven-muthke sagte in NO_PUBKEY - wie löse ich das?:

                            X-Server: true
                            Boot Target: graphical.target

                            Ausschalten, auf einem Server läuft keine graphische Oberfläche.

                            Pending OS-Updates: 2

                            Pending iob updates: 36

                            Beides aktuell halten. Sowohl den ioBroker wie auch das Betriebssystem.

                            Und was sagt nun

                            sudo apt update
                            sudo apt full-upgrade
                            apt policy influxdb*
                            

                            so?

                            Sven Muthke 1 Reply Last reply Reply Quote 0
                            • Sven Muthke
                              Sven Muthke @Thomas Braun last edited by

                              @thomas-braun said in NO_PUBKEY - wie löse ich das?:

                              sudo apt update sudo apt full-upgrade apt policy influxdb*

                              Hi, sieht nach diversen updates jetzt so aus:

                              den Key bekomme ich immer noch nicht raus

                              iobroker@iobroker:~ $ sudo apt update
                              sudo apt full-upgrade
                              apt policy influxdb*
                              OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
                              OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease                                                                                                                                                                             
                              OK:3 https://repos.influxdata.com/debian stable InRelease                                                                                                                                                                                    
                              OK:4 https://deb.nodesource.com/node_18.x bullseye InRelease                                                                                                                                                         
                              Holen:5 https://dl.cloudsmith.io/public/evcc/stable/deb/raspbian bullseye InRelease [5.127 B]                                           
                              Es wurden 5.127 B in 2 s geholt (2.876 B/s).
                              Paketlisten werden gelesen... Fertig
                              Abhängigkeitsbaum wird aufgebaut... Fertig
                              Statusinformationen werden eingelesen... Fertig
                              Alle Pakete sind aktuell.
                              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.
                              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
                              iobroker@iobroker:~ $ 
                              
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Sven Muthke last edited by

                                @sven-muthke

                                Ist der key zu grafana und/oder influx überhaupt noch drin?

                                apt-key list
                                

                                anschauen.
                                Ansonsten schaut das jetzt gut aus, wenn der X-Server ausgeknipst wurde.

                                Sven Muthke 1 Reply Last reply Reply Quote 0
                                • Sven Muthke
                                  Sven Muthke @Thomas Braun last edited by

                                  @thomas-braun said in NO_PUBKEY - wie löse ich das?:

                                  apt-key list

                                  ich befürcht schon

                                  iobroker@iobroker:~ $ 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]
                                  
                                  /etc/apt/trusted.gpg.d/raspberrypi-archive-stable.gpg
                                  -----------------------------------------------------
                                  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]
                                  
                                  iobroker@iobroker:~ $
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Sven Muthke last edited by

                                    @sven-muthke

                                    Nein, da ist kein key von influx mehr drin. Alles i.O.

                                    Sven Muthke 1 Reply Last reply Reply Quote 0
                                    • Sven Muthke
                                      Sven Muthke @Thomas Braun last edited by

                                      @thomas-braun
                                      vielen dank.
                                      wie mache ich dann weiter?

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

                                        @sven-muthke sagte in NO_PUBKEY - wie löse ich das?:

                                        wie mache ich dann weiter?

                                        Keine Ahnung. Was hast du denn vor?
                                        Deine Paketquellen sind jetzt jedenfalls richtig aufgesetzt und das System ist auch auf Stand.

                                        Sven Muthke 1 Reply Last reply Reply Quote 0
                                        • Sven Muthke
                                          Sven Muthke @Thomas Braun last edited by

                                          @thomas-braun influx db instalieren

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

                                            @sven-muthke

                                            Ist doch schon installiert:

                                            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
                                            
                                            Sven Muthke 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            869
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            31
                                            1672
                                            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