-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Andrew Syrewicze wrote:
> I ran emerge -eav system followed by emerge -eav world. Needless to say
> this produced several packages that needed to be rebuilt. 168 for system
> and 630 for world. 
> 
> My main question is what exactly does the -e option do in emerge? 
> 
> I looked in the man page it didn't seem quite clear to me, but maybe
> that's do to me still being partially noobish still. I noticed that
> running emerge -av world didn't pull in nearly as many packages.
> 
> I'm just curious as i'd like a clearer understanding of how portage
> works. 

The -e (or --emptytree) option says "treat all dependencies as though
they need to be (re)installed", so it will reinstall all packages in
world (or system), and every package that they depend on, and their
dependencies, all the way down.  Note also that in portage-2.1.*,
"system" is part of "world" (and for portage-2.2, @system will be, by
default, part of @world, although that will be configurable), so emerge
- -e world will rebuild every package on your system, except for those
that would be removed via `emerge --depclean`.

> --
> Andy

Just as a suggestion, use "-- " (hyphen-hyphen-space) as a separator
instead of just "--" (hyphen-hyphen) -- it will cause most clients to
drop the signature part in replies.
- --
ABCD
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAknUDpAACgkQOypDUo0oQOqCowCfT6xK7wXltLWPXuHo4ApWGBGX
IBMAoKmWoHKaQEghNjdj6t6Y7whkVWqq
=Tslm
-----END PGP SIGNATURE-----


Reply via email to