{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2970","repository_url":"https://api.github.com/repos/Homebrew/homebrew-core","labels_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2970/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2970/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2970/events","html_url":"https://github.com/Homebrew/homebrew-core/issues/2970","id":165405873,"number":2970,"title":"Brew update fails (Error: Fetching /usr/local failed!)","user":{"login":"jonaslierschied","id":8103821,"avatar_url":"https://avatars.githubusercontent.com/u/8103821?v=3","gravatar_id":"","url":"https://api.github.com/users/jonaslierschied","html_url":"https://github.com/jonaslierschied","followers_url":"https://api.github.com/users/jonaslierschied/followers","following_url":"https://api.github.com/users/jonaslierschied/following{/other_user}","gists_url":"https://api.github.com/users/jonaslierschied/gists{/gist_id}","starred_url":"https://api.github.com/users/jonaslierschied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonaslierschied/subscriptions","organizations_url":"https://api.github.com/users/jonaslierschied/orgs","repos_url":"https://api.github.com/users/jonaslierschied/repos","events_url":"https://api.github.com/users/jonaslierschied/events{/privacy}","received_events_url":"https://api.github.com/users/jonaslierschied/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-07-13T19:48:52Z","updated_at":"2016-07-16T08:46:26Z","closed_at":null,"body":"- [x] Ran `brew update` and retried your prior step?\r\n\r\n> error: cannot lock ref 'refs/remotes/origin/master': Unable to create '/usr/local/.git/refs/remotes/origin/master.lock': File exists.\r\n> \r\n> If no other git process is currently running, this probably means a\r\n> git process crashed in this repository earlier. Make sure no other git\r\n> process is running and remove the file manually to continue.\r\n> error: cannot lock ref 'refs/remotes/origin/master': Unable to create '/usr/local/Library/Taps/homebrew/homebrew-core/.git/refs/remotes/origin/master.lock': File exists.\r\n> \r\n> If no other git process is currently running, this probably means a\r\n> git process crashed in this repository earlier. Make sure no other git\r\n> process is running and remove the file manually to continue.\r\n> error: cannot lock ref 'refs/remotes/origin/master': Unable to create '/usr/local/Library/Taps/caskroom/homebrew-cask/.git/refs/remotes/origin/master.lock': File exists.\r\n> \r\n> If no other git process is currently running, this probably means a\r\n> git process crashed in this repository earlier. Make sure no other git\r\n> process is running and remove the file manually to continue.\r\n> Error: Fetching /usr/local failed!\r\n> Fetching /usr/local/Library/Taps/homebrew/homebrew-core failed!\r\n> Fetching /usr/local/Library/Taps/caskroom/homebrew-cask failed!\r\n\r\n- [x] Ran `brew doctor`, fixed as many issues as possible and retried your prior step?\r\n\r\n> Please note that these warnings are just used to help the Homebrew maintainers\r\n> with debugging if you file an issue. If everything you use Homebrew for is\r\n> working fine: please don't worry and just ignore them. Thanks!\r\n> \r\n> Warning: Your Homebrew is outdated.\r\n> You haven't updated for at least 24 hours. This is a long time in brewland!\r\n> To update Homebrew, run `brew update`.\r\n\r\n- [x] If you're seeing permission errors tried running `sudo chown -R $(whoami) $(brew --prefix)`?\r\n\r\n> I tried running `sudo chown -R $(whoami) $(brew --prefix)`, but unfortunately no difference in behavior.\r\n\r\n### Bug reports:\r\n\r\nYesterday I did a fresh install of OS X El Capitan (10.11.5) as well as set up my settings etc. In this process Homebrew for me is the key to do it very quick and efficient. Today I wanted to continue with the setup but I recognised that I have a problem updating brew -- yesterday the update function as well as installing all my apps and other stuff worked without problem. \r\nThe strange thing is, that I still can download apps via cask or other stuff via brew install, only the update function of brew does not work.\r\n\r\nI did the above mentioned steps as well as checked the URLs of GitHub (git -C /usr/local remote -v) -- the solution of this [issues](https://github.com/Homebrew/brew/issues/52).\r\n\r\n> origin\thttps://github.com/Homebrew/brew (fetch)\r\norigin\thttps://github.com/Homebrew/brew (push)\r\n\r\nI also did brew config:\r\n\r\n> HOMEBREW_VERSION: 0.9.9\r\nORIGIN: https://github.com/Homebrew/brew\r\nHEAD: cdf4f42ab951214fb7fac0781091783552415944\r\nLast commit: 25 hours ago\r\nCore tap ORIGIN: https://github.com/Homebrew/homebrew-core\r\nCore tap HEAD: 8d95ccdd5168d89e500d49222af001f13cf5430c\r\nCore tap last commit: 25 hours ago\r\nHOMEBREW_PREFIX: /usr/local\r\nHOMEBREW_REPOSITORY: /usr/local\r\nHOMEBREW_CELLAR: /usr/local/Cellar\r\nHOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com\r\nCPU: quad-core 64-bit broadwell\r\nHomebrew Ruby: 2.0.0-p648\r\nClang: 7.3 build 703\r\nGit: 2.7.4 => /Library/Developer/CommandLineTools/usr/bin/git\r\nPerl: /usr/bin/perl\r\nPython: /usr/bin/python\r\nRuby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby\r\nJava: N/A\r\nOS X: 10.11.5-x86_64\r\nXcode: N/A\r\nCLT: 7.3.1.0.1.1461711523\r\nX11: N/A\r\n\r\nUnfortunately I have no idea what it could be and I really appreciate every help of you guys. Thanks a lot in advance. Cheers, Jonas"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/comments/233120644","html_url":"https://github.com/Homebrew/homebrew-core/issues/2970#issuecomment-233120644","issue_url":"https://api.github.com/repos/Homebrew/homebrew-core/issues/2970","id":233120644,"user":{"login":"jonaslierschied","id":8103821,"avatar_url":"https://avatars.githubusercontent.com/u/8103821?v=3","gravatar_id":"","url":"https://api.github.com/users/jonaslierschied","html_url":"https://github.com/jonaslierschied","followers_url":"https://api.github.com/users/jonaslierschied/followers","following_url":"https://api.github.com/users/jonaslierschied/following{/other_user}","gists_url":"https://api.github.com/users/jonaslierschied/gists{/gist_id}","starred_url":"https://api.github.com/users/jonaslierschied/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonaslierschied/subscriptions","organizations_url":"https://api.github.com/users/jonaslierschied/orgs","repos_url":"https://api.github.com/users/jonaslierschied/repos","events_url":"https://api.github.com/users/jonaslierschied/events{/privacy}","received_events_url":"https://api.github.com/users/jonaslierschied/received_events","type":"User","site_admin":false},"created_at":"2016-07-16T08:46:26Z","updated_at":"2016-07-16T08:46:26Z","body":"@MikeMcQuaid: Thanks for your tip. `Which git` shows the following path `/usr/bin/git`. I guess it is not an Hombrew-installed version, or?"}}
{"actor":{"display_login":"jonaslierschied"}}