From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NPsKj-0000NO-7u for garchives@archives.gentoo.org; Wed, 30 Dec 2009 06:47:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F568E063E; Wed, 30 Dec 2009 06:46:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C7E58E063E for ; Wed, 30 Dec 2009 06:46:10 +0000 (UTC) Received: from [192.168.22.10] (ip68-4-152-120.oc.oc.cox.net [68.4.152.120]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 517FC643C8 for ; Wed, 30 Dec 2009 06:46:10 +0000 (UTC) Message-ID: <4B3AF764.3050604@gentoo.org> Date: Tue, 29 Dec 2009 22:47:00 -0800 From: Zac Medico User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.5) Gecko/20091218 Thunderbird/3.0 ThunderBrowse/3.2.6.8 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-portage-dev@lists.gentoo.org Subject: Re: [gentoo-portage-dev] Can emerge be instructed not to upgrade a dependency? References: <4B3A2D17.2020007@oversi.com> In-Reply-To: <4B3A2D17.2020007@oversi.com> X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: 5b9a94ac-9440-49db-87b9-51ac1cea6399 X-Archives-Hash: 9d157e2f4fec890366616eccfeb90838 On 12/29/2009 08:23 AM, Amit Dor-Shifer wrote: > Hi. > > I want package A to incur a rebuild of package B, due to a newly > introduced USE flag which affects B. I wish to express this in the > package's ebuild. I therefore DEPENDed A in B[use_flag]. When I attempt > to emerge A, portage offers to *upgrade* the dependency, taking in the > new USE setting (there's an available upgrade in the tree). I want the > dependency to be *rebuilt*, maintaining the same version currently > installed. Can I tell emerge to do that? I'm looking for a general > method of doing this, I.E. I wish to remain unaware of the specific > version of the installed B package: If it's there, don't upgrade it, > just rebuild w/new USE flag. The only way to do that now is to mask the unwanted update in /etc/portage/package.mask. -- Thanks, Zac