Skip to content
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

brew doctor: Warning: Your Homebrew is outdated. (when it's not) #1151

Closed
fab1an opened this issue Sep 26, 2016 · 5 comments
Closed

brew doctor: Warning: Your Homebrew is outdated. (when it's not) #1151

fab1an opened this issue Sep 26, 2016 · 5 comments
Assignees

Comments

@fab1an
Copy link

fab1an commented Sep 26, 2016

 ~ $ brew update
Already up-to-date.

 ~ $ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!

Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.

(I ran into the update-bug prior and did cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update yesterday.)

@MikeMcQuaid
Copy link
Member

What does brew config say? Thanks!

@fab1an
Copy link
Author

fab1an commented Sep 26, 2016

~ $ brew config
HOMEBREW_VERSION: 1.0.4
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 817bc2746e594761911edd78f743a640f089494f
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 5af91e99671ce7294905ef0b670f50d4e1e24cdb
Core tap last commit: 3 hours ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.0.0-p648
Clang: 8.0 build 800
Git: 2.10.0 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/local/bin/python => /usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/local/bin/ruby => /usr/local/Cellar/ruby/2.3.1/bin/ruby
Java: 1.8.0_102, 1.8.0_92
macOS: 10.12-x86_64
Xcode: 8.0
CLT: N/A
X11: N/A

@MikeMcQuaid
Copy link
Member

@fab1an Does the warning go away if you brew update --force? Regardless it's a bug but that might help you for now.

@ghost ghost assigned MikeMcQuaid Sep 26, 2016
@ghost ghost added the in progress Maintainers are working on this label Sep 26, 2016
@fab1an
Copy link
Author

fab1an commented Sep 26, 2016

Yes, it went away.

@fab1an fab1an closed this as completed Sep 26, 2016
@MikeMcQuaid MikeMcQuaid reopened this Sep 26, 2016
@MikeMcQuaid
Copy link
Member

Thanks! Will leave this open until the fix drops.

@ghost ghost removed the in progress Maintainers are working on this label Sep 26, 2016
croaky pushed a commit to thoughtbot/laptop that referenced this issue Aug 24, 2017
Add a force since there's sometimes a broken Homebrew update.
See Homebrew/brew#1151

`brew update --force` will prevent stalling in the script.
Until the issue above is resolved,
it could pop up for someone trapped in a
'please update'-'already updated' loop.
clekstro added a commit to fauxton/laptop that referenced this issue Jan 12, 2018
@Homebrew Homebrew locked and limited conversation to collaborators May 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants