This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
'brew update' fails the second time #6851
Comments
Dang, I thought this was finally fixed in cbcd4a3. ...I will investigate. |
I guess cbcd4a3 probably needs to be reverted, though now I don't understand what was causing the earlier (unstaged local changes) bug. |
There's a reverting commit here: jacknagel/homebrew@27dd197 However it doesn't really fix anything in that it will only reintroduce the old behavior, which was also broken. I don't have anything better to do, so I will continue to work on this in my free time, but considering how confident I was that the '--soft' patch would work it would be good to have some fresh eyes take a look at this, so if anyone sees what the real issue is here, please chime in and suggest a fix. ping @mxcl |
Sharpie
pushed a commit
to Sharpie/homebrew
that referenced
this issue
Sep 19, 2011
We don't know what revision the tarball was when homebrew was installed, so all we can do really is hard reset. In theory some set of git commands should suffice, but apparently --soft and --mixed resets ended up putting stuff in the index which would break subsequent `brew updates`. Fixes Homebrew#6851
martinploeger
pushed a commit
to martinploeger/homebrew
that referenced
this issue
Oct 8, 2011
We don't know what revision the tarball was when homebrew was installed, so all we can do really is hard reset. In theory some set of git commands should suffice, but apparently --soft and --mixed resets ended up putting stuff in the index which would break subsequent `brew updates`. Fixes Homebrew#6851
etehtsea
pushed a commit
to etehtsea/homebrew
that referenced
this issue
Dec 27, 2011
We don't know what revision the tarball was when homebrew was installed, so all we can do really is hard reset. In theory some set of git commands should suffice, but apparently --soft and --mixed resets ended up putting stuff in the index which would break subsequent `brew updates`. Fixes Homebrew#6851
snakeyroc3
pushed a commit
to snakeyroc3/homebrew
that referenced
this issue
Dec 17, 2012
We don't know what revision the tarball was when homebrew was installed, so all we can do really is hard reset. In theory some set of git commands should suffice, but apparently --soft and --mixed resets ended up putting stuff in the index which would break subsequent `brew updates`. Fixes Homebrew#6851
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
'brew update' seems to fail the second time it is run on a new homebrew installation.
Factory install of Lion and Xcode 4.1:
This seems to happen only on new installs, 'brew update' still works fine on my other ones.
I fixed it by running 'git reset' in /usr/local.
The text was updated successfully, but these errors were encountered: