{"id":6669,"date":"2022-04-17T14:06:57","date_gmt":"2022-04-17T05:06:57","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=6669"},"modified":"2022-04-17T14:06:59","modified_gmt":"2022-04-17T05:06:59","slug":"post-6669","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2022\/04\/17\/post-6669\/","title":{"rendered":"apt update\u3067\u3001Gitlab\u306e\u66f4\u65b0\u3067\u300c\u7f72\u540d\u304c\u7121\u52b9\u300d\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u305f"},"content":{"rendered":"\n<p>Ubuntu Server\u4e0a\u306eGitLab\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3088\u3046\u3068\u3057\u3066\u3001apt update\u3057\u305f\u3068\u3053\u308d\u300c\u7f72\u540d\u304c\u7121\u52b9\u3067\u3059\u300d\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30a8\u30e9\u30fc:6 https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce\/ubuntu bionic InRelease \n  \u4ee5\u4e0b\u306e\u7f72\u540d\u304c\u7121\u52b9\u3067\u3059: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) &lt;packages@gitlab.com><\/code><\/pre>\n\n\n\n<p>2022\u5e7403\u670802\u65e5\u3067\u3001\u7f72\u540d\u306e\u6709\u52b9\u671f\u9650\u304c\u304d\u308c\u3066\u3044\u305f\u3088\u3046\u3060\u3002curl\u3067\u65b0\u3057\u3044\u3082\u306e\u3092\u843d\u3068\u3057\u3066\u3001apt\u30ad\u30fc\u306b\u52a0\u3048\u305f\uff08\u30b3\u30de\u30f3\u30c9\u306f\u4e0b\u8a18\uff09\u3002\u30ad\u30fc\u3092\u66f4\u65b0\u3057\u305f\u306e\u3067\u3001\u3042\u3068\u306f\u901a\u5e38\u901a\u308a\u306e\u66f4\u65b0\u3067GitLab\u306e\u66f4\u65b0\u304c\u3067\u304d\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -s \"https:\/\/packages.gitlab.com\/gpg.key\" | sudo apt-key add -<\/code><\/pre>\n\n\n\n<p>\u5b9f\u969b\u306b\u3084\u3063\u305f\u3068\u304d\u306e\u30ed\u30b0\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u30a8\u30e9\u30fc:6 https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce\/ubuntu bionic InRelease \n  \u4ee5\u4e0b\u306e\u7f72\u540d\u304c\u7121\u52b9\u3067\u3059: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) &lt;packages@gitlab.com> \n187 kB \u3092 3\u79d2 \u3067\u53d6\u5f97\u3057\u307e\u3057\u305f (69.6 kB\/s) \n\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059... \u5b8c\u4e86 \n\u4f9d\u5b58\u95a2\u4fc2\u30c4\u30ea\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059 \n\u72b6\u614b\u60c5\u5831\u3092\u8aad\u307f\u53d6\u3063\u3066\u3044\u307e\u3059... \u5b8c\u4e86 \n\u30d1\u30c3\u30b1\u30fc\u30b8\u306f\u3059\u3079\u3066\u6700\u65b0\u3067\u3059\u3002 \nW: \u7f72\u540d\u7167\u5408\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f\u3002\u30ea\u30dd\u30b8\u30c8\u30ea\u306f\u66f4\u65b0\u3055\u308c\u305a\u3001\u904e\u53bb\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9 \u30d5\u30a1\u30a4\u30eb\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002GPG \u30a8\u30e9\u30fc: https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce\/ubuntu bionic InRelease: \u4ee5\u4e0b\u306e\u7f72\u540d\u304c\u7121\u52b9\u3067\u3059: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) &lt;packages@gitlab.com> \nW: https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce\/ubuntu\/dists\/bionic\/InRelease \u306e\u53d6\u5f97\u306b\u5931\u6557\u3057\u307e\u3057\u305f  \u4ee5\u4e0b\u306e\u7f72\u540d\u304c\u7121\u52b9\u3067\u3059: EXPKEYSIG 3F01618A51312F3F GitLab B.V. (package repository signing key) &lt;packages@gitlab.com> \nW: \u3044\u304f\u3064\u304b\u306e\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u30d5\u30a1\u30a4\u30eb\u306e\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u306b\u5931\u6557\u3057\u307e\u3057\u305f\u3002\u3053\u308c\u3089\u306f\u7121\u8996\u3055\u308c \u308b\u304b\u3001\u53e4\u3044\u3082\u306e\u304c\u4ee3\u308f\u308a\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002 \nzen@SEVR:~$ \nzen@SEVR:~$ apt-key list 3F01618A51312F3F \npub   rsa4096 2020-03-02 &#91;SC] &#91;\u671f\u9650\u5207\u308c: 2022-03-02] \n      F640 3F65 44A3 8863 DAA0  B6E0 3F01 618A 5131 2F3F \nuid           &#91;\u671f\u9650\u5207\u308c] GitLab B.V. (package repository signing key) &lt;packages@gitlab.com> \nzen@SEVR:~$ \nzen@SEVR:~$ curl -s \"https:\/\/packages.gitlab.com\/gpg.key\" | sudo apt-key add - \nOK \nzen@SEVR:~$ \nzen@SEVR:~$ \nzen@SEVR:~$ sudo apt update \n\u30d2\u30c3\u30c8:1 http:\/\/jp.archive.ubuntu.com\/ubuntu bionic InRelease \n\uff76\u8373\uff7c\u50162 http:\/\/jp.archive.ubuntu.com\/ubuntu bionic-updates InRelease &#91;88.7 kB] \n\u30d2\u30c3\u30c8:3 http:\/\/archive.ubuntulinux.jp\/ubuntu bionic InRelease \n\u30d2\u30c3\u30c8:4 http:\/\/archive.ubuntulinux.jp\/ubuntu-ja-non-free bionic InRelease \n\u53d6\u5f97:5 http:\/\/jp.archive.ubuntu.com\/ubuntu bionic-backports InRelease &#91;74.6 kB] \n\u30d2\u30c3\u30c8:7 http:\/\/security.ubuntu.com\/ubuntu bionic-security InRelease \n\u53d6\u5f97:6 https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce\/ubuntu bionic InRelease &#91;23.3 kB] \n\u53d6\u5f97:8 https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce\/ubuntu bionic\/main amd64 Packages &#91;68.5 kB] \n255 kB \u3092 3\u79d2 \u3067\u53d6\u5f97\u3057\u307e\u3057\u305f (85.1 kB\/s) \n\u30d1\u30c3\u30b1\u30fc\u30b8\u30ea\u30b9\u30c8\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059... \u5b8c\u4e86 \n\u4f9d\u5b58\u95a2\u4fc2\u30c4\u30ea\u30fc\u3092\u4f5c\u6210\u3057\u3066\u3044\u307e\u3059 \n\u72b6\u614b\u60c5\u5831\u3092\u8aad\u307f\u53d6\u3063\u3066\u3044\u307e\u3059... \u5b8c\u4e86 \n\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3067\u304d\u308b\u30d1\u30c3\u30b1\u30fc\u30b8\u304c 1 \u500b\u3042\u308a\u307e\u3059\u3002\u8868\u793a\u3059\u308b\u306b\u306f 'apt list --upgradable' \u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002 \nzen@SEVR:~$ \nzen@SEVR:~$ apt list --upgradable \n\u4e00\u89a7\u8868\u793a... \u5b8c\u4e86 \ngitlab-ce\/bionic 14.9.2-ce.0 amd64 &#91;14.8.2-ce.0 \u304b\u3089\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u53ef] \nN: \u8ffd\u52a0\u30d0\u30fc\u30b8\u30e7\u30f3\u304c 436 \u4ef6\u3042\u308a\u307e\u3059\u3002\u8868\u793a\u3059\u308b\u306b\u306f '-a' \u30b9\u30a4\u30c3\u30c1\u3092\u4ed8\u3051\u3066\u304f\u3060\u3055\u3044\u3002 \nzen@SEVR:~$ \nzen@SEVR:~$ \nzen@SEVR:~$ sudo apt upgrade<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Ubuntu Server\u4e0a\u306eGitLab\u3092\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3057\u3088\u3046\u3068\u3057\u3066\u3001apt update\u3057\u305f\u3068\u3053\u308d\u300c\u7f72\u540d\u304c\u7121\u52b9\u3067\u3059\u300d\u306e\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u3002 2022\u5e7403\u670802\u65e5\u3067\u3001\u7f72\u540d\u306e\u6709\u52b9\u671f\u9650\u304c\u304d\u308c\u3066\u3044\u305f\u3088\u3046\u3060\u3002curl\u3067\u65b0\u3057\u3044\u3082\u306e\u3092\u843d [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[183,110],"class_list":["post-6669","post","type-post","status-publish","format-standard","hentry","category-tech-memo","tag-gitlab","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/comments?post=6669"}],"version-history":[{"count":2,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6669\/revisions"}],"predecessor-version":[{"id":6677,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/6669\/revisions\/6677"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=6669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=6669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=6669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}