Hi! 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 --disablerepo. 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.
from the man page: --enablerepo=repoidglob 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
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?