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

Created on 26 Sep 2016  路  5Comments  路  Source: Homebrew/brew

 ~ $ 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.)

Most helpful comment

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

All 5 comments

What does brew config say? Thanks!

~ $ 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

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

Yes, it went away.

Thanks! Will leave this open until the fix drops.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

zelsonia picture zelsonia  路  4Comments

stejmurphy picture stejmurphy  路  4Comments

cdekok picture cdekok  路  4Comments

rtobrien picture rtobrien  路  3Comments

hktalent picture hktalent  路  4Comments