You can try adding the repo of your company manually. Add a new file named /etc/yum.repos.d/mycompany.repo Add the following entry to that file.

[mycompany]
name=MyCompany Repo
baseurl=http://repo.mycompany.com/rhel8-x86_64/latest/RPMS.all
enabled=1
gpgcheck=0

After that, run yum clean all && yum update. If you are able to use the first repo, add another repo entry in the same file in another block. It should work.

Ref: https://www.redhat.com/sysadmin/add-yum-repository

In the reference, they've verified the manual entry using yum-config-manager. Since it is not preinstalled in Docker container, just skip the verification part. If you face any issue while running this solution, feel free to paste the errors. To revert back, simply delete /etc/yum.repos.d/mycompany.repo file and run yum clean all && yum update.

Answer from Amartya Sinha on Stack Exchange
🌐
Red Hat
bugzilla.redhat.com › show_bug.cgi
Unable to find a match: yum-utils in podman container
January 27, 2022 - Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla · RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue ...
🌐
Red Hat
access.redhat.com › solutions › 4500251
yum or dnf fails with "Error: Unable to find a match" when a package is missing - Red Hat Customer Portal
yum or dnf commands fail if a package is not found: # yum install telnet foo Updating Subscription Management repositories. Last metadata expiration check: 1:05:08 ago on Tue 15 Oct 2019 13:36:54 AEST. No match for argument: foo Error: Unable to find a match Previous versions of yum would simply ignore missing package and install the rest.
Discussions

