yum install of gitlab-runner on centos8 fails
Summary
Fresh install of Centos 8, and then "yum update". repo is installed, but "yum install gitlab-runner" fails.
Steps to reproduce
- Install CentOS 8
- Do "yum update" to update packages and reboot
- Follow instructions in https://docs.gitlab.com/runner/install/linux-repository.html
- Adding repo succeeds, but "yum install gitlab-runner" fails with:
# yum install gitlab-runner
runner_gitlab-runner 327 B/s | 862 B 00:02
runner_gitlab-runner-source 324 B/s | 862 B 00:02
No match for argument: gitlab-runner
Error: Unable to find a match: gitlab-runner
#
Actual behavior
Install fails.
Expected behavior
Install should succeed, as per instructions.
Relevant logs and/or screenshots
output of repo installation script:
# curl -L https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.rpm.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6904 100 6904 0 0 12091 0 --:--:-- --:--:-- --:--:-- 12091
Detected operating system as centos/8.
Checking for curl...
Detected curl...
Downloading repository file: https://packages.gitlab.com/install/repositories/runner/gitlab-runner/config_file.repo?os=centos&dist=8&source=script
done.
Installing yum-utils...
runner_gitlab-runner-source 311 B/s | 862 B 00:02
runner_gitlab-runner-source 5.8 kB/s | 3.1 kB 00:00
Importing GPG key 0x51312F3F:
Userid : "GitLab B.V. (package repository signing key) <packages@gitlab.com>"
Fingerprint: F640 3F65 44A3 8863 DAA0 B6E0 3F01 618A 5131 2F3F
From : https://packages.gitlab.com/runner/gitlab-runner/gpgkey
runner_gitlab-runner-source 3.5 kB/s | 3.1 kB 00:00
Importing GPG key 0x880721D4:
Userid : "GitLab, Inc. <support@gitlab.com>"
Fingerprint: 3018 3AC2 C4E2 3A40 9EFB E705 9CE4 5ABC 8807 21D4
From : https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-366915F31B487241.pub.gpg
runner_gitlab-runner-source 69 B/s | 296 B 00:04
Dependencies resolved.
======================================================================================
Package Architecture Version Repository Size
======================================================================================
Installing:
yum-utils noarch 4.0.8-3.el8 BaseOS 64 k
Transaction Summary
======================================================================================
Install 1 Package
Total download size: 64 k
Installed size: 19 k
Downloading Packages:
yum-utils-4.0.8-3.el8.noarch.rpm 113 kB/s | 64 kB 00:00
--------------------------------------------------------------------------------------
Total 66 kB/s | 64 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : yum-utils-4.0.8-3.el8.noarch 1/1
Running scriptlet: yum-utils-4.0.8-3.el8.noarch 1/1
Verifying : yum-utils-4.0.8-3.el8.noarch 1/1
Installed:
yum-utils-4.0.8-3.el8.noarch
Complete!
Generating yum cache for runner_gitlab-runner...
Importing GPG key 0x51312F3F:
Userid : "GitLab B.V. (package repository signing key) <packages@gitlab.com>"
Fingerprint: F640 3F65 44A3 8863 DAA0 B6E0 3F01 618A 5131 2F3F
From : https://packages.gitlab.com/runner/gitlab-runner/gpgkey
Importing GPG key 0x880721D4:
Userid : "GitLab, Inc. <support@gitlab.com>"
Fingerprint: 3018 3AC2 C4E2 3A40 9EFB E705 9CE4 5ABC 8807 21D4
From : https://packages.gitlab.com/runner/gitlab-runner/gpgkey/runner-gitlab-runner-366915F31B487241.pub.gpg
Generating yum cache for runner_gitlab-runner-source...
The repository is setup! You can now install packages.
#
Environment description
Used GitLab Runner version
None yet
Possible fixes
Edited by George Kyriazis