-
-
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
Error: Invalid formula: /usr/local/Library/Taps/homebrew/homebrew-core/Formula/disktype.rb #508
Comments
Try: cd /usr/local/Library/Taps/homebrew/homebrew-core && git fetch && git reset --hard origin/master Note: Will remove any custom changes you've made to formulae in |
@DomT4 The problem is the user isn't even able to tap that repository, so the path probably doesn't exist. All of the formulae pointed out in the error messages have in common that they have a |
Oops, I completely forgot Mike's changes around tap |
this is the error i am getting now Anushas-MacBook-Pro:bin varun$ cd /usr/local/Library/Taps/homebrew/homebrew-core && git fetch && git reset --hard origin/master so there is no directory called homebrew in taps |
Please paste your |
Anushas-MacBook-Pro:bin varun$ brew config |
@vnagavarun Thanks, that contained crucial information! I think the bug should be fixed now. Can you For those interested: The bug was only affecting macOS prior to 10.9 and only if neither Xcode nor CLT was installed. More details in the commit message of ccb1193. Crucial to understanding was this line in |
thanks a lot. it works now |
On systems prior to 10.9, formulae that use CVS as a download source check whether the installed Xcode already provides CVS to avoid adding a dependency on the `cvs` formula. Unfortunately, if no Xcode is installed the check fails with undefined method `<' for nil:NilClass causing the formula to become unloadable. This in turn causes some taps to be untappable since Homebrew#396 added the `readall` check on `tap`. Closes Homebrew#508.
TJ-MB033:user techjini$ brew config Help appreciated. |
@roydondsouza Please file a new issue and follow the issue template. |
Will do @MikeMcQuaid Thanks. |
Please follow the general troubleshooting steps first:
brew update
and retried your prior step?brew doctor
, fixed as many issues as possible and retried your prior step?sudo chown -R $(whoami) $(brew --prefix)
?Done this too, stil the same issue
Bug reports:
Not able to install anything at all
The text was updated successfully, but these errors were encountered: