Bug 174396 - --enablerepo=all, --disablerepo=all
--enablerepo=all, --disablerepo=all
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
: FutureFeature
Depends On:
  Show dependency treegraph
Reported: 2005-11-28 14:44 EST by Sigge Kotliar
Modified: 2014-01-21 17:53 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-11-28 14:47:42 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Sigge Kotliar 2005-11-28 14:44:28 EST

It'd be a great feature to be able to disable and enable all repos with one
simple command instead of repeating different combinations of --enablerepo and

Use case for --enablerepo=all:
User has a bunch of repos of which he mainly only uses 4
(base+updates+extras+livna) and wants to search all repos for a given app which
is hard to find.

Use case for --disablerepo=all
Same user as above wants to install some rpm's from devel and extras-devel, and
doesn't want the other repos to interfere. He uses "--disablerepo=all
--enablerepo=development --enablerepo=development" and thus save a couple of
times typing --disablerepo=reponame for every available repo.
Comment 1 Seth Vidal 2005-11-28 14:47:42 EST
from the man page:

              Enables specific repositories by id or glob that have been  dis-
              abled in the configuration file using the enabled=0 option.
              Configuration Option: enabled

yum --disablerepo='*' --enablerepo='thisrepo'

So in the above only 'thisrepo' would be looked at

Comment 2 Sigge Kotliar 2005-11-28 14:51:06 EST
Ah, I see!

Sorry for bothering you!

But as an even smaller side-bug: please update the man page to reflect that
example. Just before submitting this bug I read the man page and suspected glob
might be something like this. Didn't manage to figure out how to use it though. 

So: mind adding that row you added for me to the man page? 

Note You need to log in before you can comment on or make changes to this bug.