From d90c34ef51a1b6fa23c8636275e2bda15f3215a2 Mon Sep 17 00:00:00 2001 From: Jonathan Chang Date: Wed, 25 Nov 2020 17:46:10 +1100 Subject: [PATCH] docs: explain why upgrade upgrades unrelated stuff --- docs/FAQ.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/FAQ.md b/docs/FAQ.md index a597de95d8..db89526138 100644 --- a/docs/FAQ.md +++ b/docs/FAQ.md @@ -45,6 +45,9 @@ 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 `. Be careful as this is a destructive operation. +## Why does `brew upgrade ` 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? brew --cache