🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.gentoo.user
Article #162

Re: [gentoo-user] Updating portage

#162
From: Eli Schwartz
Date: Sun, 15 Nov 2026 17:20
95 lines
5643 bytes
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--------------JuHuLgtGprn7RnGMx0NnyaWW
Content-Type: multipart/mixed; boundary="------------1msxdlWD1NY6POihLBeovqOK";
 protected-headers="v1"; hp="clear"
Message-ID: <91a47cd3-fbf2-42de-8246-2ec42cb38ad0@gentoo.org>
Date: Sun, 15 Nov 2026 12:11:13 -0500
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: [gentoo-user] Updating portage
To: gentoo-user@lists.gentoo.org
References: <54af7fc3-344c-473b-b7ed-8e7c34184f48@gentoo.org>
 <3DD0E94B-F372-4747-BD54-4E12F3130590@gmail.com>
Content-Language: en-US
From: Eli Schwartz <eschwartz@gentoo.org>
Autocrypt: addr=eschwartz@gentoo.org; keydata=
 xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN
 I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4CGwMFCwkIBwMF
 FQoJCAsFFgIDAQACHgUCF4AWIQTvUdMIsc4jCIi+DYTqQj6ToWND8QUCauABDQUJCJCIWQAK
 CRDqQj6ToWND8bXlAQDhi6hUxiss56cdPbsemrWdVQe3CtkpqlQccxV/4a4/QgD/dUCR+SGn
 YxNZj6lir6i/TBr0yfSSrMtKgGO1+lClSwLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b
 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYCGwwWIQTvUdMIsc4jCIi+
 DYTqQj6ToWND8QUCauABGAUJCJCIZAAKCRDqQj6ToWND8c4xAQCWj7iWpgEJUM+wf2bZCkgM
 EKEVVdv5aBJrj6Xa22UhIQEA0bIv2t9jUqUeBMHl/6i0L28s5Mrtr0ZSX3Sg/zeyrAM=
X-Clacks-Overhead: GNU Terry Pratchett
In-Reply-To: <3DD0E94B-F372-4747-BD54-4E12F3130590@gmail.com>

--------------1msxdlWD1NY6POihLBeovqOK
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 11/15/26 8:29 AM, Ben Knoble wrote:

> Let me see if I follow.
>=20
> * the default emerge behavior, given the portage atom,
> is to reinstall, updating if available, and record in world.
>=20
>> --selective does not reinstall the package if it is already installed.=

>> So what is the purpose of --update then, if --selective stops it from
>> doing anything? Answer: --update does nothing other than *disable* the=

>> --selective, if and only if the package status was "upgrade/downgrade"=

>> rather than "reinstall"
>=20
> * By adding the update flag, we instruct emerge to carry out=20
> said behavior only if an upgrade is actually available. In this case,=20
> we know one is, so we don=E2=80=99t need emerge to spend time filtering=
=2E


The act of filtering the depgraph probably doesn't take the time here,
it is the time spent compiling what's already installed. :P


> (And of course we don=E2=80=99t usually want to record portage in world=
=2E)
>=20
> If I=E2=80=99ve got all that right, then I understand why the emerge ma=
nual
> 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.


--=20
Eli Schwartz

--------------1msxdlWD1NY6POihLBeovqOK--

--------------JuHuLgtGprn7RnGMx0NnyaWW
Content-Type: application/pgp-signature; name="OpenPGP_signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="OpenPGP_signature.asc"

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

wnsEABYIACMWIQTnFNnmK0TPZHnXm3qEp9ErcA0vVwUCavnnsQUDAAAAAAAKCRCEp9ErcA0vV6Bu
AQDzP+RNdoyYddcEiR2D/Hh95Kt1OxBChqUz6NXj9fWpLAD/fCr1zzcdf5+l1CAjYZYL8Cf98kV3
AsU79sVvWGXINAA=
=qNT+
-----END PGP SIGNATURE-----

--------------JuHuLgtGprn7RnGMx0NnyaWW--
Technical Details
Message-ID: <NZM3v-c50z-11@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
References: <NZxxv-bWHW-1@gated-at.bofh.it> <NZICC-c2ZC-21@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Eli Schwartz <eschwartz@gentoo.org>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] Updating portage
Date: Sun, 15 Nov 2026 18:20:01 +0100
Message-ID: <NZM3v-c50z-11@gated-at.bofh.it>
References: <NZxxv-bWHW-1@gated-at.bofh.it> <NZICC-c2ZC-21@gated-at.bofh.it>
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
User-Agent: Mozilla Thunderbird
Content-Language: en-US
Autocrypt: addr=eschwartz@gentoo.org; keydata=
 xjMEZmeRNBYJKwYBBAHaRw8BAQdAYNZ7pUDWhx1i2f3p6L2ZLu4FcY18UoeGC04Gq/khqwfN
 I0VsaSBTY2h3YXJ0eiA8ZXNjaHdhcnR6QGdlbnRvby5vcmc+wpYEExYKAD4CGwMFCwkIBwMF
 FQoJCAsFFgIDAQACHgUCF4AWIQTvUdMIsc4jCIi+DYTqQj6ToWND8QUCauABDQUJCJCIWQAK
 CRDqQj6ToWND8bXlAQDhi6hUxiss56cdPbsemrWdVQe3CtkpqlQccxV/4a4/QgD/dUCR+SGn
 YxNZj6lir6i/TBr0yfSSrMtKgGO1+lClSwLOOARmZ5E0EgorBgEEAZdVAQUBAQdATT46Z06b
 1X9xjXFCYFxmq/Tj3tSEKZInDWTpoHQp4l8DAQgHwn4EGBYKACYCGwwWIQTvUdMIsc4jCIi+
 DYTqQj6ToWND8QUCauABGAUJCJCIZAAKCRDqQj6ToWND8c4xAQCWj7iWpgEJUM+wf2bZCkgM
 EKEVVdv5aBJrj6Xa22UhIQEA0bIv2t9jUqUeBMHl/6i0L28s5Mrtr0ZSX3Sg/zeyrAM=
X-Clacks-Overhead: GNU Terry Pratchett
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="------------JuHuLgtGprn7RnGMx0NnyaWW"
Approved: robomod@news.nic.it
Lines: 95
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 15 Nov 2026 12:11:13 -0500
X-Original-Message-ID: <91a47cd3-fbf2-42de-8246-2ec42cb38ad0@gentoo.org>
X-Original-References: <54af7fc3-344c-473b-b7ed-8e7c34184f48@gentoo.org>
 <3DD0E94B-F372-4747-BD54-4E12F3130590@gmail.com>