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 ) id 1KxQ8y-0001aQ-IP for garchives@archives.gentoo.org; Tue, 04 Nov 2008 17:56:44 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34982E0464; Tue, 4 Nov 2008 17:56:43 +0000 (UTC) Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.152]) by pigeon.gentoo.org (Postfix) with ESMTP id 14418E0464 for ; Tue, 4 Nov 2008 17:56:43 +0000 (UTC) Received: by yx-out-1718.google.com with SMTP id 4so1402609yxp.46 for ; Tue, 04 Nov 2008 09:56:41 -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=Tz10bkm3VED1uphy3BRfHtr/Wci0YxQg0r9efidFTlU=; b=R1exL3OWRUu8LyXkLXL8+NCUjwjuMc/W8LmcW5sDFIOlKvHbs0tpHeoLePSF08xzhL TT2kAjZ5o4nibh/QOKyBquumYo8RgGAzcKWvVXHddq/rVcM+Zsw2ilvYH+mrwUgI2TA6 E8mR3wqKpiFU9rdBsjUNRwE9TpiXHO4PMoTX0= 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=soTXBoLtpI4Asi65llKUh1pol/bXGIICpxPVRsUwtvoVv3K+lI7CJjsDvHtgO4rJ+U cNOCqqYuSpIoFJhO/0WRCjOgiSuw11gL4nPNNsjgglT6tVx7rjdtOzNyoFYty3jkKN0p Rh1iwEq78vnCgNTNzrl/XNKAPmmV7zfynL1fs= Received: by 10.90.98.12 with SMTP id v12mr1343474agb.5.1225821401122; Tue, 04 Nov 2008 09:56:41 -0800 (PST) Received: by 10.90.81.1 with HTTP; Tue, 4 Nov 2008 09:56:41 -0800 (PST) Message-ID: <38af3d670811040956s620784a8w17bbcc212b14651c@mail.gmail.com> Date: Tue, 4 Nov 2008 17:56:41 +0000 From: "Jorge Peixoto de Morais Neto" Sender: jorgepeixotomorais@gmail.com To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] First Portage Hick-up, Chokes on Java In-Reply-To: <200811041723.58876.alan.mckinnon@gmail.com> 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 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <38af3d670811040616r77307a6cxb7237ac4618353cd@mail.gmail.com> <200811041723.58876.alan.mckinnon@gmail.com> X-Google-Sender-Auth: a95b9265da601d4f X-Archives-Salt: 6543129d-cfba-4105-aa2b-eb62a248bd51 X-Archives-Hash: c11bb7bfd5ba0c6476b1ea0bbb9c9bbe On Tue, Nov 4, 2008 at 3:23 PM, Alan McKinnon wrote: > 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 > > and continue as normal. In any event, you get to decide what should happen. > Every experienced gentoo user should be using this imho > Nice. I actually thought that this protection was enabled by default, and wondered what FEATURES=collision-protect did. Once I had a program behaving weirdly, and found out that its binary (/usr/bin/stream, if memory serves) had been replaced by an identically-named binary of another program. I thought it was a Portage bug, but you are telling me that Portage allows this by default. By the way, certain parts of Portage are very scarcely document, are they not? For examples, the FEATURES only have quick explanations in make.conf.example, as far as I know (and I did search for more complete explanations). -- Software is like sex: it is better when it is free - Linus Torvalds