Gentoo Archives: gentoo-user

From: Jorge Almeida <jjalmeida@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: emerge --sync
Date: Mon, 24 Oct 2016 15:35:51
Message-Id: CAKpSnpJpx2qu7CJgyZTNFS0P-+hdKvd85bsMZ3ew==UocWGFYA@mail.gmail.com
In Reply to: [gentoo-user] Re: emerge --sync by Martin Vaeth
1 On Mon, Oct 24, 2016 at 8:29 AM, Martin Vaeth <martin@×××××.de> wrote:
2 > Jorge Almeida <jjalmeida@×××××.com> wrote:
3 >> I want to do emerge --sync on computer A and then update computer B by
4 >> copying /usr/portage. Is this safe?
5 >
6 > Yes, although ...
7 >
8 >> does emerge --sync just updates the contents of /usr/portage
9 >
10 > portage also changes the content of /var/cache/edb, and in some
11 > cases even of /var/db or even of binary packages, but it will
12 > repeat the necessary steps automatically if only /usr/portage
13 > has changed.
14 >
15 >
16 Does this mean that the next time portage is used (e.g., as in "emerge
17 -p ...") it will detect that /usr/portage is not consistent with
18 /var/db... and will fix the latter?
19
20 Jorge

Replies

Subject Author
Re: [gentoo-user] Re: emerge --sync Fernando Rodriguez <cyklonite@×××××.com>