Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65362 - portage docs still refer to world file pinning
Summary: portage docs still refer to world file pinning
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: x86 Linux
: High enhancement
Assignee: Docs Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-25 16:04 UTC by Adam
Modified: 2004-11-09 14:26 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 Adam 2004-09-25 16:04:42 UTC
I would like to be able to enter a package range or specific version in the world file, rather than having an update world search for the newest package.  E.g. I would like to be able to specify that I want exactly cups-1.1.20-r1 on my system instead of the newest version of cups.  This is useful because sometimes a new version of a package has a bug or a feature I don't want, but I still want to be able to have it intalled and also prevent it from being updated while having most of my packages updated to the newest version on a regular basis.

The portage manual seems to suggest this feature is already available when it states "You can also add entries to the world file in the form of ranges of packages".  But I put the line:
net-print/cups-1.1.20-r1
in world and ran:
emerge --update --ask --deep --verbose world
and it was trying to update it past 1.1.20-r1.  If this behaviour is incorrect, then I guess that would make this a bug rather than an enhancement.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-09-25 18:37:57 UTC
Adding >net-print/cups-1.1.20-r1 to /etc/portage/package.mask is what you are after. The portage(5) man page describes all the different configuration files. I know that "pinning" packages in the world file is no longer supported, but I'm not sure where this bug should go so I'll leave it open for the time being.
Comment 2 Adam 2004-09-25 19:48:04 UTC
OK, thanks, sorry I didn't read all the manuals, but it's hard to keep track of them all.  At least we know now there might be an error in the documentation (although I noticed that the Portage Manual, where I got the information, said it's now been obsoleted and the Gentoo Handbook replaced it, which is strange because the Gentoo Handbook doesn't have all the information in the Portage Manual).
Comment 3 Xavier Neys (RETIRED) gentoo-dev 2004-11-09 14:26:09 UTC
This is covered in Part 3 of the Handbook (http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3), more specifically at http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=3&chap=3#doc_chap3_sect2