From Gentoo Wiki
Jump to:navigation Jump to:search
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using ~~~~:
== Discussion title ==

{{Talk|date = 2024-05-13}}

A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC)
: A reply [[User:Sally|Sally]] 18:08, 27 May 2024 (UTC)
:: Your reply ~~~~

What does --update do?

Talk status
This discussion is still ongoing.

I looked at Handbook:AMD64/Working/Portage#Updating_the_system, this page, Upgrading Gentoo and emerge(1), but only the man page has an explanation:

Updates packages to the best version available, which may not always be the highest version number due to masking for testing and development. Package atoms specified on the command line are greedy, meaning that unspecific atoms may match multiple versions of slotted packages. This option also implies the --selective option.

But sometimes packages update even when this option isn't supplied. For example:

 * An update to portage is available. It is _highly_ recommended
 * that you update portage now, before any other packages are updated.

 * To update portage, run 'emerge --oneshot sys-apps/portage' now.

Waldo Lemmer 09:52, 4 May 2024 (UTC)