[RHUI4] yum install package on rhui client ends in "Unable to find a match"

Solution Verified - Updated -

Issue

Running yum/dnf install rpm package on rhui client ends in error even, when repositories on rhui are properly synced

#dnf install vim
Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs)                                                                                                                                                                                                                           4.0 kB/s | 328  B     00:00    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (Source RPMs)                                                                                                                                                                                                                       4.3 kB/s | 328  B     00:00    
No match for argument: vim
Error: Unable to find a match: vim

#dnf repolist 
repo id                                                 repo name
rhui-rhel-8-for-x86_64-appstream-rhui-rpms              Red Hat Enterprise Linux 8 for x86_64 - AppStream from RHUI (RPMs)
rhui-rhel-8-for-x86_64-baseos-rhui-source-rpms          Red Hat Enterprise Linux 8 for x86_64 - BaseOS from RHUI (Source RPMs)

Environment

rhui4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content