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

Bug 468216

Summary: app-portage/gentoolkit output option for equery depends
Product: Portage Development Reporter: Ulenrich <ulenrich>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED DUPLICATE    
Severity: normal CC: jer
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Ulenrich 2013-05-01 23:12:23 UTC
Sometimes I use 
emerge -1 $(equery -q -C d alsa-lib)

which outputs:
!!! 'app-accessibility/flite-1.4-r2' is not a valid package atom.
!!! Please check ebuild(5) for full details.

I better use:
emerge -1 $(equery -q -C d alsa-lib|sed -e's/^/=/')

Every ca third month I want to use this command, I do read the

man equery
to find any output option of "equery depends"
with no luck at all :(
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-02 12:58:23 UTC
It prints the atoms fine, just not the version operators. Do (something like) this instead:

emerge -1 $(equery -q -C d alsa-lib | awk '{print "=" $1;}' )
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2013-05-02 13:59:00 UTC
Some equery commands have the custom format option.  Unfortunately for you equery depends does not yet.  Look for the -F, --format= option.

However it is planned to extend the custom format option to all equery modules for the next release.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2013-05-02 16:50:41 UTC

*** This bug has been marked as a duplicate of bug 224515 ***