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 to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1713876

Summary: [DDF] sudo: yum-config-manager: command not found
Product: Red Hat Enterprise Linux 8 Reporter: Direct Docs Feedback <ddf-bot>
Component: DocumentationAssignee: Marie Hornickova <mdolezel>
Documentation sub component: DDF QA Contact:
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: unspecified    
Priority: high CC: mdolezel, mdomonko, noelp, rhel-docs, tbowling
Version: 8.0Keywords: Documentation, Reopened
Target Milestone: rc   
Target Release: 8.1   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-11 12:55:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Comment 1 Need Real Name 2019-05-31 22:24:07 UTC
yum-config-manager doesn't exist in dnf system. Should replace with equivalent yum/dnf commands. For example.


yum-config-manager --enable repository...

yum repolist --enablerepo=repository..

Comment 3 Michal Domonkos 2019-06-07 08:51:12 UTC
You need to install the "yum-utils" package which provides the "yum-config-manager" binary.

Comment 4 Need Real Name 2019-06-07 16:26:13 UTC
There is no "yum-utils" package in RHEL 8. There is a dnf-utils package that adds a CLI interface to the old ways, but it's not installed by default. Also, the "yum" command in RHEL provides the same functionality.

Comment 5 Michal Domonkos 2019-06-07 16:57:12 UTC
Yeah, it's not a package per se; it's a virtual provide so you can do a "yum install yum-utils" (the real package is "dnf-utils" as you say).  This is to maintain backward compatibility with RHEL-7.  Thanks for pointing out the distinction, though.

Marie, could you please add a note to section 2.5.1 saying that the "yum-config-manager" utility is only available after installing the "dnf-utils" package?

Comment 9 Marie Hornickova 2019-09-11 12:55:45 UTC
The procedure in section 2.5.1 has been updated with the information that the yum-utils package must be  installed. The docs are live at RH Customer Portal:

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/configuring_basic_system_settings/installing-software-with-yum_configuring-basic-system-settings#sec-Viewing_the_Current_Configuration