{"id":10662,"date":"2025-04-06T18:57:22","date_gmt":"2025-04-06T09:57:22","guid":{"rendered":"https:\/\/www.xenos.jp\/~zen\/blog2\/?p=10662"},"modified":"2025-04-06T18:57:24","modified_gmt":"2025-04-06T09:57:24","slug":"post-10662","status":"publish","type":"post","link":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/2025\/04\/06\/post-10662\/","title":{"rendered":"GitLab 17.7.2-ce\u304b\u3089GitLab 17.10.3\u3078\u306eapt upgrade\u304c\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002"},"content":{"rendered":"\n<p>\u3061\u3087\u3063\u3068\u3001GitLab\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u30b5\u30dc\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001GitLab 17.7.2-ce\u304b\u3089GitLab 17.10.3\u3078\u306eapt upgrade\u304c\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002<\/p>\n\n\n\n<p>\u30a8\u30e9\u30fc\u306e\u5185\u5bb9\uff08\u2193\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\/gitlab-ce_17.10.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 17.7 to 17.10.\ngitlab preinstall: It is required to upgrade to the latest 17.8.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_17.10.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_17.10.3-ce.0_amd64.deb\nE: Sub-process \/usr\/bin\/dpkg returned an error code (1)<\/code><\/pre>\n\n\n\n<p>GitLab 17.10.x\u3078\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u305f\u3081\u306b\u3001\u4e00\u5ea6\u3001GitLab 17.8.x\u306b\u4e0a\u3052\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u306e\u3053\u3068\u3002\u53b3\u5bc6\u306a\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u306e\u30d1\u30b9\u3092\u8abf\u3079\u308b\u305f\u3081\u306b\u3001\u4e0b\u8a18\u306e\u516c\u5f0f\u30b5\u30a4\u30c8\u3067\u3001\u30a2\u30c3\u30d7\u30b0\u30ec\u30fc\u30c9\u30d1\u30b9\u3092\u30c1\u30a7\u30c3\u30af\u3057\u305f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/gitlab-com.gitlab.io\/support\/toolbox\/upgrade-path\">https:\/\/gitlab-com.gitlab.io\/support\/toolbox\/upgrade-path<\/a><\/p>\n\n\n\n<p>\u3053\u308c\u306b\u3088\u308b\u3068\u3001\u300cGitLab 17.8.6\u300d\u306b\u4e00\u5ea6\u4e0a\u3052\u308b\u5fc5\u8981\u304c\u3042\u308b\u3068\u3044\u3046\u3053\u3068\u3067\u3001apt upgrade\u3067\u30d0\u30fc\u30b8\u30e7\u30f3\u6307\u5b9a\u3092\u3057\u3066\u3001\u5b9f\u884c\u3002\u30b3\u30de\u30f3\u30c9\u306f\u4e0b\u8a18\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt upgrade gitlab-ce=17.8.6-ce.0<\/code><\/pre>\n\n\n\n<p>GitLab 17.8.6\u3078\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u304c\u6210\u529f\u3057\u305f\u306e\u3092\u78ba\u8a8d\u3057\u3066\u3001\u3082\u3046\u4e00\u5ea6\u3001apt update\u3001apt upgrade\u3092\u884c\u3063\u305f\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update\napt list --upgradable\nsudo apt upgrade<\/code><\/pre>\n\n\n\n<p>\u6b63\u5e38\u7d42\u4e86\u3057\u305f\u3089Gitlab\u3092\u30ea\u30b9\u30bf\u30fc\u30c8\u3055\u305b\u3066\u7d42\u4e86\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo gitlab-ctl restart<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>\u3061\u3087\u3063\u3068\u3001GitLab\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u30b5\u30dc\u3063\u3066\u3044\u305f\u3068\u3053\u308d\u3001GitLab 17.7.2-ce\u304b\u3089GitLab 17.10.3\u3078\u306eapt upgrade\u304c\u30a8\u30e9\u30fc\u306b\u306a\u3063\u305f\u3002 \u30a8\u30e9\u30fc\u306e\u5185\u5bb9\uff08\u2193\uff09 GitLab 17.10.x\u3078\u306e [&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-10662","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\/10662","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=10662"}],"version-history":[{"count":1,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/10662\/revisions"}],"predecessor-version":[{"id":10663,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/posts\/10662\/revisions\/10663"}],"wp:attachment":[{"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/media?parent=10662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/categories?post=10662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xenos.jp\/~zen\/blog2\/index.php\/wp-json\/wp\/v2\/tags?post=10662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}