Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 10712

Summary: feature request: pinning
Product: Portage Development Reporter: Caleb Shay <caleb>
Component: CoreAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: VERIFIED INVALID    
Severity: enhancement CC: mholzer
Priority: High    
Version: 2.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Caleb Shay 2002-11-13 20:36:57 UTC
I would really like to be able to "pin" ebuilds to a certain version so that
they are never upgraded or downgraded.  This could either be done via a
/var/cache/edb/pin file or by allowing >=/=/etc support in world.  I'd be
willing to add this functionality myself if there is any interest in it, though
I don't know the portage code well.
Comment 1 Alberto Ornaghi 2002-11-14 08:08:35 UTC
you can already pin apps in the world file.

quoting from:  http://www.gentoo.org/doc/en/portage-manual.xml

<quote>
An interesting entry to note is the entry for the mozilla package
(=net-www/mozilla-0.9.8-r3). This entry was added manually by a user to "pin" a
specific version. Package ranges (as discussed in the Unmerge Packages section
of this manual) can be used to force Portage to only consider certain version
ranges when updating packages. This entry in effect "pins" Portage into
considering mozilla-0.9.8-r3 to be the only available version and thus it will
never attempt to update the package during a world update for any reason. 
</quote>
Comment 2 Caleb Shay 2002-11-14 08:52:13 UTC
Well, color me embarassed.