From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 760B1138CD2 for ; Mon, 24 Oct 2016 16:45:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8038BE0983; Mon, 24 Oct 2016 16:45:35 +0000 (UTC) Received: from mail-lf0-f46.google.com (mail-lf0-f46.google.com [209.85.215.46]) (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 022C7E0914 for ; Mon, 24 Oct 2016 16:45:34 +0000 (UTC) Received: by mail-lf0-f46.google.com with SMTP id w206so2998785lff.7 for ; Mon, 24 Oct 2016 09:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=25DhJpwbtgs04Tb0fS/lzf0Qd12CBSERDykaSU3QSNU=; b=Y+vwWfR4lAApJj91z/OA1+qqh8kqfV/SusOAD9aLUEWWuwKHE0IHtBbC0GiuUCIeqm /v7Oaatz5aZD1z7IzjaaNsfpfiv+yTS6SzkS3/kYKx+SWsPoC7OE21az3ECiCnSrfLAT dj6aF6AASIYFLWtJYhsnPKDw22lqEOTqZzf3WruBoprGGE80lcUGflfCIQoqcu2w2Mxw RKTzBX0N2IIpq72USOH4Isjweg1JMeF5IFzBhZRZ5/BTZ5ZDcs/5YLc1Cz9M1I/rEWjr 6PlRol/q9BWJ/TP4es3XCG7NieoiuuOGcwnBlB+XBhu6dOrCR95+0aM0hHPEvJO9KXq6 bTLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=25DhJpwbtgs04Tb0fS/lzf0Qd12CBSERDykaSU3QSNU=; b=XLaqTnEH6aFwHAvjfXco4hMEFghyauYEHz/MpJdm4/7QAdm6UxvdzP9f+dzsWsP0gq hc1e9ayLDVt8UxBmw7VKln04ptqN+pyTndDWa0+/LKLQQSx1kv4DXmLbNyAFwWx5GSU+ jaFVzwlKZASZFMmWT5ZJH43FC1ATU202VJ98hxalbCdD3BguYr+Cv4Hk2hHXI9XCQtC/ RTB8skrLsmGfRiu7hKwnnaxJSrT++zotQXd7CHWLw3wM5pHR0JsYpAM87vCipbt6pFRS 4igtA6zDp0B707Tqx25tV8OeYWpZqfcU9cB3oRD1qwUfrtRqP+J9pECUwOfY7YjSdxfs FmKw== X-Gm-Message-State: ABUngvdyYqPsLI2ePwg2YFuyyCehvxwqDLnsWmtVP0v5dmFyQBJhb9Z70t4c+7BTN4W0d7XoVVKl3kgS13K/Bg== X-Received: by 10.25.212.136 with SMTP id l130mr7856376lfg.73.1477327532933; Mon, 24 Oct 2016 09:45:32 -0700 (PDT) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.114.160.48 with HTTP; Mon, 24 Oct 2016 09:45:12 -0700 (PDT) In-Reply-To: References: From: Jorge Almeida Date: Mon, 24 Oct 2016 09:45:12 -0700 Message-ID: Subject: Re: [gentoo-user] Re: emerge --sync To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 X-Archives-Salt: 8391d85f-8419-4da4-ac32-820286b6c7d6 X-Archives-Hash: 8fe210b9f44df69ac9c5efa0b395df2c On Mon, Oct 24, 2016 at 9:36 AM, Fernando Rodriguez wrote: > -----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 wrote: >>> Jorge Almeida 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. OK, looks good. > > But a more elegant solution is to emerge app-admin/gentoo-rsync-mirror and > setup your own rsync mirror. > Sure, but it seems kind of overkill. Thanks, Jorge