Nothing provides perl needed by gitlab-ce-15.3.1-ce.0.el8.x86_64

Cannot upgrade to 15.3.1 on Centos8 from 15.2.3. DNF complaining about perl?

Anyone have idea what’s going on?

[root@git ~]# dnf upgrade gitlab-ce-15.3.1-ce.0.el8.x86_64
gitlab_gitlab-ce                                                                                  577  B/s | 862  B     00:01
gitlab_gitlab-ce-source                                                                           554  B/s | 862  B     00:01
 Problem: cannot install the best update candidate for package gitlab-ce-15.2.3-ce.0.el8.x86_64
  - nothing provides perl needed by gitlab-ce-15.3.1-ce.0.el8.x86_64
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@git ~]# dnf module info perl
Last metadata expiration check: 0:01:06 ago on Thu 25 Aug 2022 09:13:00 AM CEST.
Name             : perl
Stream           : 5.26 [e] [a]
Version          : 8000020190628020724
Context          : 55190bc5
Architecture     : x86_64
Profiles         : common, minimal
Default profiles :
Repo             : @modulefailsafe
Summary          : Practical Extraction and Report Language
Description      : Perl is a high-level programming language with roots in C, sed, awk and shell scripting. Perl is good at handling processes and files, and is especially good at handling text. Perl's hallmarks are practicality and efficiency. While it is used to do a lot of different things, Perl's most common applications are system administration utilities and web programming.
Requires         : platform:[el8]
Artifacts        :

Hint: [d]efault, [e]nabled, [x]disabled, [i]nstalled, [a]ctive
[root@git ~]# cat /etc/redhat-release
CentOS Linux release 8.5.2111
[root@git ~]# perl --version

This is perl 5, version 26, subversion 3 (v5.26.3) built for x86_64-linux-thread-multi
(with 56 registered patches, see perl -V for more detail)

Copyright 1987-2018, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at, the Perl Home Page.

[root@git ~]#


I had the same problem with gitlab-ee-15.3.2 today and 15.3.1 last week both on Red Hat Enterprise Linux 8.5 with perl 5.26.3 in /bin/perl.

The workaround was to upgrade to gitlab-ee-15.2.3 last week, then on to gitlab-ee-15.2.4 today.

According release notes Requires sections, GitLab 15.3.x depends on perl but GitLab 15.2.x doesn’t. I’ve logged a support call to find out more.


Andrew Flint

In my case /bin/perl is provided by the perl-interpreter package.

GitLab support say installing GitLab 15.3.x failed because the installer is looking for a package called simply perl which was not installed. However, package perl was available from software repositories so I’ve now installed it.

When the next critical security vulnerability arrives, I’ll try upgrading to 15.3.x which should work now the perl package has been installed.