Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224517 - app-portage/portage-utils: qdepends: show app version with a "=" before name allowing output to be used directly by emerge
Summary: app-portage/portage-utils: qdepends: show app version with a "=" before name ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage Utils Team
URL:
Whiteboard:
Keywords:
: 235743 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-06-01 18:48 UTC by Pacho Ramos
Modified: 2008-08-28 07:09 UTC (History)
2 users (show)

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 Pacho Ramos gentoo-dev 2008-06-01 18:48:52 UTC
Hello

Some months ago I got into troubles with gstreamer and totem, it failled when trying to play a CD Audio. I finally solved it re-emerging all totem depends.

Maybe would be easier use:
# emerge -1av `qdepends totem -q -C`

But it outputs:
media-video/totem-2.20.3: >=dev-libs/glib-2.13.4...

Then, emerge fails because cannot handle "media-video/totem-2.20.3" as it should be "=media-video/totem-2.20.3" or "media-video/totem"

Thanks a lot

Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2008-06-01 23:44:46 UTC
emerge -1av $(qdepends totem -q -C | sed -e 's|^.*: ||g')
Comment 2 Pacho Ramos gentoo-dev 2008-06-02 11:45:47 UTC
(In reply to comment #1)
> emerge -1av $(qdepends totem -q -C | sed -e 's|^.*: ||g')
> 

It works, Thanks a lot :-D
Comment 3 solar (RETIRED) gentoo-dev 2008-06-02 16:09:48 UTC
Thanks Jer,

Yes this is exactly how it was intended to be used. pipe from one program into the next. tweak it for the needs of the task at hand.
Comment 4 Pacho Ramos gentoo-dev 2008-06-02 18:28:17 UTC
OK, at least I have learn a bit more about "sed magic" ;-)

Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-08-28 07:09:53 UTC
*** Bug 235743 has been marked as a duplicate of this bug. ***