{"id":635,"date":"2025-05-15T10:14:17","date_gmt":"2025-05-15T08:14:17","guid":{"rendered":"https:\/\/whoami.lausitz-event.info\/?p=635"},"modified":"2025-05-15T12:55:38","modified_gmt":"2025-05-15T10:55:38","slug":"linux-umstellung-auf-neues-gpg-modell","status":"publish","type":"post","link":"https:\/\/whoami.lausitz-event.info\/?p=635","title":{"rendered":"Linux &#8211; Umstellung auf neues GPG Modell"},"content":{"rendered":"\n\n<p>Bei einem apt update bekommst du folgenden Fehler:<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>W: https:\/\/packages.icinga.com\/debian\/dists\/icinga-bullseye\/InRelease: Key is stored in legacy trusted.gpg keyring (\/etc\/apt\/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.\n\n<\/code><\/pre>\n\n\n\n\n\n<p>L\u00f6sung:<\/p>\n\n\n\n\n\n<p>GPG-Schl\u00fcssel herunterladen und speichern<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>curl -fsSL https:\/\/packages.icinga.com\/icinga.key | gpg --dearmor -o \/usr\/share\/keyrings\/icinga-archive-keyring.gpg<\/code><\/pre>\n\n\n\n\n\n<p>Repository in <code>\/etc\/apt\/sources.list.d\/icinga.list<\/code> (oder \u00e4hnlich) anpassen<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>deb &#91;signed-by=\/usr\/share\/keyrings\/icinga-archive-keyring.gpg] https:\/\/packages.icinga.com\/debian icinga-bullseye main<\/code><\/pre>\n\n\n\n\n\n<p>Alten Schl\u00fcssel aus <code>trusted.gpg<\/code> entfernen (optional)<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>apt-key list<\/code><\/pre>\n\n\n\n\n\n<p>Finde den Icinga-Schl\u00fcssel (normalerweise am Namen oder E-Mail erkennbar), kopiere die <code>pub<\/code>-ID (z.\u202fB. <code>1234ABCD<\/code>), und entferne ihn:<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>apt-key del 1234ABCD<\/code><\/pre>\n\n\n\n\n\n<p>F\u00fchre ein Update durch:<\/p>\n\n\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n","protected":false},"excerpt":{"rendered":"<p>Bei einem apt update bekommst du folgenden Fehler: L\u00f6sung: GPG-Schl\u00fcssel herunterladen und speichern Repository in \/etc\/apt\/sources.list.d\/icinga.list (oder \u00e4hnlich) anpassen Alten Schl\u00fcssel aus trusted.gpg entfernen (optional) Finde den Icinga-Schl\u00fcssel (normalerweise am Namen oder E-Mail erkennbar), kopiere die pub-ID (z.\u202fB. 1234ABCD), und entferne ihn: F\u00fchre ein Update durch:<\/p>","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1,14,3,12],"tags":[],"class_list":["post-635","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-icinga-ansible","category-it","category-linux"],"_links":{"self":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts\/635","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=635"}],"version-history":[{"count":2,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts\/635\/revisions"}],"predecessor-version":[{"id":638,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=\/wp\/v2\/posts\/635\/revisions\/638"}],"wp:attachment":[{"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=635"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=635"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/whoami.lausitz-event.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=635"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}