Bug 1232535 - Last metadata expiration date printed on stdout instead of stderr
Summary: Last metadata expiration date printed on stdout instead of stderr
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: dnf
Version: 22
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1208592 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-17 01:23 UTC by Daniel Miranda
Modified: 2015-07-21 12:02 UTC (History)
8 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-07-01 08:54:26 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1133979 0 unspecified CLOSED yum/dnf --quiet option not working for check-update command 2021-02-22 00:41:40 UTC

Internal Links: 1133979

Description Daniel Miranda 2015-06-17 01:23:05 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Daniel Miranda 2015-06-17 01:26:33 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.

Comment 2 Daniel Miranda 2015-06-17 01:27:46 UTC
Apologies again, but the command should be `dnf repoquery --requires perl 2>/dev/null`.

Comment 3 Radek Holy 2015-06-17 08:22:20 UTC
I had the same idea. It was said to me that I should use "dnf -q repoquery ...".

Comment 4 Honza Silhan 2015-07-01 08:54:26 UTC
Closing. In scripts to parse raw output use `--quiet` option.

Comment 5 Radek Holy 2015-07-21 12:02:43 UTC
*** Bug 1208592 has been marked as a duplicate of this bug. ***


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