Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 346281 - Switches to modify emerge behavior during update/mergers
Summary: Switches to modify emerge behavior during update/mergers
Status: CONFIRMED
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: 300071
  Show dependency tree
 
Reported: 2010-11-21 09:50 UTC by dE
Modified: 2011-02-09 20:54 UTC (History)
1 user (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 dE 2010-11-21 09:50:04 UTC
The latest portage automatically unmerges blocks and adds new packages to satisfies dependencies during updates.

There should be 2 switches, --update-upgradeable and --update-no-unmerge which will be to {avoid updating of packages which will merge new packages} and {packages which will unmerge other packages on upgrading} respectively.

Keep a note on build time dependencies (which should not be counted) using --update-upgradeable.

Reproducible: Always

Steps to Reproduce:
Comment 1 Sebastian Luther (few) 2011-01-31 21:40:53 UTC
(In reply to comment #0)
> There should be 2 switches, --update-upgradeable and --update-no-unmerge which
> will be to {avoid updating of packages which will merge new packages} and
> {packages which will unmerge other packages on upgrading} respectively.
> 

What's the use case?

Comment 2 dE 2011-02-01 03:27:13 UTC
Actually these features are present in aptitude (from Debian). I remember using it for production purpose, to avoid problems to the end user while doing a 'full upgrade'.

In Gentoo, --update-upgradeable should avoid a major blocks and --update-no-unmerge will avoid removal of packages that the user needs, or to avoid a change of backends.
Comment 3 Zac Medico gentoo-dev 2011-02-01 03:42:38 UTC
Those are some pretty advanced features. We may have to re-write the dependency resolver from scratch.
Comment 4 dE 2011-02-01 03:46:47 UTC
Well, now it's your choice... you are the devs.

You may set this for low priority, since the amount of work it needs != the amount of advantage you get.

However, this can provide advantage in server systems to provide a 'safe-upgrade'