Bug 1151154
Summary: | yum-config-manager --enable does not enable all repos | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Peter Tselios <ptselios> | |
Component: | yum-utils | Assignee: | Valentina Mukhamedzhanova <vmukhame> | |
Status: | CLOSED ERRATA | QA Contact: | Karel Srot <ksrot> | |
Severity: | unspecified | Docs Contact: | Eva Majorsinova <emajorsi> | |
Priority: | medium | |||
Version: | 7.0 | CC: | amelicha, ksrot, swadeley, vmukhame | |
Target Milestone: | rc | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | yum-utils-1.1.31-30.el7 | Doc Type: | Bug Fix | |
Doc Text: |
Amended "yum-config-manager" commands
Previously, running the "yum-config-manager --disable" command disabled all configured repositories, while the "yum-config-manager --enable" command did not enable any. This inconsistency has been fixed. The "--disable" and "--enable" commands now require the use of '\*' in the syntax, and "yum-config-manager --enable \*" enables repositories. Running the commands without the addition of '\*' prints a message asking the user to run "yum-config-manager --disable \*" or "yum-config-manager --enable \*" if they want to disable or enable repositories.
|
Story Points: | --- | |
Clone Of: | ||||
: | 1225754 1245117 1245122 1246014 (view as bug list) | Environment: | ||
Last Closed: | 2015-11-19 12:10:38 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1205796, 1245117, 1245122, 1246014 |
Description
Peter Tselios
2014-10-09 16:36:05 UTC
Hi Valentina, could you please review this requests, I am curious what would be an appropriate "fix" acceptable for upstream? Is it intentional that --disable works as described (undocumented)? Running 'yum-config-manager --enable' actually does give an error (although the message is kind of misleading). if opts.enable and not args: logger.error("Error: Trying to enable already enabled repos.") opts.enable = False I'd say the appropriate fix would be to change this error message, and add the same logic for --disable. We could also suggest using \* to enable/disable all repos. I will clone for man page and guide updates yum-utils-1.1.31-28.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-2129.html |