Install gitlab on Raspberry Pi 2 with Ubuntu MATE 15.10

hi. I try to install gitlab on Raspberry Pi 2 with Ubuntu MATE 15.10.

First I follow the download page “https://about.gitlab.com/downloads/” , and choose the operating system with “Raspberry PI 2 on Raspbian”.
then I run

sudo curl -o /etc/apt/sources.list.d/gitlab_ce.list "https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/config_file.list?os=debian&dist=jessie" && sudo apt-get update

after that, I can’t install the gitlab-ce, something said that can’t find the gitlab-ce package.

So, I prefer another way, select and download the package manually.
follow the page “https://packages.gitlab.com/gitlab/raspberry-pi2”,

choose the latest version gitlab-ce_8.3.2+20160104130536-ce.0_armhf.deb.
here are two command.

curl -s https://packages.gitlab.com/install/repositories/gitlab/raspberry-pi2/script.deb.sh | sudo bash
sudo apt-get install gitlab-ce=8.3.2+20160104130536-ce.0

But I seems get the same problem. fail on run the apt-get install. something said that can’t find the gitlab-ce package.

At last, I download the deb package, run the

sudo dpkg -i gitlab-ce_8.3.2+20160104130536-ce.0_armhf.deb

then, success.

My question is , why I can’t use “apt-get install” to install the gitlab ?

Don’t hold me for my word here, but I believe the issue is because the OS that gitlab is made for on raspberry pi 2 is raspbian wheezy (on the package page there is nothing for jessie) and not Ubuntu MATE, so apt-get is probably saying “hey this package doesn’t work with this os”, so it wont let you install it, but dpkg just install the package and doesn’t seem to care about much.

1 Like