Homebrew无法在macOS上找到LFTP公司Sierra

问题描述:

我刚升级到macOS Sierra并安装了brew以获取一些软件包。以前我用LFTP来更快地同步来自远程服务器的文件。但是,升级到Sierra后,brew不能再安装LFTP。使用Homebrew无法在macOS上找到LFTP公司Sierra

brew install lftp 

后,我得到下面的输出和错误

Checking out v1.0.1 in /usr/local/Homebrew... 
To checkout v1.0.1 in /usr/local/Homebrew run: 
    'cd /usr/local/Homebrew && git checkout v1.0.1 
Error: No available formula with the name "lftp" 
==> Searching for similarly named formulae... 
This similarly named formula was found: 
homebrew/x11/curlftpfs ✔ 
To install it, run: 
    brew install homebrew/x11/curlftpfs ✔ 
==> Searching taps... 
Error: No formulae found in taps. 

我相信它无法找到公式...但我不知道为什么。任何人都知道解决方案?

现在有一个补丁。 lftp又回来了,从boneyard转移到主流:https://github.com/Homebrew/homebrew-core/commit/2c0e087580bafde50c916ad304ffb2079f593b7e

简单brew install lftp将再次工作。

它看起来像lftp被转移到boneyard。我仍然安装它,发现它在homebrew/boneyard/lftp。不知道为什么发生。我不认为这是一个macOS塞拉利昂相关的问题,只是不幸的时机。

+5

这是[移到boneyard](https://github.com/Homebrew/homebrew-boneyard/pull/161)显然是因为[在openssl周围构建破解](https://github.com/Homebrew/ homebrew-core/pull/1509)以及对MacOS上游支持不热情。这是一个耻辱,因为它是一个很好的工具。 – poolie

+0

感谢您澄清它被移动的原因@poolie :) – Sebastian

+2

就是这样。感谢您的意见。你必须用'brew install homebrew/boneyard/lftp'从boneyard安装。我以为我已经回复了这个帖子,但显然它几天前没有注册我的回复。 – sirryankennedy

一个解决方案,如果你确定使用最新的稳定版本为写这篇文章,是从骨场安装的lftp(4.6.6):

brew install homebrew/boneyard/lftp

为@Sebastian和@ poolie指出,lftp has been moved to the boneyard