On Mon, Oct 24, 2016 at 8:29 AM, Martin Vaeth <[email protected]> wrote: > Jorge Almeida <[email protected]> wrote: >> I want to do emerge --sync on computer A and then update computer B by >> copying /usr/portage. Is this safe? > > Yes, although ... > >> does emerge --sync just updates the contents of /usr/portage > > portage also changes the content of /var/cache/edb, and in some > cases even of /var/db or even of binary packages, but it will > repeat the necessary steps automatically if only /usr/portage > has changed. > > Does this mean that the next time portage is used (e.g., as in "emerge -p ...") it will detect that /usr/portage is not consistent with /var/db... and will fix the latter?
Jorge

