LoginSignup
4
3

More than 5 years have passed since last update.

brew upgrade && brew updateに失敗してlinuxbrewが壊れた

Last updated at Posted at 2016-02-28

最初に

linuxbrewの最近の更新によるもの?っぽいですが、どれが原因かわかっていません。。

背景

  • Linuxbrewでgitとかtigとかrubyとかpythonとかもろもろインストールしていた

とある昼下がり

コーヒーをすすりながらいつも通り

$ brew update
$ brew upgrade

をしたところ、gitのアップデートで見慣れないエラーメッセージ。

どうやら依存関係のglibcのインストールにコケたよう。
あまり気にせずgitコマンド叩いたところ

$ git checkout master
git: segmentation fault とかなんとかかんとか

なんじゃこりゃ…

結局

~/.linuxbrewをリネームして必要なものを再度インストールし直しましたとさ。
原因なんだったんでしょう

4
3
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
4
3