Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] depgraph.display_problems directs unsatisfied dependencies messages to stdout
Date: Tue, 28 Jul 2009 20:50:13
Message-Id: 4A6F6492.6050402@gentoo.org
In Reply to: [gentoo-portage-dev] depgraph.display_problems directs unsatisfied dependencies messages to stdout by Amit Dor-Shifer
1 Amit Dor-Shifer wrote:
2 > Hello all
3 > <SHELL>
4 > amit0 ~ # emerge -p my_non_existing_pkg 2> /tmp/err 1> /tmp/out
5 > amit0 ~ # echo $?
6 > 1
7 > amit0 ~ # cat /tmp/err
8 > amit0 ~ # cat /tmp/out
9 >
10 > These are the packages that would be merged, in order:
11 >
12 > Calculating dependencies ... done!
13 >
14 > emerge: there are no ebuilds to satisfy "my_non_existing_pkg".
15 >
16 > </SHELL>
17 > Documentation states:
18 > "All output goes to stderr, except for unsatisfied dependencies which go
19 > to stdout for parsing by programs such as autounmask"
20 >
21 > What's autounmask?
22
23 It's for unmasking packages and their dependencies automatically:
24
25 http://packages.gentoo.org/package/app-portage/autounmask
26
27 I never use it, but I think it's pretty common for users who want to
28 run mostly stable packages and only a few unstable packages.
29
30 >
31 > 10x,
32 >
33 > Amit
34 >
35
36
37 --
38 Thanks,
39 Zac