Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 9379 - portage masking keywords with update
Summary: portage masking keywords with update
Status: RESOLVED DUPLICATE of bug 13616
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
: 11012 11570 12156 12634 16874 (view as bug list)
Depends on:
Blocks: 12069
  Show dependency tree
 
Reported: 2002-10-20 07:40 UTC by Paul de Vrieze (RETIRED)
Modified: 2011-10-30 22:22 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for portage-2.0.49_pre16 (portage.patch,1.12 KB, patch)
2003-08-06 04:07 UTC, Marius Mauch (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul de Vrieze (RETIRED) gentoo-dev 2002-10-20 07:40:18 UTC
If you emerge a package that is masked using keywords, and after that do a
pretend update world while not allowing testing portage will try to downgrade to
a non-testing version. I believe this behaviour is inconsistent with the
old-style masks (/usr/portage/profile/package.mask), and also undesirable. An
option to choose between behaviour is also possible.
Comment 1 SpanKY gentoo-dev 2002-10-20 09:59:50 UTC
i'd vote no on changing current functionality, but thats me ;)
Comment 2 Paul de Vrieze (RETIRED) gentoo-dev 2002-10-20 10:16:35 UTC
I'd prefer changing the behaviour. Possibly so that it can be configured. The
reason for this is:

I don't object to testing packages out. For some packages though, I just want
them to work. I'm just not fond of testing out the latest/greatest gcc, the
moment it arives. This means I don't want ~x86 in my default ACCEPT_KEYWORDS.
Sometimes I just run:
ACCEPT_KEYWORD="~x86" emerge -p -u world

and select those packages I wish to check out. In general I don't really
remember which packages I emerged with testing keywords. So when I want to do a
general update I must guess at which packages I merged testing, and not select
those from to emerge (I do a pretend first). If the behaviour would be changed
so that keyword-masked packages(for the right arch) would not be downgraded, it
would make things a lot easier for me, and I guess a lot of other gentoo users
too. (I know of one guy from the gentoo-user list)
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2002-10-20 15:11:03 UTC
Sticky variables are coming.
This will wait until then.
Comment 4 SpanKY gentoo-dev 2003-01-08 14:27:59 UTC
*** Bug 11570 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2003-01-08 15:10:51 UTC
*** Bug 12156 has been marked as a duplicate of this bug. ***
Comment 6 SpanKY gentoo-dev 2003-01-08 15:28:59 UTC
*** Bug 12634 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2003-03-05 03:14:34 UTC
*** Bug 11012 has been marked as a duplicate of this bug. ***
Comment 8 SpanKY gentoo-dev 2003-03-05 03:14:43 UTC
*** Bug 16874 has been marked as a duplicate of this bug. ***
Comment 9 Marius Mauch (RETIRED) gentoo-dev 2003-08-06 04:07:03 UTC
Created attachment 15607 [details, diff]
patch for portage-2.0.49_pre16

Small patch to read a file /etc/portage/package.keyword and disable ~arch
masking for packages in this file. It's a adaption from the patch on bug 13616.

Format for package.keyword is one cat/pkg per line (no version information).
Comment 10 Lloyd D Budd 2003-08-18 22:50:53 UTC
Was 'emerge {--update , -U} available when this bug was submitted?  Anyway, the patch should be obsoleted as it is now incorporated into the patch for 13616:

------- Additional Comment #60 From Max Kalika  2003-08-07 14:14 EST -------

Created an attachment (id=15715)
portage.py-2.0.49_pre17-per_package_use_flags.patch  

Here's the newest and shiniest version with the following changes:
  - fix dictionaries/lists trying to make it into the environment
  - fix per-package USE overriding global when global contains -*
  - enable per-package ACCEPT_KEYWORDS functionality by creating a
    /etc/portage/package.keywords with the following format:

[mod]cat/pkg[-version]	accept_keyword1 [accept_keyword2 ...]

Where optional "mod" is the standard portage package range modifier (<=>).
Comment 11 Marius Mauch (RETIRED) gentoo-dev 2003-10-09 13:35:33 UTC

*** This bug has been marked as a duplicate of 13616 ***