Article View: linux.gentoo.user
Article #176Re: [gentoo-user] Updating portage
From: D. Ben Knoble
Date: Tue, 17 Nov 2026 14:00
Date: Tue, 17 Nov 2026 14:00
61 lines
5811 bytes
5811 bytes
Hi Eli,
On Sun, Nov 15, 2026 at 12:11 PM Eli Schwartz <eschwartz@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
Technical Details
Message-ID:
<O0rT3-csRp-7@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomodReferences:
<NZxxv-bWHW-1@gated-at.bofh.it> <NZICC-c2ZC-21@gated-at.bofh.it> <NZM3v-c50z-11@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: "D. Ben Knoble" <ben.knoble@gmail.com>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] Updating portage
Date: Tue, 17 Nov 2026 15:00:01 +0100
Message-ID: <O0rT3-csRp-7@gated-at.bofh.it>
References: <NZxxv-bWHW-1@gated-at.bofh.it> <NZICC-c2ZC-21@gated-at.bofh.it> <NZM3v-c50z-11@gated-at.bofh.it>
X-Original-To: gentoo-user@lists.gentoo.org
Arc-Seal: i=1; a=rsa-sha256; t=1794923882; cv=none;
d=google.com; s=arc-20260327;
b=OSGvoI29PBZ4LaJBt6ALe6kOc4lsQoTRFSueVKy6RYzHwFk2UKRI23QGHtuqVl9a55
IopzTUwDLqZxHsW2P2W32GEaEWbPAjyvAqy1unIDoD/pNSuZrCpc4fnh6F+QtLeZ3Cv7
QchHxBMzAlflWTkPvyi4deMvlwbytaugEvcTiMwRK1iv5D/U7U3vT/moArcV68PXD0BO
KoKCusgr08TQyx5pDQT7Yt77+Tq+CBFk3fx1oYTpMtmADSNwVuCTDdm342l+aaCrAHRb
QKA9gGc4DGsVMZaX91KrgHKnCwupM8xAvsiebdX60ZU9LcKE+RumHBKVpPETwg1kPC6K
WAHg==
Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=vecVJv9noe/flA1F2dzbCHvc8h/VApTKmtXJzfExbdY=;
fh=P1IghBbxUAMCUd3f7QO2c93v/L4eID3RMmw94g0DPvY=;
b=NU0sJ16xHfKziTkg8l8Qn0nctRUFrx9dKELyXVjrY5w7bbQNHc9NXyrUo+Z6zGIpLi
8A4PlZemDPGQBf8FvV5IxKm+DGESzDtG6GQTzO3xcMiCxennGCXHK8mXt17UURbzZX+h
PCsB8Chpg27lJ38iwjgZzki/8slQ/eX64881ulHFODMNK9ux9z8UHSHej7NZKjLAVb0Q
jS+bMyVi2Tpw32KhyORqAH8jCpc+/m4Gs+Y7JGOUEyUG2yB28IjBzqApVMLw7gAzCNdW
ZW6ZNlwl7jqJ4IPz/8/+EkA5IWxj0TUK+6n1OXDgXPUBSVF+1U3XIhPqzS8spD1wOfZx
Mvbg==;
darn=lists.gentoo.org
Arc-Authentication-Results: i=1; mx.google.com; arc=none
X-Gm-Message-State: APuU4Z/hm6UTbfaBAUpZQeCG/rU1gVwiQJ5/+Wjjq8H0DleCqCrImWan
jtCczrf907hJ0W+BLkk6qfDI/b37Hr/a2uutWtKP1FpvAlzTZm0tkNWbHwlWX8Jr4W8A7Ut18xG
CFtHJ3NCIsEbCB2vVmKxpZ8g05/x7XcbOuySP
X-Gm-Gg: AZFdTZf+G3xolPWsdY7BHu37ReuPND9UZV7XJLOroOgsyISc5HhIOWD4HTPYT+t6HiA
ppF2pvdCOSllf3O/IBPB9v57fEIJBA07EtkUyo2paT/R19rn27BplD5HDeQoM5j6dwEqpphOvV7
DGL07V1Dg9E1dG4pA147ayw8e50T8dyc7JC8sTVLZNqgTxXH++RUFaBBvUpS39C3FutEHkvSGdl
2dExF+deWu/0XtmYMF+5XnOUnJV+191kVDgx1AN6KmIjvyzaF0pJ7k90vaVvQvUm2+eF+3vfLfL
n1RSWAi4QEbAck5DbWR7gKxADXKjIvg0JmEYvRUqDPM0lqsaYySHJU0bejGg0CRHGn7E/H7orh/
wm/TBZ8h3ndp86pJJeeZ3Qbqo3ZSQtF3T5IPZAXiyoKl2lZEEoUA81nCprA0vStEg33LscCE26m
fBRBrffTNc5Fg3VhsVYFCMFAQeO6MJb12lkhElp+rZACUrxQ1WTqu6clfW7ovARszO
X-Received: by 2002:a17:90b:498f:b0:3b1:4018:bfdd with SMTP id
98e67ed59e1d1-3b1b07e8596mr10944160a91.7.1794923882372; Tue, 17 Nov 2026
05:58:02 -0800 (PST)
List-ID: Gentoo Linux mail <gentoo-user.gentoo.org>
Reply-To: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
X-Gm-Features: AclHuK9UuVI-MncehWD_Zon3pEiLl_rJrbPMnZtv7IBUwtVuh1PPslD1NHdnUDc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Approved: robomod@news.nic.it
Lines: 61
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Tue, 17 Nov 2026 08:57:51 -0500
X-Original-Message-ID: <CALnO6CAqpQNi6og0CpC+N6T5VKMtxaMjqUxk5LFCj20KiYbkVg@mail.gmail.com>
X-Original-References: <54af7fc3-344c-473b-b7ed-8e7c34184f48@gentoo.org>
<3DD0E94B-F372-4747-BD54-4E12F3130590@gmail.com> <91a47cd3-fbf2-42de-8246-2ec42cb38ad0@gentoo.org>