On 11/15/26 8:29 AM, Ben Knoble wrote:
> Let me see if I follow.
>
> * the default emerge behavior, given the portage atom,
> is to reinstall, updating if available, and record in world.
>
>> --selective does not reinstall the package if it is already installed.
>> So what is the purpose of --update then, if --selective stops it from
>> doing anything? Answer: --update does nothing other than *disable* the
>> --selective, if and only if the package status was "upgrade/downgrade"
>> rather than "reinstall"
>
> * By adding the update flag, we instruct emerge to carry out
> said behavior only if an upgrade is actually available. In this case,
> we know one is, so we don’t need emerge to spend time filtering.
The act of filtering the depgraph probably doesn't take the time here,
it is the time spent compiling what's already installed. :P
> (And of course we don’t usually want to record portage in world.)
>
> If I’ve got all that right, then I understand why the emerge manual
> advises -u on portage when an emerge breaks on newer, not yet available
> features: we want to update iff one is available. But it seems we
> are missing -1 there!
I don't understand the question(s). Can we back up for a second?
You want to know more and better understand why the emerge manual
advises -u on portage, and why it is missing -1. Can you please start
off by pointing to where in the manual it does in fact say any such
thing? We can proceed from there once we are all on the same page about
what we are discussing.
--
Eli Schwartz