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