{"id":4127,"date":"2020-07-15T14:52:14","date_gmt":"2020-07-15T05:52:14","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=4127"},"modified":"2020-07-15T14:52:16","modified_gmt":"2020-07-15T05:52:16","slug":"post-4127","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2020\/07\/15\/post-4127\/","title":{"rendered":"GitLab\u3092apt\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u3068\u3053\u308d\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f"},"content":{"rendered":"\n<p>GitLab\uff08\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001GitLab\u00a0Community\u00a0Edition\u00a012.10.5\uff09\u3092apt\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u3068\u3053\u308d\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002apt\u00a0upgrade\u3067\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u306f\u4e0b\u8a18\u3002<\/p>\n\n\n\n<pre>\ngitlab preinstall: It seems you are upgrading from major version 12 to major version 13.\ngitlab preinstall: It is required to upgrade to the latest 13.0.x version first before proceeding.\ngitlab preinstall: Please follow the upgrade documentation at https:\/\/docs.gitlab.com\/ee\/policy\/maintenance.html#upgrade-recommendations\ndpkg: \u30a2\u30fc\u30ab\u30a4\u30d6 \/var\/cache\/apt\/archives\/gitlab-ce_13.1.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_13.1.3-ce.0_amd64.deb\nE: Sub-process \/usr\/bin\/dpkg returned an error code (1)\n<\/pre>\n\n\n\n<p>\u30a8\u30e9\u30fc\u306e\u539f\u56e0\u3068\u3057\u3066\u306f\u3001\u30e1\u30b8\u30e3\u30fc\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u304c\u3042\u308a\u3001\u6bb5\u968e\u7684\u306b\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\u3092\u3057\u306a\u3044\u3068\u3001\u30de\u30a4\u30b0\u30ec\u30fc\u30b7\u30e7\u30f3\u304c\u884c\u3048\u306a\u3044\u305f\u3081\u3001\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002\u30d0\u30fc\u30b8\u30e7\u30f3\u306e12.10\u304b\u308913.1\u3078\u306e\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306b\u306f\u3001\u9593\u306b13.0\u3092\u306f\u3055\u3093\u3067\u304b\u3089\u3001\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3059\u308b\u5fc5\u8981\u304c\u3042\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u30d1\u30b9\u306e\u53c2\u8003\uff1a\u3000<br><a href=\"https:\/\/docs.gitlab.com\/ee\/policy\/maintenance.html#upgrade-recommendations\">https:\/\/docs.gitlab.com\/ee\/policy\/maintenance.html#upgrade-recommendations<\/a><br>\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\uff1a\u3000<br><a href=\"https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce\">https:\/\/packages.gitlab.com\/gitlab\/gitlab-ce<\/a><\/p>\n\n\n\n<p>\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u30d1\u30b9\u3092\u53c2\u8003\u306b\u3001\u30d1\u30c3\u30b1\u30fc\u30b8\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u60c5\u5831\u3092\u3092\u8abf\u3079\u3066\u3001upgrade\u306e\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3059\u308b\u3002\u305d\u3057\u3066\u30011\u6bb5\u968e\u305a\u3064\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u3066\u3044\u304f\u3002<\/p>\n\n\n\n<p>\u5b9f\u884c\u3057\u305f\u30b3\u30de\u30f3\u30c9<\/p>\n\n\n\n<pre>\nsudo apt update\nsudo apt upgrade gitlab-ce=13.0.9-ce.0\nsudo apt upgrade gitlab-ce=13.1.3-ce.0\nsudo gitlab-ctl restart\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>GitLab\uff08\u30d0\u30fc\u30b8\u30e7\u30f3\u306f\u3001GitLab\u00a0Community\u00a0Edition\u00a012.10.5\uff09\u3092apt\u3067\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u3057\u305f\u3068\u3053\u308d\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002apt\u00a0upgrade\u3067\u767a\u751f\u3057\u305f\u30a8\u30e9\u30fc\u306f\u4e0b\u8a18\u3002 gitlab preinst [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,7],"tags":[183,110],"class_list":["post-4127","post","type-post","status-publish","format-standard","hentry","category-linux","category-tech-memo","tag-gitlab","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/4127","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=4127"}],"version-history":[{"count":1,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/4127\/revisions"}],"predecessor-version":[{"id":4128,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/4127\/revisions\/4128"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=4127"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=4127"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=4127"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}