Skip to content

installation failed on Pine64 : Error #126

I'm having trouble installing Gitlab (gitlab-ce omnibus) on my Pine64 (dependencies are already installed and up to date).

Pine64 / OS Specs:

Processor	  : AArch64 Processor rev 4 (aarch64)
RAM           : 2 GB
Debian        : 8.7

I was trying to install the omnibus version for Raspberry Pi and I also tried the Debian 8 version. Both (on a fresh image) failing with the same error:

Error:

gitlab: Thank you for installing GitLab!
gitlab: To configure and start GitLab, RUN THE FOLLOWING COMMAND:

sudo gitlab-ctl reconfigure

gitlab: GitLab should be reachable at http://gitsrv
gitlab: Otherwise configure GitLab for your system by editing /etc/gitlab/gitlab.rb file
gitlab: And running reconfigure again.
gitlab: 
gitlab: For a comprehensive list of configuration options please see the Omnibus GitLab readme
gitlab: https://gitlab.com/gitlab-org/omnibus-gitlab/blob/master/README.md
gitlab: 

gitlab: GitLab now ships with a newer version of PostgreSQL (9.6.1), and will be used
gitlab: as the default in the next major release. To upgrade, RUN THE FOLLOWING COMMANDS:

sudo gitlab-ctl pg-upgrade

gitlab: For more details, please see:
gitlab: https://docs.gitlab.com/omnibus/settings/database.html#upgrade-packaged-postgresql-server
gitlab: 
/opt/gitlab/bin/gitlab-ctl: /opt/gitlab/embedded/bin/omnibus-ctl: /opt/gitlab/embedded/bin/ruby: bad interpreter: No such file or directory
dpkg: error processing package gitlab-ce (--configure):
 subprocess installed post-installation script returned error exit status 126
Errors were encountered while processing:
 gitlab-ce

E: Sub-process /usr/bin/dpkg returned an error code (1)

Thanks, Michael