On 01/17/2013 09:52 AM, Zac Medico wrote: >> >> I strongly believe that it shouldn't; nevertheless, it does. > > You can avoid this by adding --select=n to EMERGE_DEFAULT_OPTS. Then, if > you want to add something to world, use --select (or -w in latest > portage which isn't marked stable yet).
This works by moving the badness from `emerge -u` to `emerge`. In either case, to keep your world file accurate, you have to remember to type an additional useless parameter every time you run the command. When you're running depclean, you have to cross your fingers and hope nobody forgot the magic --dont-break-world parameter. I've "solved" this by installing every single package as a dependency of something in our company repo. So we emerge dev-util/mike_wants_to_be_able_to_run_strace_on_apache (depending on strace) instead of dev-util/strace. This makes it obvious what can be removed; we don't have normal packages listed in the world file, so if you see one, it was a mistake. But it's not a very good solution, * It's a lot of work * I have to be the gatekeeper for every package install on every server * It's stupid