* [gentoo-user] how do I keep package from being updated?
@ 2007-01-11 14:50 John Covici
2007-01-11 15:10 ` Hans-Werner Hilse
` (2 more replies)
0 siblings, 3 replies; 21+ messages in thread
From: John Covici @ 2007-01-11 14:50 UTC (permalink / raw
To: gentoo-user
Hi. I just did emerge --pretend --update --deep world, but there is a
package which I don't want to have emerge update automatically -- how
do I accomplish this?
Thanks.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
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
` (2 more replies)
2007-01-11 15:21 ` Boyd Stephen Smith Jr.
2007-01-11 18:11 ` kashani
2 siblings, 3 replies; 21+ messages in thread
From: Hans-Werner Hilse @ 2007-01-11 15:10 UTC (permalink / raw
To: gentoo-user
Hi,
On Thu, 11 Jan 2007 09:50:31 -0500 John Covici <covici@ccs.covici.com>
wrote:
> Hi. I just did emerge --pretend --update --deep world, but there is a
> package which I don't want to have emerge update automatically -- how
> do I accomplish this?
You can mask it in /etc/portage/package.mask, for the syntax have a
look at "man 5 portage". For your case, it's basically a line like
>pkg-category/package-0.0.1
assuming you want to keep 0.0.1.
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
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 15:21 ` Boyd Stephen Smith Jr.
2007-01-11 17:30 ` Bo Ørsted Andresen
2007-01-11 18:11 ` kashani
2 siblings, 1 reply; 21+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-01-11 15:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1432 bytes --]
On Thursday 11 January 2007 08:50, John Covici <covici@ccs.covici.com>
wrote about '[gentoo-user] how do I keep package from being updated?':
> Hi. I just did emerge --pretend --update --deep world, but there is a
> package which I don't want to have emerge update automatically -- how
> do I accomplish this?
Add an appropriate atom to your /etc/portage/package.mask file. There's a
good section in the handbook about this, as well as it being documented in
the various man pages installed with portage, such as man portage, man
ebuild, and man 5 ebuild.
Very quickly:
If you have cate-gory/package-1.5.3 installed, and
cate-gory/package-1.6.0_rc2 is available but you don't want to upgrade,
add >=cate-gory/package-1.6* to your package.mask
(If it's a -rX upgrade, or and increase in the 3rd (or later) number in the
version, you probably want the upgrade. Really. The former is an ebuild
fix that won't change the upstream version you get (so, you will almost
never encounter upgrade issues); the later is (for most packages) a
security or bugfix release that should maintain compatibility with
previous versions (so, you will rarely encounter upgrade issues).)
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
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:47 ` Neil Bothwick
2 siblings, 0 replies; 21+ messages in thread
From: John covici @ 2007-01-11 16:32 UTC (permalink / raw
To: gentoo-user
OK, thanks I will try that and see what it does.
on Thursday 01/11/2007 Hans-Werner Hilse(hilse@web.de) wrote
> Hi,
>
> On Thu, 11 Jan 2007 09:50:31 -0500 John Covici <covici@ccs.covici.com>
> wrote:
>
> > Hi. I just did emerge --pretend --update --deep world, but there is a
> > package which I don't want to have emerge update automatically -- how
> > do I accomplish this?
>
> You can mask it in /etc/portage/package.mask, for the syntax have a
> look at "man 5 portage". For your case, it's basically a line like
>
> >pkg-category/package-0.0.1
>
> assuming you want to keep 0.0.1.
>
>
> -hwh
> --
> gentoo-user@gentoo.org mailing list
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
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 16:47 ` Neil Bothwick
2 siblings, 1 reply; 21+ messages in thread
From: John covici @ 2007-01-11 16:38 UTC (permalink / raw
To: gentoo-user
OK, I did put my php version in the /etc/portage/package.mask, but it
still wants to install a new major version -- curiously it says ebuild
-ns rather than just -n or -u. I put the following line in there
=dev-lang/php-4.4.4-r8
which is my current version of php and emerge said
[ebuild NS ] dev-lang/php-5.1.6-r6 USE="berkdb cli crypt gdbm
iconv ipv6 ldap ncurses nls pcre readline reflection session spell spl
ssl truetype unicode xml zlib -adabas -apache -apache2 -bcmath
-birdstep -bzip2 -calendar -cdb -cgi -cjk -concurrentmodphp -ctype
-curl -curlwrappers -db2 -dbase -dbmaker -debug -discard-path -doc
-empress -empress-bcs -esoob -exif -fastbuild -fdftk -filepro
-firebird -flatfile -force-cgi-redirect -frontbase -ftp -gd
-gd-external -gmp -hardenedphp -hash -hyperwave-api -imap -informix
-inifile -interbase -iodbc -java-external -kerberos -libedit -mcve
-memlimit -mhash -ming -msql -mssql -mysql -mysqli -oci8
-oci8-instant-client -odbc -pcntl -pdo -pdo-external -pic -posix
-postgres -qdbm -recode -sapdb -sasl -sharedext -sharedmem -simplexml
-snmp -soap -sockets -solid -sqlite -sybase -sybase-ct -sysvipc
-threads -tidy -tokenizer -vm-goto -vm-switch -wddx -xmlreader -xmlrpc
-xmlwriter -xpm -xsl -yaz -zip"
on Thursday 01/11/2007 Hans-Werner Hilse(hilse@web.de) wrote
> Hi,
>
> On Thu, 11 Jan 2007 09:50:31 -0500 John Covici <covici@ccs.covici.com>
> wrote:
>
> > Hi. I just did emerge --pretend --update --deep world, but there is a
> > package which I don't want to have emerge update automatically -- how
> > do I accomplish this?
>
> You can mask it in /etc/portage/package.mask, for the syntax have a
> look at "man 5 portage". For your case, it's basically a line like
>
> >pkg-category/package-0.0.1
>
> assuming you want to keep 0.0.1.
>
>
> -hwh
> --
> gentoo-user@gentoo.org mailing list
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
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:47 ` Neil Bothwick
2007-01-11 17:28 ` Bo Ørsted Andresen
2 siblings, 1 reply; 21+ messages in thread
From: Neil Bothwick @ 2007-01-11 16:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 867 bytes --]
On Thu, 11 Jan 2007 16:10:29 +0100, Hans-Werner Hilse wrote:
> You can mask it in /etc/portage/package.mask, for the syntax have a
> look at "man 5 portage". For your case, it's basically a line like
>
> >pkg-category/package-0.0.1
>
> assuming you want to keep 0.0.1.
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.
Patch level updates, -r1, -r2 etc, install the same version but with some
changes, such as security fixes.
--
Neil Bothwick
"There are two ways of constructing a software design: One way is to make
it so simple that there are obviously no deficiencies, and the other way
is to make it so complicated that there are no obvious deficiencies.
The first method is far more difficult" -C.A.R. Hoare
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
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
0 siblings, 2 replies; 21+ messages in thread
From: Hans-Werner Hilse @ 2007-01-11 16:56 UTC (permalink / raw
To: gentoo-user
Hi,
On Thu, 11 Jan 2007 11:38:38 -0500
John covici <covici@ccs.covici.com> wrote:
> OK, I did put my php version in the /etc/portage/package.mask, but it
> still wants to install a new major version -- curiously it says ebuild
> -ns rather than just -n or -u. I put the following line in there
> =dev-lang/php-4.4.4-r8
you don't want to mask the currently installed version (=), but rather the
versions "greater" (>) than it.
> which is my current version of php and emerge said
> [ebuild NS ] dev-lang/php-5.1.6-r6 USE="berkdb cli crypt gdbm
> [...]
interesting. Yes, that "NS" is for a New, Slotted version. I.e., PHP4
will still be on your system, so you might already stop worrying at
this point. In fact, I don't really know how to mask a version in a
different slot. I would have even expected my suggestion to do that
anyway. But this makes much more sense, because there should be a
seperate masking for each of the slots -- and it resembles the
behaviour from the profile's masks. So you might add another line to
your package.mask, following Boyd Stephen's suggestion to mask with
">=":
>=dev-lang/php-5.0.0
-hwh
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 16:47 ` Neil Bothwick
@ 2007-01-11 17:28 ` Bo Ørsted Andresen
2007-01-11 20:32 ` Neil Bothwick
0 siblings, 1 reply; 21+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-11 17:28 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 390 bytes --]
On Thursday 11 January 2007 17:47, 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*...
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
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.
0 siblings, 1 reply; 21+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-11 17:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 276 bytes --]
On Thursday 11 January 2007 16:21, Boyd Stephen Smith Jr. wrote:
> add >=cate-gory/package-1.6* to your package.mask
That too isn't a valid atom. Lose the '*'. It's only valid with '=' not '>='
or '~'... Valid atoms are described in `man 5 ebuild`.
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 16:56 ` Hans-Werner Hilse
@ 2007-01-11 17:36 ` Bo Ørsted Andresen
2007-01-11 17:56 ` John covici
1 sibling, 0 replies; 21+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-11 17:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 458 bytes --]
On Thursday 11 January 2007 17:56, Hans-Werner Hilse wrote:
> I don't really know how to mask a version in a different slot. I would have
> even expected my suggestion to do that anyway. But this makes much more
> sense, because there should be a seperate masking for each of the slots --
> and it resembles the behaviour from the profile's masks.
A '>' masking will indeed mask later slots. It doesn't require a mask pr.
slot.
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 17:30 ` Bo Ørsted Andresen
@ 2007-01-11 17:48 ` Boyd Stephen Smith Jr.
0 siblings, 0 replies; 21+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-01-11 17:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 741 bytes --]
On Thursday 11 January 2007 11:30, Bo Ørsted Andresen <bo.andresen@zlin.dk>
wrote about 'Re: [gentoo-user] how do I keep package from being updated?':
> On Thursday 11 January 2007 16:21, Boyd Stephen Smith Jr. wrote:
> > add >=cate-gory/package-1.6* to your package.mask
>
> That too isn't a valid atom. Lose the '*'. It's only valid with '=' not
> '>=' or '~'... Valid atoms are described in `man 5 ebuild`.
Ah, fooey, I was hoping I could mix and match, freely. I clearly don't use
atoms enough.
--
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
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
1 sibling, 2 replies; 21+ messages in thread
From: John covici @ 2007-01-11 17:56 UTC (permalink / raw
To: gentoo-user
If I have two versions on the systems, how would apache and the cli
pick what version they are going to use?
on Thursday 01/11/2007 Hans-Werner Hilse(hilse@web.de) wrote
> Hi,
>
> On Thu, 11 Jan 2007 11:38:38 -0500
> John covici <covici@ccs.covici.com> wrote:
>
> > OK, I did put my php version in the /etc/portage/package.mask, but it
> > still wants to install a new major version -- curiously it says ebuild
> > -ns rather than just -n or -u. I put the following line in there
> > =dev-lang/php-4.4.4-r8
>
> you don't want to mask the currently installed version (=), but rather the
> versions "greater" (>) than it.
>
> > which is my current version of php and emerge said
> > [ebuild NS ] dev-lang/php-5.1.6-r6 USE="berkdb cli crypt gdbm
> > [...]
>
> interesting. Yes, that "NS" is for a New, Slotted version. I.e., PHP4
> will still be on your system, so you might already stop worrying at
> this point. In fact, I don't really know how to mask a version in a
> different slot. I would have even expected my suggestion to do that
> anyway. But this makes much more sense, because there should be a
> seperate masking for each of the slots -- and it resembles the
> behaviour from the profile's masks. So you might add another line to
> your package.mask, following Boyd Stephen's suggestion to mask with
> ">=":
>
> >=dev-lang/php-5.0.0
>
>
>
> -hwh
> --
> gentoo-user@gentoo.org mailing list
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 17:56 ` John covici
@ 2007-01-11 18:09 ` Bo Ørsted Andresen
2007-01-11 18:09 ` Ryan Sims
1 sibling, 0 replies; 21+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-11 18:09 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 469 bytes --]
On Thursday 11 January 2007 18:56, John covici wrote:
> If I have two versions on the systems, how would apache and the cli
> pick what version they are going to use?
Apparently there's a php-select tool [1]. And I think apache has separate init
scripts and use flags for each slot. You should have a look at the apache
docs at [2] too.
[1] http://www.gentoo.org/proj/en/php/php-upgrading.xml
[2] http://www.gentoo.org/doc/en/list.xml
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 17:56 ` John covici
2007-01-11 18:09 ` Bo Ørsted Andresen
@ 2007-01-11 18:09 ` Ryan Sims
1 sibling, 0 replies; 21+ messages in thread
From: Ryan Sims @ 2007-01-11 18:09 UTC (permalink / raw
To: gentoo-user
On 1/11/07, John covici <covici@ccs.covici.com> wrote:
> If I have two versions on the systems, how would apache and the cli
> pick what version they are going to use?
I think there was just a thread on top-posting, btw.
IIRC, you pass "-DPHP5" or "-DPHP4" to apache in /etc/conf.d/apache
(or possibly /etc/conf.d/apache2). As for cli, I'm not sure, I
haven't used it much.
> on Thursday 01/11/2007 Hans-Werner Hilse(hilse@web.de) wrote
> > Hi,
> >
> > On Thu, 11 Jan 2007 11:38:38 -0500
> > John covici <covici@ccs.covici.com> wrote:
> >
> > > OK, I did put my php version in the /etc/portage/package.mask, but it
> > > still wants to install a new major version -- curiously it says ebuild
> > > -ns rather than just -n or -u. I put the following line in there
> > > =dev-lang/php-4.4.4-r8
> >
> > you don't want to mask the currently installed version (=), but rather the
> > versions "greater" (>) than it.
> >
> > > which is my current version of php and emerge said
> > > [ebuild NS ] dev-lang/php-5.1.6-r6 USE="berkdb cli crypt gdbm
> > > [...]
> >
> > interesting. Yes, that "NS" is for a New, Slotted version. I.e., PHP4
> > will still be on your system, so you might already stop worrying at
> > this point. In fact, I don't really know how to mask a version in a
> > different slot. I would have even expected my suggestion to do that
> > anyway. But this makes much more sense, because there should be a
> > seperate masking for each of the slots -- and it resembles the
> > behaviour from the profile's masks. So you might add another line to
> > your package.mask, following Boyd Stephen's suggestion to mask with
> > ">=":
> >
> > >=dev-lang/php-5.0.0
> >
> >
> >
> > -hwh
> > --
> > gentoo-user@gentoo.org mailing list
>
> --
> Your life is like a penny. You're going to lose it. The question is:
> How do
> you spend it?
>
> John Covici
> covici@ccs.covici.com
> --
> gentoo-user@gentoo.org mailing list
>
>
--
Ryan W Sims
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
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 15:21 ` Boyd Stephen Smith Jr.
@ 2007-01-11 18:11 ` kashani
2 siblings, 0 replies; 21+ messages in thread
From: kashani @ 2007-01-11 18:11 UTC (permalink / raw
To: gentoo-user
John Covici wrote:
> Hi. I just did emerge --pretend --update --deep world, but there is a
> package which I don't want to have emerge update automatically -- how
> do I accomplish this?
>
> Thanks.
>
Assuming this is going back to the PHP thing, this will allow you to
update to future versions of 4.x without moving to 5.0 or better.
echo ">=dev-lang/php-5" >> /etc/portage/package.mask
kashani
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 17:28 ` Bo Ørsted Andresen
@ 2007-01-11 20:32 ` Neil Bothwick
2007-01-11 20:43 ` Bo Ørsted Andresen
0 siblings, 1 reply; 21+ messages in thread
From: Neil Bothwick @ 2007-01-11 20:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
On Thu, 11 Jan 2007 18:28:51 +0100, Bo Ørsted Andresen 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.
--
Neil Bothwick
What colour is a chameleon on a mirror?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 20:32 ` Neil Bothwick
@ 2007-01-11 20:43 ` Bo Ørsted Andresen
2007-01-11 21:43 ` John covici
2007-01-11 22:41 ` Neil Bothwick
0 siblings, 2 replies; 21+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-11 20:43 UTC (permalink / raw
To: gentoo-user
[-- 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 --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 20:43 ` Bo Ørsted Andresen
@ 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
1 sibling, 2 replies; 21+ messages in thread
From: John covici @ 2007-01-11 21:43 UTC (permalink / raw
To: gentoo-user
Also, what did work was >dev-lang/php-5 I wish there was a way to see
what it was ignoring, etc.
on Thursday 01/11/2007 Bo Ørsted Andresen(bo.andresen@zlin.dk) wrote
> 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
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 21:43 ` John covici
@ 2007-01-11 21:51 ` kashani
2007-01-11 22:20 ` Bo Ørsted Andresen
1 sibling, 0 replies; 21+ messages in thread
From: kashani @ 2007-01-11 21:51 UTC (permalink / raw
To: gentoo-user
John covici wrote:
> Also, what did work was >dev-lang/php-5 I wish there was a way to see
> what it was ignoring, etc.
>
emerge eix
eix -pv php
kashani
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 21:43 ` John covici
2007-01-11 21:51 ` kashani
@ 2007-01-11 22:20 ` Bo Ørsted Andresen
1 sibling, 0 replies; 21+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-11 22:20 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 640 bytes --]
On Thursday 11 January 2007 22:43, John covici wrote:
> Also, what did work was >dev-lang/php-5 I wish there was a way to see
> what it was ignoring, etc.
An invalid atom like e.g.: ">=dev-lang/php-4*" will make portage 2.1.2 spit
out a warning about it being an invalid atom. I do consider the fact that it
completely ignores ">~" atoms rather than spitting out a warning to be a bug.
In other words portage is moving towards more validation and unit tests so
eventually it will catch all sorts of invalid input... In the mean time
`man 5 ebuild` describes valid atoms.
PS: Please stop top-posting.
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
* Re: [gentoo-user] how do I keep package from being updated?
2007-01-11 20:43 ` Bo Ørsted Andresen
2007-01-11 21:43 ` John covici
@ 2007-01-11 22:41 ` Neil Bothwick
1 sibling, 0 replies; 21+ messages in thread
From: Neil Bothwick @ 2007-01-11 22:41 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 628 bytes --]
On Thu, 11 Jan 2007 21:43:34 +0100, Bo Ørsted Andresen wrote:
> > 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:
You're right, I didn't test very effectively. I should have just checked
the man pages. Apologies for the noise.
Portage usually complains about invalid atoms. Why did it wait until I
was about to make a prat of myself before deciding not to do so? :(
--
Neil Bothwick
Give a man a fish and you feed him for a day;
Teach him to use the Net and he won't bother you for weeks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 21+ messages in thread
end of thread, other threads:[~2007-01-11 22:48 UTC | newest]
Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox