-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Bug in brew remove
?
#1138
Comments
Yeah I can reproduce, it tries to uninstall whatever keg that comes first alphabetically, and fails. |
Fix in #1139. |
zmwangx
added a commit
to zmwangx/brew
that referenced
this issue
Sep 25, 2016
Thanks! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This isn't a case of normal usage, but:
brew remove ""
results in:There's nothing special about
autoconf
; testing reveals that whatever formula is the alphabetically earliest that's installed will be the one that appears in the message.This kind of thing is probably supposed to be blocked by line 13 of
uninstall.rb
, but the KegUnspecifiedError isn't getting raised AFAICT. I suspect that thenamed
method insufficiently strict to use as the guard here.The text was updated successfully, but these errors were encountered: