Now I am trying to install gitlab for ubuntu that be hosted on a virtual machine. Its version is 15.10 and it is 64-bit. I try to install it following this tutorial. But I got such error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package gitlab-ce
The content of /etc/apt/sources.list.d/gitlab_gitlab-ce.list
is :
# 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/ wily main
deb-src https://packages.gitlab.com/gitlab/gitlab-ce/ubuntu/ wily main
Do you know how can I fix this issue? Thanks a lot in advance!
EDIT:
After I installed a ubuntu with version of 16.04, the previous error does not exist anymore. But now a new one occurs :(
When I run apt-get install gitlab-ce
, I got the error of no avaliable space. I ran df -Th
and here is the output
Filesystem Type Size Used Avail Use% Mounted on
udev devtmpfs 2.6G 0 2.6G 0% /dev
tmpfs tmpfs 524M 7.7M 516M 2% /run
/dev/sda1 ext4 4.6G 4.1G 245M 95% /
tmpfs tmpfs 2.6G 21M 2.6G 1% /dev/shm
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs tmpfs 2.6G 0 2.6G 0% /sys/fs/cgroup
tmpfs tmpfs 524M 56K 524M 1% /run/user/1000
So there are some partitions that I can utilize. Do you know how to install the gitlab to those available partitions?
It seems gitlab does not publish a deb for wily
-- only for LTS releases (trusty
/ xenial
at the time of writing), you may be able to sneak by with dropping the xenial (16.04) deb onto wily
however as they are rather compatible distributions. (but I would strongly suggest upgrading to an LTS release).
The directions to download and install a specific deb are listed on this page
curl -LJO https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/xenial/gitlab-ce-XXX.deb/download
dpkg -i gitlab-ce-XXX.deb