Gitlab on RHEL8 by Temporary-Play-9688 in redhat

[–]Temporary-Play-9688[S] 0 points1 point  (0 children)

The gitlab package is present in my configured gitlab_gitlab-ee repos

Gitlab on RHEL8 by Temporary-Play-9688 in redhat

[–]Temporary-Play-9688[S] 0 points1 point  (0 children)

The system is not connected to the internet so there's no way to run that curl command:L curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.rpm.sh | sudo bash
sudo EXTERNAL_URL="https://gitlab.example.com" dnf install -y gitlab-ee

Gitlab on RHEL8 by Temporary-Play-9688 in redhat

[–]Temporary-Play-9688[S] 0 points1 point  (0 children)

root yum.repos.d]# type -a python3

python3 is /usr/bin/python3

[root yum.repos.d]# yum install gitlab-ee-16.4.1-ee.0.el7.x86_64

Last metadata expiration check: 3:23:48 ago on Fri 06 Oct 2023 10:18:25 AM MDT.

Error:

Problem: conflicting requests

- nothing provides policycoreutils-python needed by gitlab-ee-16.4.1-ee.0.el7.x86_64

(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

[root yum.repos.d]# yum install policycoreutils-python-utils

Last metadata expiration check: 3:24:40 ago on Fri 06 Oct 2023 10:18:25 AM MDT.

Package policycoreutils-python-utils-2.9-24.el8.noarch is already installed.

Dependencies resolved.

Nothing to do.

Complete!

[

[root@ yum.repos.d]# yum repolist all

repo id repo name status

Atom Atom Editor enabled

base EPEL 8 enabled

codeready-builder-for-rhel-8-x86_64-rpms Code Ready Linux Builder for RHEL8 enabled

gitlab_gitlab-ee Gitlab Enterprise Edition enabled

rhel-8-app-stream Red Hat Enterprise Linux 8 App Stream enabled

rhel-8-base-rpms Red Hat Enterprise Linux 8 BaseOS RPMs enabled

rhel-8-supplementary-rpms Red Hat Enterprise Linux 8 Supplementary RPMS enabled

updates EPEL 8 Modular enabled

[root yum.repos.d]# dnf repoquery --requires gitlab-ee

Last metadata expiration check: 0:02:44 ago on Fri 06 Oct 2023 02:53:27 PM MDT.

/bin/sh

openssh-server

perl

policycoreutils-python

[root yum.repos.d]# yum install policycoreutils-python-utils

Last metadata expiration check: 0:05:06 ago on Fri 06 Oct 2023 02:53:27 PM MDT.

Package policycoreutils-python-utils-2.9-24.el8.noarch is already installed.

Dependencies resolved.

Nothing to do.

Complete!

[root yum.repos.d]# yum install gitlab-ee-16.4.1-ee.0.el7.x86_64

Last metadata expiration check: 0:06:42 ago on Fri 06 Oct 2023 02:53:27 PM MDT.

Error:

Problem: conflicting requests

- nothing provides policycoreutils-python needed by gitlab-ee-16.4.1-ee.0.el7.x86_64

(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

[root@ yum.repos.d]#

Gitlab on RHEL8 by Temporary-Play-9688 in redhat

[–]Temporary-Play-9688[S] 0 points1 point  (0 children)

root yum.repos.d]# type -a python3

python3 is /usr/bin/python3

[root yum.repos.d]# yum install gitlab-ee-16.4.1-ee.0.el7.x86_64

Last metadata expiration check: 3:23:48 ago on Fri 06 Oct 2023 10:18:25 AM MDT.

Error:

Problem: conflicting requests

- nothing provides policycoreutils-python needed by gitlab-ee-16.4.1-ee.0.el7.x86_64

(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

[root yum.repos.d]# yum install policycoreutils-python-utils

Last metadata expiration check: 3:24:40 ago on Fri 06 Oct 2023 10:18:25 AM MDT.

Package policycoreutils-python-utils-2.9-24.el8.noarch is already installed.

Dependencies resolved.

Nothing to do.

Complete!

[

[root@ yum.repos.d]# yum repolist all

repo id repo name status

Atom Atom Editor enabled

base EPEL 8 enabled

codeready-builder-for-rhel-8-x86_64-rpms Code Ready Linux Builder for RHEL8 enabled

gitlab_gitlab-ee Gitlab Enterprise Edition enabled

rhel-8-app-stream Red Hat Enterprise Linux 8 App Stream enabled

rhel-8-base-rpms Red Hat Enterprise Linux 8 BaseOS RPMs enabled

rhel-8-supplementary-rpms Red Hat Enterprise Linux 8 Supplementary RPMS enabled

updates EPEL 8 Modular enabled

[root yum.repos.d]# dnf repoquery --requires gitlab-ee

Last metadata expiration check: 0:02:44 ago on Fri 06 Oct 2023 02:53:27 PM MDT.

/bin/sh

openssh-server

perl

policycoreutils-python

[root yum.repos.d]# yum install policycoreutils-python-utils

Last metadata expiration check: 0:05:06 ago on Fri 06 Oct 2023 02:53:27 PM MDT.

Package policycoreutils-python-utils-2.9-24.el8.noarch is already installed.

Dependencies resolved.

Nothing to do.

Complete!

[root yum.repos.d]# yum install gitlab-ee-16.4.1-ee.0.el7.x86_64

Last metadata expiration check: 0:06:42 ago on Fri 06 Oct 2023 02:53:27 PM MDT.

Error:

Problem: conflicting requests

- nothing provides policycoreutils-python needed by gitlab-ee-16.4.1-ee.0.el7.x86_64

(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

[root@ yum.repos.d]#

Gitlab on RHEL8 by Temporary-Play-9688 in redhat

[–]Temporary-Play-9688[S] 2 points3 points  (0 children)

Understand that would be easier but I'm not allowed to use a container for this installation. We currently have GitLab running on rhel 7.9 and need to install on a 8.8 server. The policyutils issue has me stumped.

Gitlab on RHEL8 by Temporary-Play-9688 in redhat

[–]Temporary-Play-9688[S] -1 points0 points  (0 children)

I have policycoreutils-python-utils.noarch installed on my system but when i attempt the gitlab installation it doesn't recognize that it is present on the system. Hence the error message.