Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

While emerge --autounmask-writes followed by a etc-update basically automates adding additional keywords and use flags, running emerge afterwards (without any other modifications) will again calculate the very same dependencies, which on a slower machine may waste several redundant minutes - how can this be avoided?

share|improve this question

There is no way as far as I know and it's not sane because they are very much different.

--autounmask-write will just help you with configs editing. But after editing your configs you also can do anything like sync or maybe adding some 3d party overlays, noone can knows and as usual portage will need to check deps again.

share|improve this answer
Sure, the point is I'd like to have emerge do all that in one step, i.e. do the --autounmask-write, the etc-update and then directly use the cached dependencies without ever returning to the prompt. Of course a parallel sync should indeed be blocked for that... – Tobias Kienzler Mar 3 '14 at 18:52
@TobiasKienzler I don't know automatic method for it currently. – Cynede Mar 3 '14 at 18:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.