-
-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dependency resolution disagreement between brew missing
& brew install --only-dependencies
#14121
Comments
This is confusing but is expected behaviour. If a formula is already installed, it can have additional detected dependencies that are not defined in the formula but are listed in the tab ( |
So the only way to proceed is just what it says: |
@jacktose |
It did, but not the way I thought. It didn't install
What's up with that? 😕 |
@jacktose it's fixing outdated dependency lists by recalculating the linkage. |
I don't understand in detail how
brew missing
orbrew install --only-dependencies
are supposed to work, but they can be made to apparently disagree.I saw this happen in normal usage and then replicated it on another machine with a supported config, as you see below.
brew config
outputbrew doctor
outputVerification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
Resolve errors from
brew doctor
andbrew missing
. Understand the situation before installing.What happened (include all command output)?
What did you expect to happen?
If [formula] is missing a dependency,
brew install --only-dependencies -n [formula]
should show the dependency (and not [formula]).brew install --only-dependencies [formula]
should install the dependency.Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: