On Thu, 20 Feb 2014 13:38:06 +0100, Helmut Jarausch wrote: > Hi, > > I have a very simple question. How to emerge (update) all packages > which depend on some > given package P. > > I've tried > > emerge -uv1 `equery -q d P` > > or emerge -uv1 `qdepends -q -Q P` > > but both commands (equery and qdepends) generate a list with the > version attached like > app-editors/kile-2.1.3 > which emerge doesn't like (unless there is an '= in front of each > name) > > Is there an easy way to do so without resorting to shell/python > scripting? > > Many thanks for a hint, > Helmut > > How about one of these? emerge -1 $(qdepends -N -C -Q P) emerge -1 $(qdepends -C -Q P | sed 's/^/=/') -- eroen