Open fxcoudert opened 2 weeks ago
brew upgrade -s specificformula
does work as expected
brew upgrade -s specificformula
does work as expected
Yea, I think this is the only intended usage for brew upgrade -s
. We should probably error out if we're called as just brew upgrade -s
.
This is expected behaviour. It may be that the feature request here is that brew upgrade -s
should error-out, though.
I can do brew upgrade -s $(brew ls)
and upgrade all formulas at once. Why wouldn't brew upgrade -s
do that, the same as brew upgrade
does (but from source)?
Why wouldn't
brew upgrade -s
do that, the same asbrew upgrade
does (but from source)?
Same reason brew upgrade -s <foo>
doesn't upgrade foo
's dependencies: because building from source is essentially a developer-only behaviour that we don't want people using en-masse.
Same reason
brew upgrade -s <foo>
doesn't upgradefoo
's dependencies
brew upgrade -s <foo>
will upgrade foo
's dependencies; it just won't build them from source (if a bottle is available).
Sorry, yes, I meant but didn't say that so thanks for clarifying @carlocab 😅
brew doctor
outputVerification
brew doctor
output" above saysYour system is ready to brew.
and am still able to reproduce my issue.brew update
twice and am still able to reproduce my issue.brew install wget
. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.brew config
outputWhat were you trying to do (and why)?
I am testing builds from source, with
brew install -s
. Some formulas built a couple of days ago need updating, and I wanted to usebrew upgrade -s
(as documented) to upgrade all formulas by building from source.What happened (include all command output)?
What did you expect to happen?
Should have built the formulas upgrade from source, not downloaded the bottles.
Step-by-step reproduction instructions (by running
brew
commands)