Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190 - it would be nice to have "pin" functionality for emerge --world update
Summary: it would be nice to have "pin" functionality for emerge --world update
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-15 19:12 UTC by aeoo
Modified: 2011-10-30 22:21 UTC (History)
3 users (show)

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 aeoo 2002-01-15 19:12:25 UTC
Sometimes you really don't want to upgrade some package for some reason.  It 
would be nice to be able to "pin" it to prevent it from being upgraded.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-01-28 12:41:08 UTC
good idea, this would be a nice "before 1.0" feature (since everyone will be
emerge updating like crazy from the get-go)
Comment 2 Geert Bevin 2002-01-31 08:49:18 UTC
any ideas about the actual implementation? an additional config file with a
similar format as package.mask ? daniel?
Comment 3 Dan Armak (RETIRED) gentoo-dev 2002-02-01 08:18:22 UTC
I think that a combination of config file a la package.mask (with version 
range selection) and command line parameters is best.
Comment 4 Daniel Robbins (RETIRED) gentoo-dev 2002-02-20 22:49:07 UTC
I think Geert and I have figured out new 1.0 "world" functionality that will
also solve this problem.  Reassigning this one to me.
Comment 5 Daniel Robbins (RETIRED) gentoo-dev 2002-03-28 19:10:22 UTC
OK, this can now be done if you use portage-1.8.9_pre33+ (to be added within
minutes)... just add a dep to the /var/cache/edb/world file, and "emerge --world
update" will now respect it.