I am trying to install GitLab on a RHEL 8.9 server.
The first problem is that I am behind a proxy that won’t let me get to the ultimate location of the repositories. Too many redirects.
Then, the script seems to be unable to deal with RHEL 8.
- It tries to install pygpgme, which is unavailable past RHEL 7
- It tries and fails to install “yum-utils”. I do not know why it fails as that package is available.
Here’s the script’s output:
Detected operating system as rhel/8.
Checking for curl...
Detected curl...
Downloading repository file: https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/config_file.repo?os=rhel&dist=8&source=script
done.
Installing pygpgme to verify GPG signatures...
Updating Subscription Management repositories.
Extra Packages for Enterprise Linux 8 - x86_64 42 kB/s | 26 kB 00:00
Extra Packages for Enterprise Linux 8 - x86_64 1.0 MB/s | 16 MB 00:16
gitlab_gitlab-ee-source 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'gitlab_gitlab-ee-source':
- Curl error (56): Failure when receiving data from the peer for https://d20rj4el6vkp4c.cloudfront.net/empty/rpm/repomd.xml?t=1714045485_2613ad2605241222a791fa6ecdd3b8b2971f0123 [Received HTTP code 403 from proxy after CONNECT]
Error: Failed to download metadata for repo 'gitlab_gitlab-ee-source': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
WARNING:
The pygpgme package could not be installed. This means GPG verification is not possible for any RPM installed on your system.
To fix this, add a repository with pygpgme. Usualy, the EPEL repository for your system will have this.
More information: https://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F
Installing yum-utils...
Updating Subscription Management repositories.
gitlab_gitlab-ee-source 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'gitlab_gitlab-ee-source':
- Curl error (56): Failure when receiving data from the peer for https://d20rj4el6vkp4c.cloudfront.net/empty/rpm/repomd.xml?t=1714045488_e6172bd52223b12cc35df549a1636459f0f7187f [Received HTTP code 403 from proxy after CONNECT]
- Curl error (56): Failure when receiving data from the peer for https://d20rj4el6vkp4c.cloudfront.net/empty/rpm/repomd.xml?t=1714045489_a71014ea31a4c46b495fb7902afad784d9e2d971 [Received HTTP code 403 from proxy after CONNECT]
Error: Failed to download metadata for repo 'gitlab_gitlab-ee-source': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
WARNING:
The yum-utils package could not be installed. This means you may not be able to install source RPMs or use other yum features.
Generating yum cache for gitlab_gitlab-ee...
Error: Failed to download metadata for repo 'gitlab_gitlab-ee': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Generating yum cache for gitlab_gitlab-ee-source...
Error: Failed to download metadata for repo 'gitlab_gitlab-ee-source': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
The repository is setup! You can now install packages.
I am downloading the RPM’s to try a manual, local install.