🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #150

Re: [gentoo-user] Updating portage

#150
From: Darren Kirby
Date: Sun, 15 Nov 2026 02:10
92 lines
5316 bytes
--nextPartUuBzVeRtS3an79tuf92bTA
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="utf-8"; protected-headers="v1"
From: Darren Kirby <darren@dragonbyte.ca>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Updating portage
Date: Sat, 14 Nov 2026 18:59:02 -0700
Message-ID: <PbsXOPMpQfqPFVj2dx_diA@dragonbyte.ca>
In-Reply-To: <874ididi4j.fsf@gmail.com>
MIME-Version: 1.0

On Saturday, 14 November 2026 17:59:40 MST Alexis wrote:
> Darren Kirby <darren@dragonbyte.ca> writes:
> > On Friday, 13 November 2026 23:49:11 MST Alexis wrote:
> >> Sam James <sam@gentoo.org> writes:
> >> > Users don't need to add it into their world file and it's
> >> > part
> >> > of the
> >> > message Portage emits.
> >> 
> >> i get that it doesn't need to be added to the @world set; i've
> >> never thought otherwise.
> >> 
> >> What i don't get is why this is the way to update
> >> sys-apps/portage, and why `-u` / `--update` shouldn't be used.
> >> 
> >> 
> >> Alexis.
> > 
> > I suspect it's because they want you to update portage before
> > you do the rest
> > of the world update, so the world update uses the new portage...
> 
> That's fine. My question is not "Why is sys-apps/portage updated
> independently of other packages?"
> 
> My core question, as i keep asking, is why `-u` / `--update` isn't
> to be used in this particular context.

We've established that sys-apps/portage does not want to be in world. portage 
will add any package explicitly named on the CLI to the world file in the 
absence of the --oneshot flag. So if you just use -u, sys-apps/portage will be 
placed in @world, and already exists in @system. It's not fatal, and certainly 
it's reversible, but it is duplicated, and breaks the semantic separation 
between the two package sets. 

> Because that's what i use when i'm updating a single package or a
> number of packages. And i'm wondering if that's wrong, and if so
> _why_ it's wrong, to improve my understanding of how Portage
> works. 

Updating portage is the special case here. That's it. This does not apply to 
other packages (presuming you are fine with them in @world).  

> Some people might be fine with blindly copy-and-pasting
> stuff without actually understanding what it's doing, but i'm not
> one of them, and i like to think that's reflected amongst my 2000+
> edits to the Gentoo wiki. (As just one example: my edit of the
> "ALSA" page to explain what the `.!` syntax means and does.)
> 
> i'm not sure how i can make my question any clearer. How about
> this: i assume there is some good reason why users shouldn't do:
> 
> # emerge -u sys-apps/portage
> 
> ?
> 
> 
> Alexis.


--nextPartUuBzVeRtS3an79tuf92bTA
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----

iQHPBAABCAA5FiEE1402jAdqhwYiTHMAIEFTe6YbkTsFAmr5EeYbFIAAAAAABAAO
bWFudTIsMi41KzEuMTIsMiwyAAoJECBBU3umG5E7cfoL/0Uqo0JykxQIkc9oJ4xV
MjuCqk3sLyKIHySW4gRpweXrfrJLGsM7/phS0ZVhzAMrJZSlku/8ldeJoAAk/GBS
74eB3+yQgU6Hp66EQptbxgXaXvFM8FxoV0xJXN/HC/M8PIgdMNCZ5JODEZY4ScYj
k1wVri5BXchwzx2LqdG1x4SvsbWqExvuCurxMaSl22KZ+IKJX17FY9ghG2NRi3tc
L1fyfIYfWHrMgrrCpVKY8z/i20AvAozgZcTEWR2roZ7GEGm8d9UEINa/8WmJICDM
fnw+y84NvvugWdJNcAjPzDWECcgwRLiJ+4ouJuRbQoizZdqN3kW0JbmmEPxqxnrl
QBausWHjvFp8/JGQfooA6WBd47dduPANM1HOFUgXPS+P9uNhFm3xe4/HA3IcS8ji
HndpXL4k0MMrirgmn4bvIJNEH3hLMXQcskCpHyYo2arygbqLs1ty6qVefwSUXY/6
2e7mC7siz7wx0x9wLNXoQS59xfRgY/NC8Qt1pzeUwwozLQ==
=KK9Z
-----END PGP SIGNATURE-----

--nextPartUuBzVeRtS3an79tuf92bTA--
Technical Details
Message-ID: <NZxQR-bWXS-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NZxQR-bWXS-3@gated-at.bofh.it> <NYOh3-bx6D-3@gated-at.bofh.it> <NZvYJ-bW04-1@gated-at.bofh.it> <NZwUN-bWtS-3@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Darren Kirby <darren@dragonbyte.ca>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] Updating portage
Date: Sun, 15 Nov 2026 03:10:01 +0100
Message-ID: <NZxQR-bWXS-1@gated-at.bofh.it>
References: <NZxQR-bWXS-3@gated-at.bofh.it> <NYOh3-bx6D-3@gated-at.bofh.it> <NZvYJ-bW04-1@gated-at.bofh.it> <NZwUN-bWtS-3@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: multipart/signed; boundary="nextPartUuBzVeRtS3an79tuf92bTA";
 micalg="pgp-sha256"; protocol="application/pgp-signature"
X-Fe-Attachment-Name: signature.asc
X-Feas-Bec-Info: WlpIGw0aAQkEARIJHAEHBlJSCRoLAAEeDUhZUEhYSFhIWUhZXkguLT4lWFpYWFhYWlhZW1hQSFpYSAwJGhoNBigMGgkPBwYKERwNRgsJSFhIWlBIDw0GHAcHRR0bDRooBAEbHBtGDw0GHAcHRgcaD0hYSFpIWVtIX11GWV1fRlpYUUZfWEhQSFhIWEhZSFhIWEhYSFpQSA8NBhwHB0UdGw0aKAQBGxwbRg8NBhwHB0YHGg9IWA==
X-Feas-Client-IP: 10.9.9.182
X-Fe-Last-Public-Client-IP: 75.157.209.70
X-Fe-Policy-ID: 1:3:0:SYSTEM
Approved: robomod@news.nic.it
Lines: 92
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sat, 14 Nov 2026 18:59:02 -0700
X-Original-Message-ID: <PbsXOPMpQfqPFVj2dx_diA@dragonbyte.ca>
X-Original-References: 
 <1c9ec85d-fdf8-46ab-946e-1d2b309e5a0f@oldfart.online>
 <OJFt-LFYShiX7p0CVO6pXg@dragonbyte.ca> <874ididi4j.fsf@gmail.com>