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 1LSDag-00056Q-S0 for garchives@archives.gentoo.org; Wed, 28 Jan 2009 16:48:39 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9DB7E0481; Wed, 28 Jan 2009 16:48:37 +0000 (UTC) Received: from yx-out-1718.google.com (yx-out-1718.google.com [74.125.44.153]) by pigeon.gentoo.org (Postfix) with ESMTP id AE174E0481 for ; Wed, 28 Jan 2009 16:48:37 +0000 (UTC) Received: by yx-out-1718.google.com with SMTP id 4so2823329yxp.46 for ; Wed, 28 Jan 2009 08:48:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=1iRGvk4uId1alWgAc73rOAAunkXk40iuL+9Hc3EPSQc=; b=KweBbk8SS6QHRnhCM0UstPIam935uRi4DGWkqxBCpMZhOvkexuqV+r1zHz/gxSJCIm Row7ukH2gMrzzbxVNoIIt9HZv9okc73HqRv/FfaOmGJM+mjSCYpHKZe4PwPIzFYe2hSy E2wQp9ZSDkjZpyrVUwfyGTzJbgift9a+YrfR0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=x2XbQdR3MMLyYtWofOFt90MsQkvl2UdZaqCr+ouDv0F3mg8/NbZ/b5pDkKOfFCJO9I AT9B4utrZLLVCZO9yauwsXl01EGN7H8l6kpdbVkV8KiGNj5/MLh8jTo5ycbXjPzrVAYk 5+gYTLUm08H4bY50OpwqrHd3idM5845xriwIc= 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.90.29.17 with SMTP id c17mr3667838agc.13.1233161317417; Wed, 28 Jan 2009 08:48:37 -0800 (PST) In-Reply-To: <20090128153351.4D7B.0.NOFFLE@turbacz.local> References: <20090128153351.4D7B.0.NOFFLE@turbacz.local> Date: Wed, 28 Jan 2009 11:48:37 -0500 Message-ID: Subject: Re: [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)? From: Joshua Murphy To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: e7936b2d-fae7-49c5-ba6b-4085f933487d X-Archives-Hash: 5d859f9cb8057a994607db4f2e04b54b On Wed, Jan 28, 2009 at 10:33 AM, Miernik wrote: > I am doing a 'emerge -uD' but one of the packages the version currently > in portage doesn't compile, so I want to keep my current version, and > prevent emerge from trying to update it. How can I put a package on hold > (like in Debian)? > > I tried inserting: > > =x11-wm/awesome-3.1-r1 ~amd64 > > in /etc/portage/package.keywords > > but 'emerge -uD world' still tries to build x11-wm/awesome-3.1.1 > which fails, so the whole process is stopped. echo \>x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask # and to prevent downgrades echo \> /etc/portage/package.mask -- Poison [BLX] Joshua M. Murphy