Red Hat Bugzilla – Bug 213613
grouplist not giving output for debuglevel 0 or 1
Last modified: 2014-01-21 17:55:53 EST
Description of problem:
I tried to get grouplist as below:
$ sudo yum -d 0 grouplist
and yum did not output a thing. The same problem with:
$ sudo yum -d 1 grouplist
This is probably due to usage of debig output functions instead
normal output functions.
Version-Release number of selected component (if applicable):
List of groups.
-d0 and -d1 only show errors and warnings, respectively. Nothing which is just
info (including things like grouplists)
1. I do not agree. When program's normal behaviour is to produce
some output, it should do so without turning debugging on. And
output in this case is implied by command line arguments.
2. When closing as NOTABUG you should at least provide some reasoning
why it is not considered a bug.
3. This also does not work on FC6, updating version and reopening.
Sorry for #2 above, I missed your explanation.
Anyway - I may want to take output from yom for further processing
and I want to see ONLY what I requested. -d0 and -d1 show nothing,
-d2 adds some irrelevant info like below:
Loading "fedorakmod" plugin
Loading "installonlyn" plugin
Loading "allowdowngrade" plugin
Loading "protectbase" plugin
Loading "skip-broken" plugin
Loading "priorities" plugin
Loading "kernel-module" plugin
Loading "downloadonly" plugin
Setting up Group Process
Setting up repositories
Which is out of interest in such a case.
As I mentioned in initial report - normal output should not
go through debug facilities!