On Wed, 20 Jan 2010 11:51:22 +0100 (CET), Helmut Jarausch wrote:

> Because of that I have to replace 
> emerge @preserved-rebuild
> 
> by something which just updates all packages
> depending on media-libs/jpeg .
> Here,
> equery -qC depends  media-libs/jpeg
> 
> or probably
> 
> equery -qC depends --indirect media-libs/jpeg
> 
> comes to my mind.
> 
> But the output is not quite what I need.
> I'd like to use  parallel emerge (option -j4)
> since there are a lots of packages to re-emerge.
> I'd need a long line containing several items, e.g.
> '=dev-python/pygraphviz-0.99.1' 

equery is not reliable as it doesn't correctly account for USE flags.
Parsing the output from emerge --depclean -pv media-libs/jpeg is safer.


-- 
Neil Bothwick

There are only two tragedies in life: one is not getting what one wants;
and the other is getting it. - Oscar Wilde (1854-1900)

Attachment: signature.asc
Description: PGP signature

Reply via email to