我正在努力的酿造安装迷你。我没有任何版本,但需要一个较旧的版本。我正在尝试熟悉的方法,但得到一个错误:
~ brew install minikube@1.18.1
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
Error: No available formula or cask with the name "minikube@1.18.1".
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.我试着做了一些功课,但仍然出错:
~ brew install https://github.com/Homebrew/homebrew-core/blob/8d37c361ee69503961a3010e7896f6ecf8d3a059/Formula/minikube.rb
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> Updated Formulae
Updated 16 formulae.
Traceback (most recent call last):
`brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of minikube formula file from an arbitrary URL is unsupported! (UsageError)
`brew extract` or `brew create` and `brew tap-new` to create a formula file in a tap on GitHub instead.: Invalid usage: Non-checksummed download of minikube formula file from an arbitrary URL is unsupported! (UsageError)这一定是很基础的,但我似乎想不通:
发布于 2021-04-30 16:58:47
在运行之前:
brew install https://github.com/Homebrew/homebrew-core/blob/8d37c361ee69503961a3010e7896f6ecf8d3a059/Formula/minikube.rb你应该执行:
brew unlink minikube这样,您将删除旧的minikube链接,并链接新安装的二进制文件。
如果这仍然不起作用,那就试着运行:
wget https://github.com/Homebrew/homebrew-core/blob/8d37c361ee69503961a3010e7896f6ecf8d3a059/Formula/minikube.rb然后是:
brew install --HEAD -s minikube.rb发布于 2021-04-30 02:42:40
Brew只为某些公式创建单独的版本,并且它主要只为较大的公式创建,由于向后兼容性等原因,它们可能会提供不同的版本。您可能对此问题Homebrew install specific version of formula?中的答案有一些幸运。
发布于 2021-04-30 23:57:42
我认为首先你可以尝试运行'brew install minikube‘,看看你是否能成功安装它。如果没有错误,那么可能是您的版本问题。如果仍然有错误,那么这可能是您本地的家庭酿造问题,然后您可以尝试运行'brew医生‘,根据警告和错误信息搜索堆栈溢出,您可能会找到答案。
https://stackoverflow.com/questions/67323256
复制相似问题