brew cask uninstall で definition is invalid: invalid 'depends_on macos' value: ">= :leopard" エラーの対策
1114 ワード
問題
$ brew cask uninstall sequel-pro
Error: Cask 'sequel-pro' definition is invalid: invalid 'depends_on macos' value: ">= :leopard"
環境
$ brew -v
Homebrew 2.1.11
Homebrew/homebrew-core (git revision 01d9f7; last commit 2019-08-30)
Homebrew/homebrew-cask (git revision bdb2f; last commit 2019-08-30)
解決
$ /usr/bin/find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.rb' -print0 | /usr/bin/xargs -0 /usr/bin/sed -i '' '/depends_on macos:/d'
参考
$ brew cask uninstall sequel-pro
Error: Cask 'sequel-pro' definition is invalid: invalid 'depends_on macos' value: ">= :leopard"
$ brew -v
Homebrew 2.1.11
Homebrew/homebrew-core (git revision 01d9f7; last commit 2019-08-30)
Homebrew/homebrew-cask (git revision bdb2f; last commit 2019-08-30)
解決
$ /usr/bin/find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.rb' -print0 | /usr/bin/xargs -0 /usr/bin/sed -i '' '/depends_on macos:/d'
参考
$ /usr/bin/find "$(brew --prefix)/Caskroom/"*'/.metadata' -type f -name '*.rb' -print0 | /usr/bin/xargs -0 /usr/bin/sed -i '' '/depends_on macos:/d'
Author And Source
この問題について(brew cask uninstall で definition is invalid: invalid 'depends_on macos' value: ">= :leopard" エラーの対策), 我々は、より多くの情報をここで見つけました https://qiita.com/ucan-lab/items/db28218f50f1e6a5479f著者帰属:元の著者の情報は、元のURLに含まれています。著作権は原作者に属する。
Content is automatically searched and collected through network algorithms . If there is a violation . Please contact us . We will adjust (correct author information ,or delete content ) as soon as possible .