maybe this works: equery -q d jpeg | sed -e "s/^/=/" | xargs emerge -j 4 -1
I don't know how do to that using only portage utilities, but sed and xargs are always allowed, I guess :) On Wed, Jan 20, 2010 at 8:51 AM, Helmut Jarausch < [email protected]> wrote: > Hi, > again, I have to work around a broken Gentoo system. > (I cannot re-install kde-base/step) > > 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' > > I could send the output of equery to a file, > edit it with an editor with good regexp support > and hand it over to the shell. > > But I wonder, is there an easier way to use > portage utilities for that? > > Many thanks for a hint, > Helmut. > > -- > Helmut Jarausch > > Lehrstuhl fuer Numerische Mathematik > RWTH - Aachen University > D 52056 Aachen, Germany > > -- Crístian Deives dos Santos Viana [aka CD1]

