Hi Eli,
On Sun, Nov 15, 2026 at 12:11 PM Eli Schwartz <esch…@gentoo.org> wrote:
>
> 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.
> > * 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
Ah, thanks for correcting my imprecision :)
> > (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.
Here's emerge(1) from "NOTES" (although the formatting looks a little
wonky to me, with "NOTES" indented under "OUTPUT" and it's first
paragraph indented further, but continuation paragraphs at the same
level as "NOTES"?):
If emerge --update @system or emerge --update @world fails with an error
message, it may be that an ebuild uses some newer feature not present in
this version of emerge. You can use emerge --update sys-apps/portage to
upgrade to the latest version, which should support any necessary new fea‐
tures.
I think I understand why "-u" on portage is suggested here: we *don't*
know if there's an update in this case. But, following the logic from
the prior discussion, shouldn't we also have "-1" ?
Thanks
--
D. Ben Knoble