{"id":1118,"date":"2025-06-13T10:14:51","date_gmt":"2025-06-13T01:14:51","guid":{"rendered":"https:\/\/txn.myds.me\/blog\/?p=1118"},"modified":"2025-06-13T10:14:51","modified_gmt":"2025-06-13T01:14:51","slug":"apt-%e3%81%a7%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%81%97%e3%81%9f-ros-%e3%81%ae-gpg-%e3%81%8c%e3%82%a8%e3%83%a9%e3%83%bc%e3%81%ab%e3%81%aa%e3%82%8b","status":"publish","type":"post","link":"https:\/\/blog.txn.red\/?p=1118","title":{"rendered":"Apt \u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f ROS \u306e gpg \u304c\u30a8\u30e9\u30fc\u306b\u306a\u308b"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">apt update \u3059\u308b\u3068\u4e0b\u8a18\u306e\u8b66\u544a\u304c\u3067\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u53c2\u8003\u30ea\u30f3\u30af\u306b\u3088\u308b\u3068\u4eca\u6708\u306b\u5165\u3063\u3066\u304b\u3089\u3001\u3089\u3057\u3044\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u304a\u304a\u3088\u305d GPG \u30ad\u30fc\u306e\u671f\u9650\u5207\u308c\u3060\u308d\u3046\u3068\u4e88\u6e2c\u3057\u3066\u3044\u305f\u304c (\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e apt \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u3066\u3044\u308b\u3068\u6bd4\u8f03\u7684\u51fa\u304f\u308f\u3059) \u304c\u305d\u306e\u901a\u308a\u3060\u3063\u305f\u3002<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http:\/\/packages.ros.org\/ros2\/ubuntu noble InRelease: The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics &lt;info@osrfoundation.org&gt;\nW: Failed to fetch http:\/\/packages.ros.org\/ros2\/ubuntu\/dists\/noble\/InRelease  The following signatures were invalid: EXPKEYSIG F42ED6FBAB17C654 Open Robotics &lt;info@osrfoundation.org&gt;\nW: Some index files failed to download. They have been ignored, or old ones used instead.<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">GPG \u30ad\u30fc\u3092\u5165\u308c\u66ff\u3048\u308c\u3070\u3044\u3044\u3060\u3051\u306a\u306e\u3060\u304c\u3001URL \u304c\u308f\u304b\u3089\u306a\u304b\u3063\u305f\u306e\u3067\u30e1\u30e2\u3059\u308b\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u9375\u306f <strong>https:\/\/raw.githubusercontent.com\/ros\/rosdistro\/master\/ros.key<\/strong> \u306b\u3042\u308b\u3088\u3046\u306a\u306e\u3067<\/p>\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-plain\"><code>curl -sS https:\/\/raw.githubusercontent.com\/ros\/rosdistro\/master\/ros.key -o ros.key\n\u3068\u304b\nwget https:\/\/raw.githubusercontent.com\/ros\/rosdistro\/master\/ros.key\n<\/code><\/pre><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">\u3042\u3068\u306f \/etc\/apt\/sources.list.d \u306b\u3042\u308b ROS \u30ea\u30dd\u30b8\u30c8\u30ea\u306e\u8a2d\u5b9a\u306b\u5f93\u3063\u3066\u9375\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3057\u3066\uff08\u5165\u308c\u66ff\u3048\u3066\uff09\u3084\u308c\u3070 OK\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u81ea\u5206\u306e\u5834\u5408\u306f\u3001<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/etc\/apt\/sources.list.d\/ros2.list \u306b\u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u5b9a\u7fa9\u3057\u3066\u3042\u308a\u3001\u9375\u30d5\u30a1\u30a4\u30eb\u306f<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\/usr\/share\/keyrings\/ros.gpg<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u3068\u306a\u3063\u3066\u3044\u305f\u306e\u3067\u3001 ros.key \u3092 ros.gpg \u3068\u3057\u3066 \/usr\/share\/keyrings \u306b\u914d\u7f6e\u3057\u3066\u3084\u308c\u3070\u3044\u3044\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"%25e5%258f%2582%25e8%2580%2583\">\u53c2\u8003<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/zenn.dev\/tiryoh\/articles\/2025-06-02-ros-noetic-apt-get-update\">2025\u5e746\u6708\u4ee5\u964dROS\u74b0\u5883\u3067apt-get update\u3059\u308b\u3068\u304d\u306bGPG error\u304c\u767a\u751f\u3059\u308b\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>apt update \u3059\u308b\u3068\u4e0b\u8a18\u306e\u8b66\u544a\u304c\u3067\u308b\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u53c2\u8003\u30ea\u30f3\u30af\u306b\u3088\u308b\u3068\u4eca\u6708\u306b\u5165\u3063\u3066\u304b\u3089\u3001\u3089\u3057\u3044\u3002 \u304a\u304a\u3088\u305d GPG \u30ad\u30fc\u306e\u671f\u9650\u5207\u308c\u3060\u308d\u3046\u3068\u4e88\u6e2c\u3057\u3066\u3044\u305f\u304c (\u30b5\u30fc\u30c9\u30d1\u30fc\u30c6\u30a3\u306e apt \u30ea\u30dd\u30b8\u30c8\u30ea\u3092\u8ffd\u52a0\u3057\u3066\u3044\u308b\u3068\u6bd4\u8f03\u7684 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":86,"footnotes":""},"categories":[9],"tags":[20],"class_list":["post-1118","post","type-post","status-publish","format-standard","hentry","category-dev","tag-robot"],"_links":{"self":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/posts\/1118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1118"}],"version-history":[{"count":0,"href":"https:\/\/blog.txn.red\/index.php?rest_route=\/wp\/v2\/posts\/1118\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.txn.red\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}