Article View: linux.gentoo.user
Article #178[gentoo-user] Re: [PATCH] man: advise -1 when advising to update portage itself on failure
From: D. Ben Knoble
Date: Tue, 17 Nov 2026 14:50
Date: Tue, 17 Nov 2026 14:50
58 lines
5887 bytes
5887 bytes
Hi Eli, On Tue, Nov 17, 2026 at 9:28 AM Eli Schwartz <eschwartz@gentoo.org> wrote: > > The current advice is: > > > 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 > > features. > > It's an okay idea, it *might* help, though generally not since it is far > more likely that the ebuild itself has a bug or the source code is > incompatible with updated deps/compiler/etc. But that advice is > inconsistent with the message we print to the console on `emerge --sync`, > telling you to make sure that it is reinstalled with --oneshot. That is > important because we don't want to unnecessarily add portage to the > world file when it belongs in the system set instead. > > Reported-by: D. Ben Knoble <ben.knoble@gmail.com> > Signed-off-by: Eli Schwartz <eschwartz@gentoo.org> > --- > > Seems easily fixed, thanks for pointing this out. > > man/emerge.1 | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/man/emerge.1 b/man/emerge.1 > index c280bd94d..825d0c318 100644 > --- a/man/emerge.1 > +++ b/man/emerge.1 > @@ -1389,8 +1389,8 @@ permanent, you can put them in /etc/portage/package.use instead. > If \fBemerge \-\-update @system\fR or \fBemerge \-\-update @world\fR > fails with an error message, it may be that an ebuild uses some > newer feature not present in this version of \fBemerge\fR. You > -can use \fBemerge \-\-update sys-apps/portage\fR to upgrade to the latest > -version, which should support any necessary new features. > +can use \fBemerge \-\-oneshot \-\-update sys-apps/portage\fR to upgrade > +to the latest version, which should support any necessary new features. > .SH "MASKED PACKAGES" > \fINOTE: Please use caution when using development packages. Problems > and bugs resulting from misusing masked packages drains Gentoo > -- > 2.56.1 Looks good to me, thanks for the patch. While I'm at it, I wonder if the ".TP" line prior to the NOTES header is responsible for the formatting anomalies? https://gitweb.gentoo.org/proj/portage.git/tree/man/emerge.1#n1436 Best, -- D. Ben Knoble
Technical Details
Message-ID:
<O0sFr-cthF-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomodReferences:
<O0rT3-csRp-7@gated-at.bofh.it> <O0sm5-cta7-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!newsfeed.bofh.team!usenet.goja.nl.eu.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: "D. Ben Knoble" <ben.knoble@gmail.com>
Newsgroups: linux.gentoo.user
Subject: [gentoo-user] Re: [PATCH] man: advise -1 when advising to update portage itself on failure
Date: Tue, 17 Nov 2026 15:50:01 +0100
Message-ID: <O0sFr-cthF-3@gated-at.bofh.it>
References: <O0rT3-csRp-7@gated-at.bofh.it> <O0sm5-cta7-3@gated-at.bofh.it>
Arc-Seal: i=1; a=rsa-sha256; t=1794926691; cv=none;
d=google.com; s=arc-20260327;
b=OMGp1nr6J3wsxIDRqXmE0eaZHwOXJtz9K52mG/I8W5MYojAjpM3S9nToGgL5vUV04q
UiwUruOVEsraAXFi45v6S/lqWPEzyli3FHowfmJyWNl5/a2JWtgsaZik/J9LeNPROHt2
nx5Faike5WYUk2GUJ2Xj7hb+Ia7YVt7Za6iCxGiO/YHPBBpbk4NlN66IyHqYhV1uzRIm
UCHYTY5VLcAzti8bRhtzorekNOJxb1gdwWiXrGHh2+j+Wue+c80BvOOvl4aiPGINxhkZ
bZD+jtTEu6/4Iizzwa4Ejfi7UJGD7kcozG0OsWjKHG5K/KMw0fNs8CsPOTkgiX6jQGHH
wRtA==
Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327;
h=content-transfer-encoding:cc:to:subject:message-id:date:from
:in-reply-to:references:mime-version:dkim-signature;
bh=nFRA4OyJohMe+/0omCExKa4mIx6YySaNXL6Mk6RlO4g=;
fh=FbTb3DIwcW6nzLMLfwfIc8RFzI4B46sZbJxyOed6YHM=;
b=qyPk3RPwM6ddFroHSgGZe4mPufISHqSfLgCW+wn/+OD9kg25pF53zwGosKPfZZBwcp
WR8tdWo9019Dfg202wtm0SB8IIsr7LFXPWK4H89KbJ4A+EPbLlV4avOhW3fXegJ9nJy8
fcujODW3Y8YD572ovwEiMNFEc1s8MYk6Qua/AGgdvBIIDrAouiPLHlt3hQAM++4gjI9d
YHQzRK5nBruni9YWwfHE4ncMBJRhdm1DA7yVUh60KNqGX+16GYihUvfD5+ufvVwagNFY
wtf2QZkVSWZCNtQU/2YLVfeTEbZbdHho/38cAr6mWc4qjL1hgCWmP8EFh4pbB2nDljrc
rhJA==;
darn=lists.gentoo.org
Arc-Authentication-Results: i=1; mx.google.com; arc=none
X-Gm-Message-State: APuU4Z82r8LPwDT+weF1FIf1Ja5A6D1PlYSEz/eNTNtAGCePA/ErWiBS
UcDACxiPwjcDZadIHTtDgPeP1I7apf6yA0bQznvBMVLUjOpuwZ7DtjZ5Su4cOHFZ+zdmC8kuMD6
9iUfpTuwDQeN5SydAoGhiYPkohfarn2NIVGRR
X-Gm-Gg: AZFdTZcCyc0f2e5cFVlShGa3as03kJpjyqnLrxRxHprDrmEm/pWSfXEzuORZ7zRm151
YscuvHWr/E5Tbnpp8sDqOiIuV2RaVmDzEffCrySZ57nxZiUaFthgYzqD5QuPhPVgoFLpenzS92e
aM29QH3xfEaLofCkEDXGyLMCm2E3o3bygLqXPPh9x2fP2PggWpz7kaJ+GELQlXF1oyFY89LMnXo
SprkL3/HGZ6vt6or5BwIbk2l0xrBUOYF8V8Tavss8BLjWNCUKSUM6n/hwjODXUQBxBXr9uTKpIg
jJ5+sEkHyxfZuBxbjUN6h4G6l/rMLNvPlMJeM+fEBkLaZ8vnO9E/OQh9kQSW0vCq4XgUGTx7w1z
D4gQXIJ2l/qgQy3rIFVCwJ7nbZTekMt5JzVp93742Dv5rdvQl9eECdsxfSEVw5jcDvgWTncFZMl
oBMWITlXnTu+CvQsSS27lrkxaQreqgTyPxlZUx65Z4MBDLA1dJNwcFnrrEPPhXLr85
X-Received: by 2002:a17:90b:4f8b:b0:3ab:9f1a:3825 with SMTP id
98e67ed59e1d1-3b1b07ef9ccmr13155136a91.4.1794926691159; Tue, 17 Nov 2026
06:44:51 -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: AclHuK8QnOo4-qSLnOmqe4htihjiLyYYOzbC5CCHhUEMC8vp81j7b-vsyOBhDJo
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Approved: robomod@news.nic.it
Lines: 58
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: gentoo-user@lists.gentoo.org
X-Original-Date: Tue, 17 Nov 2026 09:44:39 -0500
X-Original-Message-ID: <CALnO6CDik=QLZh5g8CHpNNsBJ4SkmwJwD_oZnH9Kb3hkE+TxVw@mail.gmail.com>
X-Original-References: <CALnO6CAqpQNi6og0CpC+N6T5VKMtxaMjqUxk5LFCj20KiYbkVg@mail.gmail.com>
<20261117142757.3843970-2-eschwartz@gentoo.org>