Article View: linux.gentoo.user
Article #155Re: [gentoo-user] Updating portage
From: Michael Orlitzky
Date: Sun, 15 Nov 2026 11:50
Date: Sun, 15 Nov 2026 11:50
48 lines
3786 bytes
3786 bytes
On 2026-11-14 23:02:40, Eli Schwartz wrote: > That ticket's arguments are less than perfectly compelling. :) I've come to terms with the fact that there are two valid opinions on this, even if one of them is clearly wrong and the people who hold it are lunatics :P > > The problem is that many users are essentially /born/ thinking that -- > > update should not add packages to world > > without a good idea of why people should ever think that in the first > place -- assuming the only documentation they've read never said that it > implies -1, and they've only used portage since 2008 or later, or so, > and never saw any other behavior. Additionally Zac's argument about > "pure" options, is easy to fit into people's heads -- it was my > assumption before I read the manpage. It's not about the historical behavior of portage, but a different take on the orthogonal options thing. Update should only update. Update doing add-to-world AND update is the surprise. A plain "emerge" will also do an update, and adds things to the world file, so all you ever need is, * emerge <flags> * emerge -u1 <flags> Given that, why do I have to add -1 every time? As Zac (and now Dale) have pointed out, you can fix this in your EMERGE_DEFAULT_OPTS, but you shouldn't have to. > Workflow-violating regressions require a rather high bar to be > implemented. You ideally have to argue that the previous behavior was SO > bad that the benefits of changing it outweigh the drawbacks to a > significant enough extent that people who are bothered by the change > will be effectively swayed / rendered impotent by "we unfortunately had > no choice and you are wrong to have the feelings that you have". Back in 2012, this could still be considered a regression from when it was fixed the first time. Given the choice between the two ways it can bite you, I think ending up with mystery packages in @world is the worse of the two failure modes. I admitted defeat long ago however. I now run a custom profile in an overlay: every package, and every user/group, on every machine, is accounted for. Pretty much anything in @world means I forgot the -1 at some point.
Technical Details
Message-ID:
<NZGU9-c1Wg-9@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NYOh3-bx6D-3@gated-at.bofh.it> <NZbwZ-bKu6-3@gated-at.bofh.it> <NZct3-bL4N-1@gated-at.bofh.it> <NZfTX-bMW9-1@gated-at.bofh.it> <NZw8p-bW3A-1@gated-at.bofh.it> <NZxe9-bWAQ-3@gated-at.bofh.it> <NZxxv-bWHW-1@gated-at.bofh.it> <NZxQR-bWXS-5@gated-at.bofh.it> <NZzIZ-bY5C-1@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Michael Orlitzky <mjo@gentoo.org> Newsgroups: linux.gentoo.user Subject: Re: [gentoo-user] Updating portage Date: Sun, 15 Nov 2026 12:50:01 +0100 Message-ID: <NZGU9-c1Wg-9@gated-at.bofh.it> References: <NYOh3-bx6D-3@gated-at.bofh.it> <NZbwZ-bKu6-3@gated-at.bofh.it> <NZct3-bL4N-1@gated-at.bofh.it> <NZfTX-bMW9-1@gated-at.bofh.it> <NZw8p-bW3A-1@gated-at.bofh.it> <NZxe9-bWAQ-3@gated-at.bofh.it> <NZxxv-bWHW-1@gated-at.bofh.it> <NZxQR-bWXS-5@gated-at.bofh.it> <NZzIZ-bY5C-1@gated-at.bofh.it> X-Original-To: gentoo-user@lists.gentoo.org 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 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Approved: robomod@news.nic.it Lines: 48 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Sun, 15 Nov 2026 06:48:27 -0500 X-Original-Message-ID: <avmcCzqXUYivNgpv@mertle> X-Original-References: <1c9ec85d-fdf8-46ab-946e-1d2b309e5a0f@oldfart.online> <87ld6wcg45.fsf@gmail.com> <87y0aw5cia.fsf@gentoo.org> <87cxs7di1k.fsf@gmail.com> <d63a44c7-8950-41ff-895e-bb80fbf5e83d@gentoo.org> <87v75yc2jf.fsf@gmail.com> <54af7fc3-344c-473b-b7ed-8e7c34184f48@gentoo.org> <avkSAphjmqQZ5BVe@mertle> <85efae59-4228-4855-b158-d96f81398bf5@gentoo.org>