LoginSignup
7
9

brew update でエラー(brew reinstall git で修復)

Last updated at Posted at 2019-06-12

こんにちは。
brew update でエラーとなりましたが(下記)、brew reinstall git1 で修復できたようです。

$ brew doctor
Your system is ready to brew.
$ brew update
fatal: could not read Username for 'https://github.com': terminal prompts disabled
fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
$ brew reinstall git
 :
 :
$ cat /usr/local/etc/gitconfig 
[credential]
	helper = osxkeychain
$ brew update
Already up-to-date.

もしも上記の brew reinstall git でも失敗する場合には、次には下記を試してみると良いようです。

$ brew unlink git
$ brew install git
  1. 参考: "git formula breaks brew update" (Homebrew/brew/issues)

7
9
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
7
9