Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70451 - Suggestion: Portage command line flag to skip -r? updates.
Summary: Suggestion: Portage command line flag to skip -r? updates.
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-08 04:38 UTC by Tim Redman
Modified: 2004-11-10 03:37 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 Tim Redman 2004-11-08 04:38:51 UTC
Particularly where large ebuilds like kde, glibc and mozilla, there should be a command line or make.conf option that allows for the administrator to exclude portage revision updates (-r?) from an update world operation.

For example, with the flag enabled, an emerge -u world would not update kdebase-3.3.0-r1 to kdebase-3.3.0-r2, but it would allow an upgrade from kdebase-3.3.0-r1 to kdebase-3.3.1-r2.  Exceptions could be allowed on a package by package basis (in a file such as /etc/portage/package.revision, command line flag or make.conf option) or when explicitly stating the ebuild on the command line (=kde-base/kdebase-3.3.0-r2, make.conf option).

Reproducible: Always
Steps to Reproduce:
1. n/a
2.
3.

Actual Results:  
Normally, Portage will update an unmasked application regardless of portage
release level.

Expected Results:  
n/a
Comment 1 Christopher Korn 2004-11-09 11:32:07 UTC
i think you can exclude such updates via package.mask and so on. 
just give it a shot :)
Comment 2 SpanKY gentoo-dev 2004-11-09 21:33:47 UTC
use /etc/portage/profile/package.provided ... see `man 5 portage` for more info
Comment 3 Jason Stubbs (RETIRED) gentoo-dev 2004-11-10 03:36:23 UTC
Make that package.mask, as the intention of package.provided is to allow users to manage certain pieces of software *at all*. Seeing you have kdebase-3.3.0-r1 installed by portage and you want to prevent it from upgrading, all you need to do is "mask" the upgrade. You don't want to lie to portage by telling it's "provided" already.
Comment 4 Jason Stubbs (RETIRED) gentoo-dev 2004-11-10 03:37:14 UTC
... certain pieces of software <insert>without using portage</insert> *at all* ...