Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how do I keep package from being updated?
Date: Thu, 11 Jan 2007 16:55:34
Message-Id: 20070111164705.3cfbc7bc@hactar.digimed.co.uk
In Reply to: Re: [gentoo-user] how do I keep package from being updated? by Hans-Werner Hilse
1 On Thu, 11 Jan 2007 16:10:29 +0100, Hans-Werner Hilse wrote:
2
3 > You can mask it in /etc/portage/package.mask, for the syntax have a
4 > look at "man 5 portage". For your case, it's basically a line like
5 >
6 > >pkg-category/package-0.0.1
7 >
8 > assuming you want to keep 0.0.1.
9
10 It would be better to use ">~pkg-category/package-0.0.1". this allows
11 patch level updates, such as 0.0.1-r1 while not permitting an update to a
12 higher upstream version.
13
14 Patch level updates, -r1, -r2 etc, install the same version but with some
15 changes, such as security fixes.
16
17
18 --
19 Neil Bothwick
20
21 "There are two ways of constructing a software design: One way is to make
22 it so simple that there are obviously no deficiencies, and the other way
23 is to make it so complicated that there are no obvious deficiencies.
24 The first method is far more difficult" -C.A.R. Hoare

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] how do I keep package from being updated? "Bo Ørsted Andresen" <bo.andresen@××××.dk>