1 |
On Thu, 20 Feb 2014 13:38:06 +0100, Helmut Jarausch |
2 |
<jarausch@××××××××××××××××.de> wrote: |
3 |
> Hi, |
4 |
> |
5 |
> I have a very simple question. How to emerge (update) all packages |
6 |
> which depend on some |
7 |
> given package P. |
8 |
> |
9 |
> I've tried |
10 |
> |
11 |
> emerge -uv1 `equery -q d P` |
12 |
> |
13 |
> or emerge -uv1 `qdepends -q -Q P` |
14 |
> |
15 |
> but both commands (equery and qdepends) generate a list with the |
16 |
> version attached like |
17 |
> app-editors/kile-2.1.3 |
18 |
> which emerge doesn't like (unless there is an '= in front of each |
19 |
> name) |
20 |
> |
21 |
> Is there an easy way to do so without resorting to shell/python |
22 |
> scripting? |
23 |
> |
24 |
> Many thanks for a hint, |
25 |
> Helmut |
26 |
> |
27 |
> |
28 |
|
29 |
How about one of these? |
30 |
emerge -1 $(qdepends -N -C -Q P) |
31 |
|
32 |
emerge -1 $(qdepends -C -Q P | sed 's/^/=/') |
33 |
|
34 |
-- |
35 |
eroen |