Can't install GitLab

Issues related to applications and software problems and general support
Post Reply
User avatar
javajox
Posts: 18
Joined: 2019/10/11 10:08:05
Location: Internet
Contact:

Can't install GitLab

Post by javajox » 2020/01/27 14:18:38

I tried to install GitLab according to several guides, ex : https://sxi.io/how-to-install-and-confi ... s-8-rhel-8
But I get the following error :

Code: Select all

[root@testgitlab ~]# EXTERNAL_URL="http://192.168.111.111" yum install -y gitlab-ce
Last metadata expiration check: 0:00:06 ago on Mon 27 Jan 2020 11:02:38 AM EET.
Error: 
 Problem: cannot install the best candidate for the job
  - nothing provides policycoreutils-python needed by gitlab-ce-12.7.2-ce.0.el7.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
Any idea ? Is CentOS 8 still too raw ?

User avatar
TrevorH
Forum Moderator
Posts: 29644
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't install GitLab

Post by TrevorH » 2020/01/27 14:34:24

That package isn't designed to install on CentOS 8 which ships policycoreutils-python-utils.noarch
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

owl102
Posts: 385
Joined: 2014/06/10 19:13:41

Re: Can't install GitLab

Post by owl102 » 2020/01/28 09:48:16

...instead it's designed to install on CentOS 7 as one can see from the GitLab repository URL in the blog post:

Code: Select all

baseurl=https://packages.gitlab.com/gitlab/gitlab-ce/el/7/$basearch
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/

User avatar
javajox
Posts: 18
Joined: 2019/10/11 10:08:05
Location: Internet
Contact:

Re: Can't install GitLab

Post by javajox » 2020/01/28 16:34:52

What to do then ? There is no point to install GitLab on CentOS 7 now, since I'll have to migrate it to CentOS 8 anyway :cry:

User avatar
TrevorH
Forum Moderator
Posts: 29644
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Can't install GitLab

Post by TrevorH » 2020/01/28 16:43:27

CentOS 7 is still a current version and is until 2024. There is no great rush to deploy 8, especially since it's mostly not ready yet.
CentOS 6 will die in November 2020 - migrate sooner rather than later!
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 is dead, do not use it.
Full time Geek, part time moderator. Use the FAQ Luke

owl102
Posts: 385
Joined: 2014/06/10 19:13:41

Re: Can't install GitLab

Post by owl102 » 2020/01/28 16:43:54

According to https://about.gitlab.com/install/ CentOS 8 is not (yet) supported.

If using CentOS 7 is not an option, you could try going the "Docker" or "Installation from source" route.
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/

User avatar
javajox
Posts: 18
Joined: 2019/10/11 10:08:05
Location: Internet
Contact:

Re: Can't install GitLab

Post by javajox » 2020/05/30 08:26:41

For the record : they added support for CentOS 8

https://about.gitlab.com/install/#centos-8

Post Reply

Return to “CentOS 8 - General Support”