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
Possible issue with outdated formulae #28
Comments
Interesting. I'll definitely take a look. Seems like it could be tricky to find the root cause though. Thanks for the report! |
I believe the issue is as you stated, with outdated dependencies. It seems as though when, in your example, |
And it looks like I have my very own test case. On my computer,
It should have also removed |
Ah, ok. Specifically the issue is with how we get the formula instance of what you want to remove. In my case, I have
|
Ok, I think I found a solution. Now when I try and remove
I'll publish the fix for this shortly. Thanks again for finding this and including all that helpful info @airdrummingfool |
Hello,
Thanks for this very useful tool! I usually think to prune my old formulae when they show up in
brew outdated
(i.e. when they need to be upgraded). I tried to rmtree an outdated version ofhighlight
, which depends onlua
(which I have an outdated version of as well), but rmtree failed to detect/removelua
:at this point,
highlight
was successfully uninstalled (thought it did give a warning saying it was "skipping" highlight since it wasn't the newest version). butlua
was not uninstalled, which it should have been, since onlyhighlight
depended on it - proven bybrew uninstall lua
not complaining:I tried
rmtree
with a fresh install ofhighlight
/lua
, and it worked fine.The text was updated successfully, but these errors were encountered: