When doing emerge -C1 someapp, portage unemrges someapp AND removed it from world. I think, it must 1) Say that --oneshot can not be used with --unmerge option; OR 2) Unmerge someapp and don't remove it from world. I prefer №2. Reproducible: Always Steps to Reproduce: 1. emerge x11-themes/smplayer-themes (or any other package if nothing else depends on it) 2. emerge --oneshot --unmerge --ask x11-themes/smplayer-themes 3. emerge --update world Actual Results: Nothing Expected Results: Emerging x11-themes/smplayer-themes Maybe it is bug, because in http://maple.rsvs.ulaval.ca/mediawiki/index.php/Portage_tips_and_tricks "emerge -C1" used for painless uninstalling the blocker package. Maybe it is not bug. Becouse... man portage: "--oneshot: Emerge as normal, but do not add the packages to the world file for later updating". If it is not bug, change status of this bug to enchancement, please.
Is there any reason portage should keep the package in worldfile and remove it from system? How would it handle situation while calculating dependencies afterwards and sees "hey, the package is installed, no need to pull it now"? wtf?
(In reply to comment #1) > Is there any reason portage should keep the package in worldfile and remove it > from system? How would it handle situation while calculating dependencies > afterwards and sees "hey, the package is installed, no need to pull it now"? > > wtf? > Try to add any not-installed package to your world file and running emerge -u world. It will emerge this package. It is useful at least in following situations: 1. Solving some blocks 2. Unmerging and mergin back many packages. For example, you can unmerge and then emerge kde and stuff after removing or adding kdeprefix use flag.
(In reply to comment #2) > (In reply to comment #1) > > Is there any reason portage should keep the package in worldfile and remove it > > from system? How would it handle situation while calculating dependencies > > afterwards and sees "hey, the package is installed, no need to pull it now"? > > > > wtf? > > > > Try to add any not-installed package to your world file and running emerge -u > world. It will emerge this package. > > It is useful at least in following situations: > 1. Solving some blocks > 2. Unmerging and mergin back many packages. For example, you can unmerge and > then emerge kde and stuff after removing or adding kdeprefix use flag. > And I think that it is regression. According to link i've published upper, emerge -C1 worked as expected in older versions of portage.
Rather than overload the meaning of --oneshot, I plan to solve this with a new --deselect option as described in bug #259994, comment #4.
(In reply to comment #4) > Rather than overload the meaning of --oneshot, I plan to solve this with a new > --deselect option as described in bug #259994, comment #4. This is in 2.2_rc31.
This is fixed in 2.1.6.12.