Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 68871 - output of qpkg is not pipeable
Summary: output of qpkg is not pipeable
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-25 11:21 UTC by Daniel Armyr
Modified: 2004-10-26 09:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Armyr 2004-10-25 11:21:43 UTC
it appears that the output grom qpkg is not pipeable. This is very incnvenient when one wants to use it to check a full system.

The following does for example not yield any content to the file temp.log:
qpkg -c -nc > temp.log

And the following renders nothing to the screen:
qpkg -c | less
Comment 1 MAL 2004-10-26 01:26:53 UTC
qpkg is outputting to stderr, not stdout.  To capture it's output, do:

qpkg -c -nc 2>&1 >temp.log

or

qpkg -c 2>&1 | less
Comment 2 Daniel Armyr 2004-10-26 09:42:13 UTC
Oh, sorry. 
Seems there was just a bit of cacheing done. My bad.