{"id":5837,"date":"2021-09-09T10:21:00","date_gmt":"2021-09-09T01:21:00","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=5837"},"modified":"2021-11-10T20:03:16","modified_gmt":"2021-11-10T11:03:16","slug":"post-5837","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2021\/09\/09\/post-5837\/","title":{"rendered":"Gitlab CE 13.10.3\u3067apt upgrade\u3057\u305f\u3089\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u306e\u3067\u3001\u500b\u5225\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3057\u305f"},"content":{"rendered":"\n<p>Gitlab CE 13.10.3 \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305fUbuntu\u3067\u3001apt upgrade\u3057\u305f\u3068\u304d\u306b\u3001Gitlab\u3060\u3051\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3067\u304d\u305a\u306b\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002\u53e4\u3044\u307e\u307e\u306b\u3082\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u30b9\u30c6\u30c3\u30d7\u3092\u8e0f\u3093\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3055\u308c\u305f\u3068\u304d\u306e\u30e1\u30e2\u3002<\/p>\n\n\n\n<p>\u30a8\u30e9\u30fc<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>(\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u8aad\u307f\u8fbc\u3093\u3067\u3044\u307e\u3059 ... \u73fe\u5728 327380 \u500b\u306e\u30d5\u30a1\u30a4\u30eb\u3068\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u3066\u3044\u307e\u3059\u3002)\n...\/gitlab-ce_14.2.3-ce.0_amd64.deb \u3092\u5c55\u958b\u3059\u308b\u6e96\u5099\u3092\u3057\u3066\u3044\u307e\u3059 ...\ngitlab preinstall: It seems you are upgrading from major version 13 to major version 14.\ngitlab preinstall: It is required to upgrade to the latest 14.0.x version first before proceeding.\ngitlab preinstall: Please follow the upgrade documentation at https:\/\/docs.gitlab.com\/ee\/update\/index.html#upgrade-paths\ndpkg: \u30a2\u30fc\u30ab\u30a4\u30d6 \/var\/cache\/apt\/archives\/gitlab-ce_14.2.3-ce.0_amd64.deb \u306e\u51e6\u7406\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f (--unpack):\n new gitlab-ce package pre-installation script subprocess returned error exit status 1\n\u51e6\u7406\u4e2d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f\u3057\u307e\u3057\u305f:\n \/var\/cache\/apt\/archives\/gitlab-ce_14.2.3-ce.0_amd64.deb\nE: Sub-process \/usr\/bin\/dpkg returned an error code (1)<\/code><\/pre>\n\n\n\n<p>\u4e0b\u8a18\u306e\u30b3\u30de\u30f3\u30c9\u3092\u9806\u756a\u306b\u5b9f\u884c\u3057\u3066\u3001\u30b9\u30c6\u30c3\u30d7\u3092\u8e0f\u3093\u3067GitLab\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u3055\u305b\u305f\u3002 \u201d13.10.3\u201d\u2192\u201d13.12.11\u201d\u2192\u201d14.2.3\u201d\u306e\u9806\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3055\u305b\u305f\u3002\u201d14.2.3\u201d\u306f\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u3057\u305f\u3068\u304d\u306e\u6700\u65b0\u30d0\u30fc\u30b8\u30e7\u30f3\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt-get update\nsudo apt-cache madison gitlab-ce\n\uff08\u5404\u30de\u30a4\u30ca\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u306e\u6700\u5f8c\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8abf\u3079\u3066\u3001\u6b21\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304b\u3089\u6307\u5b9a\u3057\u305f\uff09\nsudo apt-get install gitlab-ce=13.12.11-ce.0\nsudo apt-get install gitlab-ce=14.0.10-ce.0\nsudo gitlab-ctl reconfigure\nsudo apt-get install gitlab-ce=14.2.3-ce.0<\/code><\/pre>\n\n\n\n<p>Gitlab CE 14.2.3\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3092\u3057\u305f\u3068\u304d\u306b\u30a8\u30e9\u30fc\u304c\u8868\u793a\u3055\u308c\u305f\u304c\u3001\u5b9f\u969b\u306b\u306f\u6210\u529f\u3057\u3066\u3044\u305f\u3088\u3046\u3060\u3002<\/p>\n\n\n\n<p>\u53c2\u8003\u3000<a href=\"https:\/\/docs.gitlab.com\/ee\/update\/index.html#checking-for-background-migrations-before-upgrading\">https:\/\/docs.gitlab.com\/ee\/update\/index.html#checking-for-background-migrations-before-upgrading<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Gitlab CE 13.10.3 \u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u305fUbuntu\u3067\u3001apt upgrade\u3057\u305f\u3068\u304d\u306b\u3001Gitlab\u3060\u3051\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3067\u304d\u305a\u306b\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002\u53e4\u3044\u307e\u307e\u306b\u3082\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u30b9\u30c6\u30c3\u30d7\u3092\u8e0f\u3093\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7 [&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],"class_list":["post-5837","post","type-post","status-publish","format-standard","hentry","category-tech-memo","tag-gitlab"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/5837","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=5837"}],"version-history":[{"count":3,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/5837\/revisions"}],"predecessor-version":[{"id":6062,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/5837\/revisions\/6062"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=5837"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=5837"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=5837"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}