Bug 1232535
| Summary: | Last metadata expiration date printed on stdout instead of stderr | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Daniel Miranda <danielkza2> |
| Component: | dnf | Assignee: | Packaging Maintenance Team <packaging-team-maint> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 22 | CC: | jsilhan, mluscon, packaging-team-maint, pnemade, ppisar, rholy, tim.lauridsen, vmukhame |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-01 08:54:26 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: | |||
|
Description
Daniel Miranda
2015-06-17 01:23:05 UTC
Apologies, my browser acted out and I submitted accidentally. # Description of problem: DNF prints descriptive message about last metadata check performed in stdout, instead of stderr, making non-interactive usage of commands, like repoquery, harder. Version-Release number of selected component (if applicable): dnf-0:1.0.0-1.fc22 How reproducible: Always Steps to Reproduce: Run `dnf repoquery 2>/dev/null --requires perl` Actual results: Messages are still printed on stdout Expected results: All informative messages that are not parse-able content should be printed on stderr. Apologies again, but the command should be `dnf repoquery --requires perl 2>/dev/null`. I had the same idea. It was said to me that I should use "dnf -q repoquery ...". Closing. In scripts to parse raw output use `--quiet` option. *** Bug 1208592 has been marked as a duplicate of this bug. *** |