LoginSignup
5
0

More than 3 years have passed since last update.

Failure while executing; git config --replace-all homebrew.analyticsmessage true was terminated by uncaught signal KILL.

Posted at

brew installをしたらタイトルのエラーが出た。

環境

  • M1 Mac mini
  • Big Sur 11.1
  • HomeBrew 2.7.2(ARM版)

解決法

以下の2つのコマンドを実行

$ brew reinstall gettext
$ brew reinstall pcre2

エラー全文

Warning: git 2.29.2 is already installed and up-to-date
To reinstall 2.29.2, run `brew reinstall git`
/opt/homebrew/Library/Homebrew/cmd/update.sh: line 18:  5855 Killed: 9               "$GIT_EXECUTABLE" "$@"
/opt/homebrew/Library/Homebrew/cmd/update.sh: line 18:  5863 Killed: 9               "$GIT_EXECUTABLE" "$@"
/opt/homebrew/Library/Homebrew/cmd/update.sh: line 18:  5864 Killed: 9               "$GIT_EXECUTABLE" "$@"
/opt/homebrew/Library/Homebrew/cmd/update.sh: line 18:  5882 Killed: 9               "$GIT_EXECUTABLE" "$@"
/opt/homebrew/Library/Homebrew/cmd/update.sh: line 18:  5883 Killed: 9               "$GIT_EXECUTABLE" "$@"
==> Homebrew has enabled anonymous aggregate formula and cask analytics.
Read the analytics documentation (and how to opt-out) here:
  https://docs.brew.sh/Analytics
No analytics have been recorded yet (or will be during this `brew` run).

Error: Failure while executing; `git config --replace-all homebrew.analyticsmessage true` was terminated by uncaught signal KILL.
==> Installing git
Warning: git 2.29.2 is already installed and up-to-date
To reinstall 2.29.2, run `brew reinstall git`
Error: Git is unavailable

雑談的な解決までのあれこれ

brew reinstall gitしても何も解決せず。。。
「よくわからん!」と思って、特段困ってはなかったので、保留にしてた汗
忘れた頃にbrew installしたらエラーが出たので、ググったら以下の記事にたどり着いて無事解決。

5
0
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
5
0