From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-173853-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 2BE0A138CC9
	for <garchives@archives.gentoo.org>; Mon, 24 Oct 2016 16:33:52 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 079AAE0925;
	Mon, 24 Oct 2016 16:33:45 +0000 (UTC)
Received: from mail-yb0-f169.google.com (mail-yb0-f169.google.com [209.85.213.169])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id BEA3CE083A
	for <gentoo-user@lists.gentoo.org>; Mon, 24 Oct 2016 16:33:44 +0000 (UTC)
Received: by mail-yb0-f169.google.com with SMTP id f196so3453118yba.4
        for <gentoo-user@lists.gentoo.org>; Mon, 24 Oct 2016 09:33:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=subject:to:references:from:message-id:date:user-agent:mime-version
         :in-reply-to:content-transfer-encoding;
        bh=n5svg60BiBqBd2v+M20HnkYaykWyNNt/NhrQIGQCzLw=;
        b=YM/+LZCfKSudpQoHemIeoy+GJ0vLa0sbX4VUQfkaTSyeUTRXwoEBsfQbk00/+FVYTp
         YZ9HLB1whg1eYq9ql7wFbiowzEhBCVFqFhJOOyfGbQtEi3nRTLWkO0ZFXiVSpHIbP2Hy
         DpzMt9niUXpuq0nAT4JWOGmDluh6aVWbtjU4GuouVh3iXxMtHQ8R3H95DjzIOHNx6peW
         PzCMqD/QJedzk4RkBJU1J55L0MDLNf9BeCzjgvQ71dNyocwWT9EMroxJG56yjouIW6VO
         Qv0qOjUiJ/CdfYKJJGb1+mHVKCi+LYARm8XkjO4UlfZkey97qtgqFp0S5tt6+pxYdABx
         o00g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:subject:to:references:from:message-id:date
         :user-agent:mime-version:in-reply-to:content-transfer-encoding;
        bh=n5svg60BiBqBd2v+M20HnkYaykWyNNt/NhrQIGQCzLw=;
        b=eCD6utwd2QPW/N3xr8FkV0xtRKQho3x4v9zz8rP7e1M0KffMQ4taxnLFzt3KnuYB7Q
         c6R7dca2dtseXU7KZ+zke+TVM3rvSWILWUDwAqA/E2qZ6OZbVvinmI7eEV1rI2qF7jH9
         bMkZZhDTCrYg12AyBdJHIMe96XzG7dvABCxBwV+e74UOb78sPHcprqiv2cfOTHggI8bG
         hGaTtHyT0ihUd5iYYoTJBMSrIpY4s5B9N5CnsuGu0ikZNlJOX0temM9wy4Q00QbQvSB/
         yv+340sy4Hhb6TQY4uyEXCGvOTrYLP1VLUSDsreiIbGDRVhpC85Gh2Mc0U3Lhg6nKjyx
         vGTw==
X-Gm-Message-State: ABUngvc0Ma+fh0/00XPMsSlpEQyRHKXVWj+8weofObWuM26oSsm2uNE+/zUVmA9BKq2bKw==
X-Received: by 10.37.77.137 with SMTP id a131mr16060833ybb.1.1477326823710;
        Mon, 24 Oct 2016 09:33:43 -0700 (PDT)
Received: from [10.10.0.10] (67-8-110-87.res.bhn.net. [67.8.110.87])
        by smtp.gmail.com with ESMTPSA id i63sm6126092ywg.5.2016.10.24.09.33.43
        for <gentoo-user@lists.gentoo.org>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 24 Oct 2016 09:33:43 -0700 (PDT)
Subject: Re: [gentoo-user] Re: emerge --sync
To: gentoo-user@lists.gentoo.org
References: <CAKpSnpJuCF3224pk8PnZ8SDtx-oYPMY+sHpWkcfroW1nu=w-2A@mail.gmail.com>
 <slrno0sa6n.136.martin@lounge.imp.fu-berlin.de>
 <CAKpSnpJpx2qu7CJgyZTNFS0P-+hdKvd85bsMZ3ew==UocWGFYA@mail.gmail.com>
From: Fernando Rodriguez <cyklonite@gmail.com>
Message-ID: <cae17b1b-db0e-1855-49d8-2746c51c95b6@gmail.com>
Date: Mon, 24 Oct 2016 12:36:04 -0400
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
 Thunderbird/45.4.0
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
In-Reply-To: <CAKpSnpJpx2qu7CJgyZTNFS0P-+hdKvd85bsMZ3ew==UocWGFYA@mail.gmail.com>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Archives-Salt: d3021a15-5add-45ef-b3e0-d3baba476a52
X-Archives-Hash: 419f546da54c450637de62e9d67504d9

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 10/24/2016 11:35 AM, Jorge Almeida wrote:
> On Mon, Oct 24, 2016 at 8:29 AM, Martin Vaeth <martin@mvath.de> wrote:
>> Jorge Almeida <jjalmeida@gmail.com> 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?

Yes. And you will see the same output that your see at the end of emerge
- --sync (the profile updates phase, whatever it's called) when you run
emerge. To update the eix database you need to run eix-update.

But a more elegant solution is to emerge app-admin/gentoo-rsync-mirror and
setup your own rsync mirror.


> Jorge
> 


- -- 

Fernando Rodriguez
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJYDjh0AAoJEPbOFX/5UlwckKsP+gJWRUQQvEzI9Zqu/6DXrCvw
tu3BMejUGngXr6ZAyMZZCXAqzNV1a9+4OrGTohwjYdwRMBni26yuapfGdKABw1kS
hVoM4yLwaos0VCET0gXUmQVWu8hnTgpTqOtFLEtCHjhr0NR1ic+xjr/B+edBxZUo
jNKjpARVggrD/IA56KFPUiRFtxnd2C4szmJH4pQuDoxrZg+mrnujGeMb8bIPmJ/f
yFYh/7hqwcFVUnt3YV0HUWv83FozXY+DdLEhZbAZTBtlaK1VhfjVaVPvbOVmVbpa
fFzYB4hz0gurhK/A3ulY5Upe7Gqpa5kimot2Ca70h2x1i7BSZoTUiBsDkvl0xqMT
YayMZ+FBzUZ+A+rv5v7cyXJCsiY7a9kTdzbR/gOl6joPEovna0MTMMK2mJFU8xW9
srsAFD1p1Fac8mkCvwdhTWt7yFJgkTf3kUC5l8/mY7WqzXh3Vki8IB+xI3/Zdohk
yjWRf4rCP3AKgQnbMV7f6R22GKmBvRcSTcO+L4W63UIotNeLb0eEZlWP5yQa+sfE
2nPSQZmR/HFlZ6ubUceFB/74FhgnZll9zHy76oIB53zQgslm9LRgypRX6S76G3CR
i7t26EWxVxK+GoGqan0nEyGKvwHorBfAPW8KC12nnany+7gtNQo3OcU7irJx+EXJ
qljNWt25JuLFwPHUBNxP
=26W6
-----END PGP SIGNATURE-----