LoginSignup
86
78

More than 5 years have passed since last update.

homebrew-caskがErrorになると思ったら本家に移行してた

Posted at

homebrewとcaskをupdateしたらerrorが出るようになりました。

$ brew cask list
Error: Cask 'alfred' definition is invalid: Bad header line: parse failed

どうやら2015/12/10時点でhomebrew-caskが本家に移行したらしいです。
https://github.com/caskroom/homebrew-cask/pull/15381
https://github.com/Homebrew/homebrew/pull/46795

というわけでhomebrew-caskは削除してねってことみたいなので以下のCommandを実行します。

$ brew uninstall --force brew-cask; brew update

これでErrorなく使えるようになりました。

caskroom.ioを見るとインストール方法もTapに変わってます。
これはもう古い。
$ brew install brew-cask
これからはこっち。
$ brew tap caskroom/cask

これからはcaskのupdateをいちいちしなくてもよいので管理が楽になりましたね。すばらしい。

ちなみにcaskroom/homebrew-caskでのリリースはv0.60で最後みたいです。
お疲れ様でしたm(_ _)m

86
78
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
86
78