Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33766 - remerge
Summary: remerge
Status: RESOLVED DUPLICATE of bug 5075
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-18 09:50 UTC by crusaderky
Modified: 2011-10-30 22:35 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 crusaderky 2003-11-18 09:50:56 UTC
A tool called remerge would be quite useful.
syntax: 
remerge [options] packs

remerge would emerge the target packages, using exactly the same version of the already installed ones (even if masked or outdated).
The main option (but others may come) would be:

-F ["<flags list>"]
remerge only packets whose USE flags in the installed version differ from the ones specified in environment variables. If flags list is provided, process only the the specified flags.

This would be very handy to add a USE flag to already installed packages. At the moment, this can't be done without doing it manually or doint a _really_ big mess with "emerge -e world" and sed; the latter solution doesn't even work if you have any masked packages that need to be remerged with the new flag.

example:

remerge -F "ipv6 dvd alsa" world

all installed packages in which the USE flags for ipv6, dvd or alsa differ between the installed version and make.conf will be remerged, no matter if outdated or masked, using exactly the same version.
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-12-13 17:41:14 UTC

*** This bug has been marked as a duplicate of 5075 ***