[Question] Can't install specific yum package in clean Redhat Docker image?
Also use EPEL8 ( https://fedoraproject.org/wiki/EPEL ) and the package name ia slightly different - boost169-program-optins. More on reddit.com
🌐 r/redhat
12
6
August 12, 2021
Yum and dnf not find any package
yum install net-snmp Last metadata expiration check: 1:03:56 ago on Fri Sep 22 08:55:18 2023. No match for argument: net-snmp Error: Unable to find a match: net-snmp here my package repos are enabled, package mangers up to date, also working this in different pc this works i think here some ... More on discussion.fedoraproject.org
🌐 discussion.fedoraproject.org
5
0
September 22, 2023
yum-config-manager isn't always installed
It would simply need to add a line ... yum-utils · This other installer script that gets used in the workflow to add a server from the web interface already does this: https://github.com/gravitational/teleport/blob/v12.1.3/lib/web/scripts/node-join/install.sh#L880 ... sudo: yum-config-manager: command not found Error: Unable to find a match: teleport-ent ... More on github.com
🌐 github.com
0
March 31, 2023
fedora - dnf and yum: can not find package - Unix & Linux Stack Exchange
Last metadata expiration check: 0:01:34 ago on Thu 05 Jul 2018 12:27:36 AM +0430. No match for argument: [package name] Error: Unable to find a match ... yum repolist will display the active repo list, I suspect the packages your looking for are not in the base/update/extras repositories and ... More on unix.stackexchange.com
🌐 unix.stackexchange.com
July 4, 2018
🌐
Reddit
reddit.com › r/redhat › [question] can't install specific yum package in clean redhat docker image?
r/redhat on Reddit: [Question] Can't install specific yum package in clean Redhat Docker image?
August 12, 2021 -

Hi everyone,

I'm messing around with trying to install MariaDb on Redhat. I'm starting from an empty Docker image (redhat/ubi8:latest) e and following the instructions here: https://mariadb.com/resources/blog/how-to-install-mariadb-on-rhel8-centos8/

When I get to the step:

sudo yum install perl-DBI libaio libsepol lsof boost-program-options

I get: Error: Unable to find a match: boost-program-options

I have tried adding this package repository that I found using Google: http://sodium.resophonic.com/boost-cmake/1.40.0.cmake0/

I did this with:

yum install -y yum-utils
yum-config-manager --add-repo="http://sodium.resophonic.com/boost-cmake/1.40.0.cmake0/"

But then I get the following error:

Errors during downloading metadata for repository 'sodium.resophonic.com_boost-cmake_1.40.0.cmake0_':
  - Curl error (6): Couldn't resolve host name for http://sodium.resophonic.com/boost-cmake/1.40.0.cmake0/repodata/repomd.xml [Could not resolve host: sodium.resophonic.com]
Error: Failed to download metadata for repo 'sodium.resophonic.com_boost-cmake_1.40.0.cmake0_': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

I've been at this for the good part of an hour, and couldn't understand how to fix this problem. Any help would be greatly appreciated. Thanks!

🌐
Fedora Discussion
discussion.fedoraproject.org › ask fedora
Yum and dnf not find any package - Fedora Discussion
September 22, 2023 - yum install net-snmp Last metadata expiration check: 1:03:56 ago on Fri Sep 22 08:55:18 2023. No match for argument: net-snmp Error: Unable to find a match: net-snmp here my package repos are enabled, package mangers up to date, also working this in different pc this works i think here some ...
🌐
GitHub
github.com › gravitational › teleport › issues › 23915
yum-config-manager isn't always installed · Issue #23915 · gravitational/teleport
March 31, 2023 - It would simply need to add a line above the yum-config-manager invocation to ensure it is installed: yum -y install yum-utils · This other installer script that gets used in the workflow to add a server from the web interface already does ...
Author   gravitational
Top answer
1 of 3
5

yum repolist will display the active repo list, I suspect the packages your looking for are not in the base/update/extras repositories and you may need to add additional repositories.

A good way to find out is to google search the package your looking for to get an idea of repository you need to have setup or install.

A lot of repositories do have a RPM file that will install the repository for your or a "how to" for adding the repository.


Examples below

Red Hat has made the documentation free to read
9.5.2. Setting [repository] Options

IUS repo setup
IUS Getting Started

yum repolist example:

Loaded plugins: fastestmirror, ovl
Determining fastest mirrors
 * base: mirror.its.sfu.ca
 * extras: mirror.it.ubc.ca
 * updates: centos.mirror.rafal.ca
base                                                                                                                                                                                                                  | 3.6 kB  00:00:00     
extras                                                                                                                                                                                                                | 3.4 kB  00:00:00     
updates                                                                                                                                                                                                               | 3.4 kB  00:00:00     
(1/4): base/7/x86_64/group_gz                                                                                                                                                                                         | 166 kB  00:00:00     
(2/4): extras/7/x86_64/primary_db                                                                                                                                                                                     | 150 kB  00:00:00     
(3/4): updates/7/x86_64/primary_db                                                                                                                                                                                    | 3.6 MB  00:00:00     
(4/4): base/7/x86_64/primary_db                                                                                                                                                                                       | 5.9 MB  00:00:01     
repo id                                                                                                           repo name                                                                                                            status
base/7/x86_64                                                                                                     CentOS-7 - Base                                                                                                      9911
extras/7/x86_64                                                                                                   CentOS-7 - Extras                                                                                                     314
updates/7/x86_64                                                                                                  CentOS-7 - Updates                                                                                                    946
repolist: 11171
2 of 3
4

Have you tried yum search packageName ?

I have seen similar behavior from two other causes, DNS is not working or the cache is corrupted.

On that machine can you ping a host by name? i.e. ping google.com ?

If that works, try a yum clean all and then try to install your package when it is done.

🌐
Plesk Forum
talk.plesk.com › forums › plesk discussion › plesk obsidian for linux
Issue - The Yum utility failed to install the required packages. | Plesk Forum
November 1, 2023 - Make sure repositories configuration of yum package manager is correct (use 'yum repolist --verbose' to get its actual state), then try again. Not all packages were installed. Visit https://support.plesk.com/ to search for a solution. I am getting an error like this, what should I do?
Find elsewhere
🌐
Openeuler
forum.openeuler.org › other 其他技术问题
yum-utils - Other 其他技术问题 - openEuler 论坛
June 13, 2023 - 求教 openEuler-22.03 yum -install yum-utils提示unable to find a match:yum-utils.
🌐
GitHub
github.com › hashicorp › terraform › issues › 32905
AmazonLinux Unable to find a match: terraform · Issue #32905 · hashicorp/terraform
March 22, 2023 - Last metadata expiration check: 0:00:14 ago on Wed Mar 22 15:53:18 2023. No match for argument: terraform Error: Unable to find a match: terraform · docker run -it amazonlinux bash · yum install -y yum-utils · yum-config-manager --add-repo https://rpm.releases.hashicorp.com/AmazonLinux/hashicorp.repo ·
Author   hashicorp
🌐
cPanel
support.cpanel.net › hc › en-us › articles › 23465784311191--AlmaLinux-9-DNS-ONLY-installs-fail-because-of-no-RPM-package-yum-plugin-universal-hooks-available
[AlmaLinux 9] DNS ONLY installs fail because of no RPM package yum-plugin-universal-hooks available – cPanel
July 8, 2025 - yum -y install yum-utils rpm -ivh http://httpupdate.cpanel.net/cpanelsync/repos/CentOS/9/EA4/x86_64/yum-plugin-universal-hooks-0.1-13.18.19.cpanel.x86_64.rpm · How to install PDO_SQLSRV to connect to Microsoft SQL Server · AutoSSL HTTP DCV results in: "the web server responded with the following error: 403 (Forbidden)"
🌐
LinuxQuestions.org
linuxquestions.org › questions › linux-newbie-8 › how-to-install-yum-utils-rhel5-4175493270
How to install yum-utils rhel5
I was trying to clean up old kernels to make space on the /boot filesystem. When getting ready to remove the old kernel, I received "There are
🌐
Server Fault
serverfault.com › questions › 1108767 › install-httpd-devel-on-centos8-unable-to-find-a-match-error
Install httpd-devel on centos8 -Unable to find a match error - Server Fault
[root@localhost tmp]# yum install httpd-devel Last metadata expiration check: 0:02:01 ago on Mon 22 Aug 2022 11:57:03 AM +04. No match for argument: httpd-devel Error: Unable to find a match: httpd-devel
🌐
Experts Exchange
experts-exchange.com › questions › 29231377 › issue-installing-package.html
issue installing package | Experts Exchange
January 12, 2022 - Package nfs-utils-1:2.3.3-46.el8.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! sh-4.4# yum install -y python # ACFS Last metadata expiration check: 0:01:21 ago on Wed Jan 12 01:21:43 2022. No match for argument: python Error: Unable to find a match: python sh-4.4# yum install -y python-configshell # ACFS Last metadata expiration check: 0:01:21 ago on Wed Jan 12 01:21:43 2022.
🌐
Red Hat
access.redhat.com › solutions › 5588101
yum fails with "All matches were filtered out by modular filtering" in RHEL 8 - Red Hat Customer Portal
June 14, 2024 - All matches were filtered out by modular filtering for argument: <Package> Error: Unable to find a match: <Package> ... # yum install ipa-server All matches were filtered out by modular filtering for argument: ipa-server Error: Unable to find a match: ipa-server # yum install parfait All matches were filtered out by modular filtering for argument: parfait Error: Unable to find a match: parfait
🌐
Reddit
reddit.com › r/rockylinux › dnf install: "unable to find a match" while package is listed in the repos ?
r/RockyLinux on Reddit: dnf install: "Unable to find a match" while package is listed in the repos ?
April 27, 2022 -

Hi everyone,

My Rocky Linux server is deployed on GCP.

An application I am trying to install requires the 'mod_auth_openidc' package.

Somehow a "dnf install mod_auth_openidc" outputs this:

output for "dnf install mod_auth_openidc"

I was a little surprised by this and checked different mirrors, and all of them seemed to have the package available, for example:

http://dl.rockylinux.org/pub/rocky/8.5/AppStream/x86_64/os/Packages/m/

mod_auth_openidc is in the repos

Meanwhile, for example, mod_auth_gssapi, which appears on the screenshot above, is listed as available:

output for 'dnf info mod_auth_gssapi'

Here's my appstream repo file, for reference.

My appstream repo file

Could anyone explain what is going on ?

🌐
TecMint
tecmint.com › home › linux commands › how to install and use ‘yum-utils’ to maintain yum and boost its performance
How to Install and Use 'yum-utils' to Maintain Yum and Boost its Performance
July 13, 2023 - For that reason, in this guide we will introduce you to yum-utils, a collection of utilities that integrate with yum to extend its native features in several ways, thus making it more powerful and easier to use.
🌐
GitHub
github.com › amazonlinux › amazon-linux-2023 › issues › 272
'sudo yum install amazon-cloudwatch-agent' fails with 'Unable to find a match:' · Issue #272 · amazonlinux/amazon-linux-2023
February 22, 2023 - On an instance with AWS Linux 2022 provisioned 2/20/2023: $ sudo yum install amazon-cloudwatch-agent No match for argument: amazon-cloudwatch-agent Error: Unable to find a match: amazon-cloudwatch-...
Author   amazonlinux
🌐
Red Hat
bugzilla.redhat.com › show_bug.cgi
1760169 – Failed to synchronize cache for repo 'rhel-8-for-x86_64-baseos-rpms' in container
November 21, 2019 - Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla · RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue ...