Update FAQ.md

Note that both brew install and brew upgrade can upgrade seemingly unrelated formulae.
This commit is contained in:
Mike McQuaid 2021-10-09 09:53:56 +01:00 committed by GitHub
parent 68f011fd3b
commit be7512f71f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,7 +45,7 @@ When automatic `brew cleanup` is disabled, if you uninstall a formula, it will o
In this case, to remove a formula entirely, you may run `brew uninstall --force <formula>`. Be careful as this is a destructive operation.
## Why does `brew upgrade <formula>` also upgrade a bunch of other stuff?
## Why does `brew upgrade <formula>` or `brew install <formula>` also upgrade a bunch of other stuff?
Homebrew doesn't support arbitrary mixing and matching of formula versions, so everything a formula depends on, and everything that depends on it in turn, needs to be upgraded to the latest version as that's the only combination of formulae we test. As a consequence any given `upgrade` or `install` command can upgrade many other (seemingly unrelated) formulae, if something important like `python` or `openssl` also needed an upgrade.
## Where does stuff get downloaded?