1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
Andrew Syrewicze wrote: |
5 |
> I ran emerge -eav system followed by emerge -eav world. Needless to say |
6 |
> this produced several packages that needed to be rebuilt. 168 for system |
7 |
> and 630 for world. |
8 |
> |
9 |
> My main question is what exactly does the -e option do in emerge? |
10 |
> |
11 |
> I looked in the man page it didn't seem quite clear to me, but maybe |
12 |
> that's do to me still being partially noobish still. I noticed that |
13 |
> running emerge -av world didn't pull in nearly as many packages. |
14 |
> |
15 |
> I'm just curious as i'd like a clearer understanding of how portage |
16 |
> works. |
17 |
|
18 |
The -e (or --emptytree) option says "treat all dependencies as though |
19 |
they need to be (re)installed", so it will reinstall all packages in |
20 |
world (or system), and every package that they depend on, and their |
21 |
dependencies, all the way down. Note also that in portage-2.1.*, |
22 |
"system" is part of "world" (and for portage-2.2, @system will be, by |
23 |
default, part of @world, although that will be configurable), so emerge |
24 |
- -e world will rebuild every package on your system, except for those |
25 |
that would be removed via `emerge --depclean`. |
26 |
|
27 |
> -- |
28 |
> Andy |
29 |
|
30 |
Just as a suggestion, use "-- " (hyphen-hyphen-space) as a separator |
31 |
instead of just "--" (hyphen-hyphen) -- it will cause most clients to |
32 |
drop the signature part in replies. |
33 |
- -- |
34 |
ABCD |
35 |
-----BEGIN PGP SIGNATURE----- |
36 |
Version: GnuPG v2.0.11 (GNU/Linux) |
37 |
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org |
38 |
|
39 |
iEYEARECAAYFAknUDpAACgkQOypDUo0oQOqCowCfT6xK7wXltLWPXuHo4ApWGBGX |
40 |
IBMAoKmWoHKaQEghNjdj6t6Y7whkVWqq |
41 |
=Tslm |
42 |
-----END PGP SIGNATURE----- |