Article View: linux.gentoo.user
Article #177[gentoo-user] [PATCH] man: advise -1 when advising to update portage itself on failure
From: Eli Schwartz
Date: Tue, 17 Nov 2026 14:30
Date: Tue, 17 Nov 2026 14:30
41 lines
3566 bytes
3566 bytes
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
Technical Details
Message-ID:
<O0sm5-cta7-3@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:
<O0rT3-csRp-7@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: Eli Schwartz <eschwartz@gentoo.org> Newsgroups: linux.gentoo.user Subject: [gentoo-user] [PATCH] man: advise -1 when advising to update portage itself on failure Date: Tue, 17 Nov 2026 15:30:01 +0100 Message-ID: <O0sm5-cta7-3@gated-at.bofh.it> References: <O0rT3-csRp-7@gated-at.bofh.it> X-Mailer: git-send-email 2.56.1 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-Developer-Signature: v=1; a=openpgp-sha256; l=1845; i=eschwartz@gentoo.org; h=from:subject; bh=vid4QWih4opGFUb1oPNrUlSz8ub1ezLHGoIA27gRwDQ=; b=owGbwMvMwCXWsvyidgGvfjjjabUkhqw/Kbl64Xn8tqfaLsiU3E/dI+ZyWYfrrDD77k8T53CJ6 4l909bq+MjCIMbFMFNMkeW5yM1n2i7nUyqvz66CmcPKBDJEWqSBAQhYGPhyE/NKjXSM9Ey1DfUM gQwdo3iInB6DRmZxcWlqkW5aQZFDXn5JYklmfl6xXn5Bal5BeoFeWmZaSUZGflFxKtAIvbzUEld zQxMXS1czIycTE2c3MxNzSxdzSydzRwsTR3MXQyMncwMDFyM3U3MGLk4BmGuuH2P4K1uT5vE+UP XCFAa7L0ozKiJf35MpPJT2biP3jXpRJoaZSxj+57RGb5d5V5/3qE8hcLXwxSdKgo/Er69XLfZWY G3Z3PSODQA= X-Developer-Key: i=eschwartz@gentoo.org; a=openpgp; fpr=EF51D308B1CE230888BE0D84EA423E93A16343F1 Content-Transfer-Encoding: 8bit Approved: robomod@news.nic.it Lines: 41 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: "D. Ben Knoble" <ben.knoble@gmail.com> X-Original-Date: Tue, 17 Nov 2026 09:25:31 -0500 X-Original-Message-ID: <20261117142757.3843970-2-eschwartz@gentoo.org> X-Original-References: <CALnO6CAqpQNi6og0CpC+N6T5VKMtxaMjqUxk5LFCj20KiYbkVg@mail.gmail.com>