{"id":3569,"date":"2024-08-02T14:22:10","date_gmt":"2024-08-02T05:22:10","guid":{"rendered":"https:\/\/okamoto3.com\/?p=3569"},"modified":"2024-09-11T00:51:52","modified_gmt":"2024-09-10T15:51:52","slug":"apt-updatekey-is-stored-in-legacy","status":"publish","type":"post","link":"https:\/\/okamoto3.com\/index.php\/2024\/08\/02\/apt-updatekey-is-stored-in-legacy\/3569\/","title":{"rendered":"apt update \u3067\u304d\u306a\u3044(Key is stored in legacy trusted.gpg keyring)\u5bfe\u7b56"},"content":{"rendered":"<p>Raspberry pi  zero 2W\u306b\u3001Raspberry pi OS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001apt update\u3057\u305f\u3089\u30a8\u30e9\u30fc\uff01\u305d\u306e\u5bfe\u7b56\u3092\u3055\u3089\u3057\u307e\u3059\u3002<\/p><h2 class=\"wp-block-heading\">\u30a8\u30e9\u30fc\u5185\u5bb9<\/h2><p><br \/>Hit:1 http:\/\/raspbian.raspberrypi.com\/raspbian bookworm InRelease<br \/>Hit:2 http:\/\/archive.raspberrypi.com\/debian bookworm InRelease<br \/>Error: Timeout was reached<br \/>Reading package lists\u2026 Done<br \/>Building dependency tree\u2026 Done<br \/>Reading state information\u2026 Done<br \/>54 packages can be upgraded. Run &#8216;apt list &#8211;upgradable&#8217; to see them.<br \/>W: http:\/\/raspbian.raspberrypi.com\/raspbian\/dists\/bookworm\/InRelease: <strong>Key is stored in legacy trusted.gpg keyring<\/strong> (\/etc\/apt\/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.<\/p><h2 class=\"wp-block-heading\">\u3063\u3066\u4f55\u3067\u3059\u304b\uff1f<\/h2><p>APT\uff08Advanced Package Tool\uff09\u3067\u4f7f\u3046\u30c7\u30b8\u30bf\u30eb\u7f72\u540dGPG\uff08GNU Privacy Guard\uff09\u30ad\u30fc\u304c\u53e4\u3044\u5834\u6240\/etc\/apt\/trusted.gpg\u306b\u3042\u308b\u304b\u3089\u30c0\u30e1\uff01<br \/>Raspberry Pi 4 8GB<br \/>\u307e\u305f\u306f\u3001Zero 2 W<br \/>\u3067\u8d77\u304d\u308b\u3002<\/p><p><a href=\"https:\/\/forums.raspberrypi.com\/viewtopic.php?t=358016#p2181041\">https:\/\/forums.raspberrypi.com\/viewtopic.php?t=358016#p2181041<\/a><\/p><p>\u3042\u308a\u304c\u3068\u3046\u3054\u3056\u3044\u307e\u3059<\/p><h2 class=\"wp-block-heading\">\u5bfe\u7b56<\/h2><p>\u53e4\u3044\u5834\u6240\u304b\u3089\u65b0\u3057\u3044\u5834\u6240\u3078\u30ad\u30fc\u3092\u30b3\u30d4\u30fc<\/p><h4 class=\"wp-block-heading has-text-align-left has-white-color has-vivid-cyan-blue-background-color has-text-color has-background\">sudo cp \/etc\/apt\/trusted.gpg \/etc\/apt\/trusted.gpg.d<\/h4><p>sudo apt updpte<\/p><p>\u7d50\u679c<\/p><p>Hit:1 http:\/\/raspbian.raspberrypi.com\/raspbian bookworm InRelease<br \/>Hit:2 http:\/\/archive.raspberrypi.com\/debian bookworm InRelease<br \/>Reading package lists\u2026 Done<br \/>Building dependency tree\u2026 Done<br \/>Reading state information\u2026 Done<br \/>54 packages can be upgraded. Run &#8216;apt list &#8211;upgradable&#8217; to see them.<\/p><p>\u3067\u304d\u305f\u304b\u3082\uff1f<\/p><p>\u3064\u3065\u3044\u3066\u3001\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8<\/p><ul class=\"wp-block-list\"><li>sudo apt upgrade -y <\/li>\n\n<li>(\u30c7\u30d0\u30c3\u30b0\u306b\u53c2\u52a0\u3059\u308b\u6c17\u6301\u3061\u304c\u3042\u308c\u3070: sudo apt full-upgrade -y\uff09<\/li>\n\n<li>sudo apt auto-remove -y<\/li>\n\n<li>sudo apt autoclean -y<\/li>\n\n<li>sudo crean<\/li><\/ul><p class=\"has-text-align-left\">\u4ee5\u4e0a<\/p><hr class=\"wp-block-separator has-css-opacity\"\/><div class=\"wp-block-image is-style-rounded\"><figure class=\"aligncenter size-thumbnail\"><a href=\"https:\/\/youtube.com\/user\/hishigeki3\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"150\" height=\"150\" src=\"https:\/\/i0.wp.com\/okamoto3.com\/wp-content\/uploads\/2021\/10\/Screenshot_2021-10-25-07-00-51-667_com.google.android.youtube-01_copy_270x246.jpeg?resize=150%2C150&#038;ssl=1\" alt=\"\" class=\"wp-image-658\" srcset=\"https:\/\/i0.wp.com\/okamoto3.com\/wp-content\/uploads\/2021\/10\/Screenshot_2021-10-25-07-00-51-667_com.google.android.youtube-01_copy_270x246.jpeg?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/okamoto3.com\/wp-content\/uploads\/2021\/10\/Screenshot_2021-10-25-07-00-51-667_com.google.android.youtube-01_copy_270x246.jpeg?resize=100%2C100&amp;ssl=1 100w\" sizes=\"auto, (max-width: 150px) 100vw, 150px\" \/><\/a><figcaption class=\"wp-element-caption\">\u3088\u308d\u3057\u3051\u308c\u3070\u30c1\u30e3\u30f3\u30cd\u30eb\u767b\u9332\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u7533\u3057\u4e0a\u3052\u307e\u3059\uff01<\/figcaption><\/figure><\/div><hr class=\"wp-block-separator has-css-opacity\"\/>","protected":false},"excerpt":{"rendered":"<p>Raspberry pi zero 2W\u306b\u3001Raspberry pi OS\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u3001apt update\u3057\u305f\u3089\u30a8\u30e9\u30fc\uff01\u305d\u306e\u5bfe\u7b56\u3092\u3055\u3089\u3057\u307e\u3059\u3002 \u30a8\u30e9\u30fc\u5185\u5bb9 Hit:1 http:\/\/raspbian.raspbe&hellip; <a class=\"more-link\" href=\"https:\/\/okamoto3.com\/index.php\/2024\/08\/02\/apt-updatekey-is-stored-in-legacy\/3569\/\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">apt update \u3067\u304d\u306a\u3044(Key is stored in legacy trusted.gpg keyring)\u5bfe\u7b56<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":3579,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","enabled":false},"version":2}},"categories":[23,135,213],"tags":[],"class_list":["post-3569","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-raspberry-pi","category-memorandum","category-all-articles","entry"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/okamoto3.com\/wp-content\/uploads\/2024\/08\/IMG_20231108_114042.jpg?fit=119%2C119&ssl=1","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts\/3569","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/comments?post=3569"}],"version-history":[{"count":11,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts\/3569\/revisions"}],"predecessor-version":[{"id":3605,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/posts\/3569\/revisions\/3605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/media\/3579"}],"wp:attachment":[{"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/media?parent=3569"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/categories?post=3569"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/okamoto3.com\/index.php\/wp-json\/wp\/v2\/tags?post=3569"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}