问题描述
我只是rm
tap homebrew/homebrew-core
中的一个公式,它是boost-python
和boost
,因为它们似乎已损坏.我想删除它们,然后再次重新点击.
I just rm
a formula in tap homebrew/homebrew-core
which is boost-python
and boost
since they seem to be broken. I want to delete them and retap them again.
我尝试过的方法:brew tap --repair
和brew tap homebrew/homebrew-core
What I have tried:brew tap --repair
and brew tap homebrew/homebrew-core
但是他们没有用.我应该怎么做才能使这些公式恢复原状? https://github.com/Homebrew/homebrew-核心/blob/master/Formula/boost-python.rb https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb
But they didn't work. What should I do to get these formulas back?https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost-python.rbhttps://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb
推荐答案
解决该问题的方法是直接从Github安装公式:
The way to fix it is directly installing a formula from Github:
brew install https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost-python.rb
这篇关于我将其还原后如何还原冲泡配方的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!