LoginSignup
20
18

More than 5 years have passed since last update.

brew update が常に Already up-to-date になった時の対処法

Posted at

バグの症状と調査

brew update をしても常に Already up-to-date になって更新されないなと思って調べていると,homebrew の github の READMEの記述で以下のバグが存在していたことがわかりました.

  • 2016/8/10~11 に homebrew を update している場合には,brew update しても常に Already up-to-date になる

まさにそんな症状のバグでした.

解決策

以下のコマンドを打つと解決するみたいです.

cd $(brew --repo); git fetch; git reset --hard origin/master; brew update
20
18
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
20
18