GitLabインストール時にはまったこと
GitLabのインストール時にはまったこと
Google Compute Engine の Ubuntu 16.10 上にGitLabをインストールした時にはまったこと。
を見ながらインストールしてたら、gitlab-ceが入らなかった。
$ sudo apt-get install gitlab-ce Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package gitlab-ce
を見てたら、yakketyはいまは使用できないらしい。
$ cat /etc/apt/sources.list.d/gitlab_gitlab-ce.list # this file was generated by packages.gitlab.com for # the repository at https://packages.gitlab.com/gitlab/gitlab-ce deb https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ yakkety main deb-src https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ yakkety main
yakketyをtrustyに変えたらgitlab-ceをインストールできた。
$ cat /etc/apt/sources.list.d/gitlab_gitlab-ce.list # this file was generated by packages.gitlab.com for # the repository at https://packages.gitlab.com/gitlab/gitlab-ce deb https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ trusty main deb-src https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ trusty main
$ sudo apt-get update $ sudo apt-get install gitlab-ce
以上