public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bo Ørsted Andresen" <bo.andresen@zlin.dk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how do I keep package from being updated?
Date: Thu, 11 Jan 2007 21:43:34 +0100	[thread overview]
Message-ID: <200701112143.40855.bo.andresen@zlin.dk> (raw)
In-Reply-To: <20070111203256.203db747@krikkit.digimed.co.uk>

[-- Attachment #1: Type: text/plain, Size: 896 bytes --]

On Thursday 11 January 2007 21:32, Neil Bothwick wrote:
> > > It would be better to use ">~pkg-category/package-0.0.1". this allows
> > > patch level updates, such as 0.0.1-r1 while not permitting an update
> > > to a higher upstream version.  
> >
> > That isn't a valid atom and it plain doesn't work. Even if it did it
> > wouldn't have the intended effect since it would mask -r*...
>
> I tested it before posting and it did work. It didn't mask -r*, allowing
> a upgrade.

It doesn't work at all. Nothing gets masked. It's simply ignored:

# cat /etc/portage/package.mask
>~dev-lang/php-4.4.4
# emerge -p php
[SNIP]
[ebuild  N    ] dev-lang/php-5.1.6-r6  USE="..."

# cat /etc/portage/package.mask
>dev-lang/php-4.4.4-r9999
# emerge -p php
[SNIP]
[ebuild  N    ] dev-lang/php-4.4.4-r6  USE="..."

That goes for both stable and ~arch portage.


-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2007-01-11 20:49 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-11 14:50 [gentoo-user] how do I keep package from being updated? John Covici
2007-01-11 15:10 ` Hans-Werner Hilse
2007-01-11 16:32   ` John covici
2007-01-11 16:38   ` John covici
2007-01-11 16:56     ` Hans-Werner Hilse
2007-01-11 17:36       ` Bo Ørsted Andresen
2007-01-11 17:56       ` John covici
2007-01-11 18:09         ` Bo Ørsted Andresen
2007-01-11 18:09         ` Ryan Sims
2007-01-11 16:47   ` Neil Bothwick
2007-01-11 17:28     ` Bo Ørsted Andresen
2007-01-11 20:32       ` Neil Bothwick
2007-01-11 20:43         ` Bo Ørsted Andresen [this message]
2007-01-11 21:43           ` John covici
2007-01-11 21:51             ` kashani
2007-01-11 22:20             ` Bo Ørsted Andresen
2007-01-11 22:41           ` Neil Bothwick
2007-01-11 15:21 ` Boyd Stephen Smith Jr.
2007-01-11 17:30   ` Bo Ørsted Andresen
2007-01-11 17:48     ` Boyd Stephen Smith Jr.
2007-01-11 18:11 ` kashani

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=200701112143.40855.bo.andresen@zlin.dk \
    --to=bo.andresen@zlin.dk \
    --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