-
Notifications
You must be signed in to change notification settings - Fork 130
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
Unable to run 'brew update' #1093
Comments
I have the same error and I don't have macports. |
After checking what the installation script does, I conclude that git does not like having a repository at
Nevertheless, it suggests a possible solution:
After doing as git suggested, I can successfully execute |
Makes sense. Permissions checking on directories was tightened up in git a couple of years ago & since |
This was preventing me from doing a fresh install of Tigerbrew on a fresh installation of 10.4.11.
|
This works for me as well. iMac G4 PowerPC, 10.5.8 with a fresh install of Tigerbrew. Thank you! |
I had a new install a few months ago on my G5 with 10.5 that had this same issue, and this solves it. This also appears to be what Homebrew's postinstall script now does to solve this as well. |
j****-m*****-power-mac-g4:~ jmont$ brew doctor
Please note that these warnings are just used to help the Tigerbrew maintainers
with debugging if you file an issue. If everything you use Tigerbrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: Your Tigerbrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Tigerbrew, run
brew update
.j******-m*****-power-mac-g4:~ jmont$ brew update
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m
Initialized empty Git repository in /usr/local/.git/
fatal: not in a git directory
Error: Failure while executing: git config core.autocrlf false
j****-m*****-power-mac-g4:~ jmont$ brew install git
Warning: git-2.43.0 already installed
j*****-m*****-power-mac-g4:~ jmont$ brew config
HOMEBREW_VERSION: 0.9.5
ORIGIN: (none)
HEAD: (none)
Last commit: never
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://ia904500.us.archive.org/24/items/tigerbrew
CPU: dual-core 32-bit g4e
OS X: 10.4.11-Power Macintosh
Curl: /usr/local/Library/Homebrew/vendor/portable-curl/current/bin/curl
Xcode: 2.5
CLT: N/A
GCC-4.0: build 5370
Clang: N/A
X11: N/A
System Ruby: 2.3.3-222 => /usr/local/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby
Perl: /usr/bin/perl
Python: /usr/bin/python => /System/Library/Frameworks/Python.framework/Versions/2.3/bin/python
Ruby: /usr/bin/ruby => /Users/jmont
Java: N/A
I didn't get far in the setup process before I encountered this error. I did have macports installed previously, but I followed their documentation to completely remove it off of my system. Let me know if I can provide anything else to help figure this out!
The text was updated successfully, but these errors were encountered: