Article View: linux.gentoo.user
Article #149Re: [gentoo-user] Updating portage
From: Alexis
Date: Sun, 15 Nov 2026 02:00
Date: Sun, 15 Nov 2026 02:00
48 lines
3933 bytes
3933 bytes
Eli Schwartz <eschwartz@gentoo.org> writes:
> --update does not imply --oneshot, and --oneshot is
> independently
> necessary to prevent recording in the world file.
>
> --update says to install any updated versions ("downloading"
> does not
> make sense, since all ebuilds are already downloaded and
> fetching
> SRC_URI without installing would be controlled by --fetchonly
> instead).
> Of course, the default is to reinstall the package at its "best
> version"
> regardless, so, the critical point is not that --update installs
> the
> "best version", but rather that --update **implies
> --selective**.
>
> --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"
>
> --selective has several different filter/modifier options that
> exist
> solely to limit the effects of --selective. Not just --update,
> but also
> --newuse, --changed-use, --changed-deps...
>
> One might ask, why the manpage doesn't do more to highlight the
> fact
> that the option is actually a filter for --selective. Answer: I
> don't
> know. :)
Thanks Eli: at a first skim, i think this might help me 'get
it'. i'll take some time to read it carefully, and come back if i
have any clarifying questions.
Alexis.
Technical Details
Message-ID:
<NZxHb-bWLB-1@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!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>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-lon.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod
From: Alexis <flexibeast@gmail.com>
Newsgroups: linux.gentoo.user
Subject: Re: [gentoo-user] Updating portage
Date: Sun, 15 Nov 2026 03:00:01 +0100
Message-ID: <NZxHb-bWLB-1@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>
X-Original-To: gentoo-user@lists.gentoo.org
X-Gm-Message-State: APuU4Z+HhECo+A+PoJGjc5UEgSiztcM296r817RfvcOPAvxeOc2zVgcV
WXd2ElyDarm7pVTDbByC76fsWiVUGdQdiLViWJYtvo28Y0+K/Nt87vfAt4M9KRFu
X-Gm-Gg: AYBFou0wvyMX5Hxijh+O/Tonr7mtT7x9wil5BW59hVgJpc18exVOxIFFxX8zuZauyGU
3/tAL+/MN7Oa1yw8Km8eF16y1U5ID3dHnf2ftnkog/2j1VMGvK44XK73p4K9sK/yq6WYe3Kf5ab
Chr5fXjAQ1VvT3cYiPyE1jMlYSbgRdenr5vlG1YJ+PkzkRh9H2j1pA42kCejbALQ1SvGQzypI4a
hKYau7vJKjbdcN/0Q6uBQGcdX8XHLOBp3zzAaKiNrnQwcWDiaWj0NCrgu6Ps6P634gqFpsCVfCt
0bSQnzwOYJGBR6fA6EZpycMcBhUn/8a9BPOc23fe1eBS0NNjz5XZV1fWLmcteUh/sMd3UnifVYI
FX2t3scpxwbmGlKuQ9yD7//CAyPTV2aj98vBR7IFt5CbrrhQR4Yqdf2HRrKZF/PqIVyu0eWNnAK
v/osyiIulCGBU8WwcGPblE0xIiaqSpsYvD3qekmzaaTwHUxc4k7k/Sb/CaysyU/6V60nwYnBcky
lMk3fA1Z+u7h+TtsPGGyR82qw1kWOtcukskJLVuYbQ2AvKGmOQKur7OnvEcMZALWGIlmJPlWJoG
z/tBGjqpBOJt89XUB6U5szi6SSKW
X-Received: by 2002:a05:7022:b054:20b0:1b3:b6d3:b91c with SMTP id a92af1059eb24-1b50314c8b1mr7386719c88.7.1794707744168;
Sat, 14 Nov 2026 17:55:44 -0800 (PST)
User-Agent: mu4e 1.14.4; emacs 31.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
Content-Type: text/plain; format=flowed
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 12:55:40 +1100
X-Original-Message-ID: <87h5hic0yr.fsf@gmail.com>
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>