From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-85990-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1KxkIO-0005FW-TC
	for garchives@archives.gentoo.org; Wed, 05 Nov 2008 15:27:49 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id A9A06E0158;
	Wed,  5 Nov 2008 15:27:42 +0000 (UTC)
Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.158])
	by pigeon.gentoo.org (Postfix) with ESMTP id 84C7FE0158
	for <gentoo-user@lists.gentoo.org>; Wed,  5 Nov 2008 15:27:42 +0000 (UTC)
Received: by yx-out-1718.google.com with SMTP id 4so20121yxp.46
        for <gentoo-user@lists.gentoo.org>; Wed, 05 Nov 2008 07:27:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:received:message-id:date:from:sender
         :to:subject:in-reply-to:mime-version:content-type
         :content-transfer-encoding:content-disposition:references
         :x-google-sender-auth;
        bh=ZwDVlYi6e18jPRmrXSAr2LB4C9Gv/MfLyzN7q9e8kR8=;
        b=ZRWgk0GNHDLNWIjpO6CWhRfTYe+Dczuf+hxiMAUEa2q6ZNDvI2miIoN67JfBViJBnV
         yW12lO+HMX4Orvde/cKthYnOygL/8a80u9bT9oUTF00ediBYb771eDm/8sMbezKAQ2Np
         xGGXrF626dGYxICKY4MZrrEWrsh+vmXMbGJ1A=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=message-id:date:from:sender:to:subject:in-reply-to:mime-version
         :content-type:content-transfer-encoding:content-disposition
         :references:x-google-sender-auth;
        b=AOOxb+yLosGziuFbSWQV4XqazyfyhzmTULuixOApdMDGT+T8gup9EZUU9cY8lDLgWM
         Ji4Oy8S8AfoeitO/MHbyZAE3ZkQH9SMJCWyrhnAcqg2bVan+TKdgW3Z/B3zHO+k+9Stn
         fxWJ0SMRwmfK5kdw6jCQMkokpWdQHvfRMLR/o=
Received: by 10.90.33.15 with SMTP id g15mr759392agg.71.1225898860464;
        Wed, 05 Nov 2008 07:27:40 -0800 (PST)
Received: by 10.90.81.1 with HTTP; Wed, 5 Nov 2008 07:27:40 -0800 (PST)
Message-ID: <38af3d670811050727q6970a8b3s5ceb8de850be586e@mail.gmail.com>
Date: Wed, 5 Nov 2008 13:27:40 -0200
From: "Jorge Peixoto de Morais Neto" <please.no.spam.here@gmail.com>
Sender: jorgepeixotomorais@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] First Portage Hick-up, Chokes on Java
In-Reply-To: <20081105151652.GA5170@princeton.edu>
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
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
References: <Pine.LNX.4.64.0810030155570.21240@strider.Belkin>
	 <38af3d670811040616r77307a6cxb7237ac4618353cd@mail.gmail.com>
	 <200811041723.58876.alan.mckinnon@gmail.com>
	 <20081105151652.GA5170@princeton.edu>
X-Google-Sender-Auth: 908aa9cd11c640f5
X-Archives-Salt: c22c5839-d1b8-42f9-8d0a-bc0f081f1bc0
X-Archives-Hash: 106667b60db13a6140519022543e8c4e

On Wed, Nov 5, 2008 at 1:16 PM, Willie Wong <wwong@princeton.edu> wrote:
> On Tue, Nov 04, 2008 at 05:23:58PM +0200, Penguin Lover Alan McKinnon squawked:
>> On Tuesday 04 November 2008 16:16:30 Jorge Peixoto de Morais Neto wrote:
>> > collision-protect seems nice, but I don't know about its drawbacks (if
>> > any), and since it seems not to be default and I don't have good
>> > knowledge of it, I didn't change the default.
>>
>> You probably want this enabled. I think it's disabled by default because new
>> users will have no idea whatsoever what to do about it. All it does is check
>> the files it wants to install with what's on the disk. If there's a match,
>> the existing files must only have been put there by the same package
>> (ignoring version numbers).
>>
>> If there's a collision, you get a huge big fat error message and a chance to
>> find out why two different packages install the same file. Maybe you need to
>> uninstall one, maybe it doesn't matter. If it's the latter, just
>>
>> FEATURES="-collision-protect" emerge <package>
>>
>> and continue as normal. In any event, you get to decide what should happen.
>> Every experienced gentoo user should be using this imho
>>
>
> On my version of portage (2.2_rc13; but I am pretty sure this is the
> case for some older ones too), there is the default feature
> "protect-owned" which provides more or less the same function as
> collision-protect but is slightly smarter. See 'man make.conf' for
> details.
No. In my system (Portage 2.1.4.5) this FEATURE does not exist. I have
searched make.conf.example, and several portage-related man pages; no
mention to "protect-owned".


-- 
Software is like sex: it is better when it is free - Linus Torvalds