Closed constant0924 closed 9 years ago
Try running: cd /usr/local; git fetch; git reset --hard origin/master; brew update
@mikemcquaid I tried to carry out your stated after the command, finally the brew update or appear the same problem
Sorry but you have not followed the requested steps on the Troubleshooting page: https://github.com/Homebrew/homebrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting
Please follow (all of) these steps and post the information here so we can help you with your problem.
Thanks!
@mikemcquaid Thank you for your help! I have found the solution, switch to the wrong directory synchronization server copy again
As of today, I'm seeing the same issue as the original reporter. Following the troubleshooting steps from @mikemcquaid, as well as the the page he linked to, did not work. Here's what's happening.
cd /usr/local
- No problem.git fetch
- No problemgit reset --hard origin/master
- No problemHEAD is now at fd3e4f7 leiningen 2.5.1
brew update
- Problem :( I get the same error originally reported for this issue (omitted for brevity).
I've created gists for brew config
and brew doctor
.
brew config
: https://gist.github.com/WardF/663a5b43ae4d082e8167brew doctor
: https://gist.github.com/WardF/b5243adba21ab063831aThanks for any help you can provide!
The problem is occuring in individual taps, not the core repository.
Same instructions, except change cd /usr/local
to
cd $(brew --repository)/Library/Taps/Homebrew/homebrew-dupes
or
cd $(brew --repository)/Library/Taps/josegonzalez/homebrew-php
substitute other tap names as appropriate.
When I perform the brew the update
Excuse me, is there a way to solve