1 |
On Fri, Mar 15, 2013 at 5:26 PM, Neil Bothwick <neil@××××××××××.uk> wrote: |
2 |
> On Fri, 15 Mar 2013 13:47:49 +0800, Mark David Dumlao wrote: |
3 |
> |
4 |
>> > There's no need to rebuild everything, and those other flags make no |
5 |
>> > sense when using -e. Generally you only need |
6 |
>> > |
7 |
>> > emerge -uaD --changed-use @world |
8 |
>> > |
9 |
>> |
10 |
>> I know that, in general principle. But it's a test environment. I'd |
11 |
>> assume stricter standards of "purity" there than elsewhere. simply |
12 |
>> going by changed-use can break some library dependencies. We need to |
13 |
>> use depclean to remove build deps junk after the emptytree, and we're |
14 |
>> revdep-rebuilding twice in case the depclean borked something. (To be |
15 |
>> really strict, revdep-rebuild should be repeated until it stops |
16 |
>> building things...) |
17 |
> |
18 |
> portage should handle that itself nowadays, but it doesn't hurt to run |
19 |
> revdep-rebuild to be sure. You could use -N instead of --changed-use but I |
20 |
> still think -e is unnecessary. |
21 |
>> |
22 |
>> Heck in some setups empty-tree will simply fail thanks to circular |
23 |
>> deps of the global use flags and you'll need manual intervention to |
24 |
>> bootstrap a package with less USE... |
25 |
> |
26 |
> And that's a good reason to not use -e. If you do use -e, none of the |
27 |
> other options make any sense, -u -D and -N are meaningless if the system |
28 |
> thinks nothing is installed and there's no point in using -t without -a |
29 |
> or -p, and with -e it would generate so much output I'm not sure many |
30 |
> people would bother reading it all. |
31 |
|
32 |
I'm pretty sure I just recycled the emptytree + deep/newuse advice |
33 |
from one of the docs. I see it mentioned in the wiki at least. |
34 |
|
35 |
http://en.gentoo-wiki.com/wiki/Freeing_Up_Disk_Space |
36 |
|
37 |
Honestly, though, it's just a case of muscle memory at work. Usually I |
38 |
just -uDNtv everything and just add options after that like -1, -a... |