Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 68871

Summary: output of qpkg is not pipeable
Product: Portage Development Reporter: Daniel Armyr <daniel.armyr>
Component: Third-Party ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED INVALID    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.