-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
brew upgrade can actually downgrade casks in some configurations #17427
Comments
Casks don't really track what tap they came from at the moment. I agree this should be fixed, though will likely require addressing #17013. |
At the very least would it be possible to actually compare the version number before happily downgrading an app? |
Casks also don't do semver comparisons. It's a simple not-equals comparison. |
Unfortunate, but ok. |
Yes, I think this should be good now! Note: you might need to reinstall any problematic casks as a one-time fix (simply |
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’m trying to upgrade a cask which has been release in two of the taps on my system and have different versions on the two taps.
What happened (include all command output)?
Note we can see the cask
happn-app/public/locmapper-app
is being upgraded but I initially installedfrizlab/perso/locmapper-app
.What did you expect to happen?
I expected the cask to stay at the same version.
Step-by-step reproduction instructions (by running
brew
commands)The text was updated successfully, but these errors were encountered: