#homebrew
#homebrew
Вопрос:
Я получаю сообщение об ошибке при попытке установить pkg в brew на mac os mojave:
$ brew install --debug aquasecurity/trivy/trivy
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::TapLoader): loading /usr/local/Homebrew/Library/Taps/aquasecurity/homebrew-trivy/trivy.rb
==> Installing trivy from aquasecurity/trivy
/usr/local/Homebrew/Library/Homebrew/brew.rb (Formulary::FormulaLoader): loading /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/rpm.rb
Error: rpm: undefined method `livecheck' for Formulary::FormulaNamespace0687b9ea3596758a5cc31a58c3aca98d::Rpm:Class
Ответ №1:
Я побежал
$ brew update-reset amp;amp; brew update
а затем успешно повторил мою команду.