Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50468 - code example for package.mask does opposite of its explanation above
Summary: code example for package.mask does opposite of its explanation above
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-developer
Classification: Unclassified
Component: Portage Documentation (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-08 10:50 UTC by klync
Modified: 2004-05-10 22:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description klync 2004-05-08 10:50:13 UTC
do "man portage" and search for nvidia... this will bring you to the example of how to use package.mask.  But the code example does the opposite of what the explanation (above) says.

Reproducible: Always
Steps to Reproduce:
(see details, above)
Actual Results:  
              package.mask
                     List of DEPEND atoms to mask.  Useful  if  specific  ver-
                     sions of packages do not work well for you.  For example,
                     you swear by the Nvidia drivers, but only  versions  ear-
                     lier than 1.0.4496.  No problem!
                                                                                
                     Format:
                     - comments begin with #
                     - one DEPEND atom per line
                                                                                
                     Example:
                     # mask out versions of the nvidia drivers
                     # earlier than 1.0.4496
                     >=media-video/nvidia-kernel-1.0.4496
                     >=media-video/nvidia-glx-1.0.4496
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-05-09 13:34:36 UTC
Don't see the problem here: >=1.0.4496 in package.mask hides all versions equal or higher than 1.0.4496 for portage which is exactly what the comment says.
Comment 2 SpanKY gentoo-dev 2004-05-10 22:49:35 UTC
i typed it wrong

description: you want only earlier than 1.0.4496
comment: mask out versions earlier than 1.0.4496
code: mask out 1.0.4496 and later
Comment 3 SpanKY gentoo-dev 2004-05-10 22:51:50 UTC
fixed in cvs