public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Joshua Murphy <poisonbl@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to hold a package at a specific version (so  emerge -uD world doesn't change it)?
Date: Wed, 28 Jan 2009 11:48:37 -0500	[thread overview]
Message-ID: <c30988c30901280848ka33d638ycfd11742c9dc6b7e@mail.gmail.com> (raw)
In-Reply-To: <20090128153351.4D7B.0.NOFFLE@turbacz.local>

On Wed, Jan 28, 2009 at 10:33 AM, Miernik <public@public.miernik.name> 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 \<x11-wm/awesome-3.1-r1 >> /etc/portage/package.mask


-- 
Poison [BLX]
Joshua M. Murphy



  parent reply	other threads:[~2009-01-28 16:48 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-28 15:33 [gentoo-user] how to hold a package at a specific version (so emerge -uD world doesn't change it)? Miernik
2009-01-28 16:08 ` Stroller
2009-01-28 16:48 ` Joshua Murphy [this message]
2009-01-28 20:10   ` Neil Bothwick
2009-01-28 20:41     ` momesso.andrea
2009-01-28 21:22       ` Man Shankar
2009-01-29  9:13         ` [gentoo-user] " Miernik
2009-01-29 13:19           ` Sebastian Günther
2009-01-29 13:53             ` Neil Bothwick
2009-01-28 23:51     ` [gentoo-user] " Joshua Murphy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c30988c30901280848ka33d638ycfd11742c9dc6b7e@mail.gmail.com \
    --to=poisonbl@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox