Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 10712 - feature request: pinning
Summary: feature request: pinning
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
Depends on:
Reported: 2002-11-13 20:36 UTC by Caleb Shay
Modified: 2011-10-30 22:37 UTC (History)
1 user (show)

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


Note You need to log in before you can comment on or make changes to this bug.
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:

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. 
Comment 2 Caleb Shay 2002-11-14 08:52:13 UTC
Well, color me embarassed.