brew update で fatal: Unable to create '/usr/local/.git/index.lock': File exists. とも Error: Failed to update tap: adamv/alt とも言われめげる

[zunermuka ~]$ brew update
fatal: Unable to create '/usr/local/.git/index.lock': File exists.

If no other git process is currently running, this probably means a
git process crashed in this repository earlier. Make sure no other git
process is running and remove the file manually to continue.
Error: Failure while executing: git checkout -q master

力技

[zunermuka ~]$ rm -f /usr/local/.git/index.lock

[zunermuka ~]$ brew update
Auto packing the repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
Counting objects: 92651, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (32146/32146), done.
Writing objects: 100% (92651/92651), done.
Total 92651 (delta 65051), reused 86376 (delta 59655)
Removing duplicate objects: 100% (256/256), done.
Checking connectivity: 92651, done.
Username for 'https://github.com':
Password for 'https://github.com':
fatal: Authentication failed
Error: Failed to update tap: adamv/alt
Updated Homebrew from 3213489c to f1dc6e15.

これか

https://github.com/mxcl/homebrew/issues/16874

[zunermuka ~]$ brew untap adamv/homebrew-alt
Untapped 30 formula

[zunermuka ~]$ brew update
Already up-to-date.

復活!
新年早々ピヨピヨしてるよ、めげる。

コメント

このブログの人気の投稿

[memo] LibreOffice バージョン: 5.2.6.2 Calc でエラーがでた BASIC を読み込む際の エラー:一般的なエラー.一般的な I/O エラー。

[memo] macbook air の wezterm で \ backslash を入力する macOS Left and Right Option Key を設定する

[memo] 日本語のファイル名をSafari でダウンロードするとバージョン 10.0.3 (11602.4.8.0.1) でも文字化けするのが辛い