-
Notifications
You must be signed in to change notification settings - Fork 0
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
Warn if Homebrew files are currently owned by another user #84
Comments
Hey @Aryanvkl, can you provide a bit more information? At the very least, the output of your I suspect that the issue here is that you are taking over someone else's laptop that is already mostly set up. But Homebrew operates on the assumption that your laptop only has one admin-ish user and that one user (in this case the old owner of your laptop) is the owner of the Homebrew install. |
Of course. Updating Homebrew: Error: Can't create |
Yeah, I'm feeling better about my hypothesis. Can you tell me what |
Sure. Its the following: Error: Can't create |
Alright, I'm going to recommend that you uninstall Homebrew and try again: sudo /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)" (If it's been a while, you might have to re-run "Make me an Admin" first) |
Ok. If I am not mistaken this command is for uninstalling it. So, for reinstall, do I follow the same process I did last time? |
It seems like you've gotten past your specific issue. But I'm going to leave this open because we should provide some guidance in the script output to new devs in this situation. |
I attempted to setup strap and it failed to update Homebrew with the error Can't Create 'brew update'.
The text was updated successfully, but these errors were encountered: