Homebrew 在 macOS Sierra 上找不到 LFTP 公式

Homebrew Can't Find LFTP Formula on macOS Sierra

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

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 已移至墓地。我仍然安装了它,它是在 homebrew/boneyard/lftp 中找到的。不知道为什么会这样。我不认为这是一个与 macOS Sierra 相关的问题,只是不幸的时机。

一个解决方案,如果您可以在撰写本文时使用最新的稳定版本,那就是从 boneyard 安装 lftp (4.6.6):

brew install homebrew/boneyard/lftp

正如@Sebastian 和@poolie 指出的那样,lftp has been moved to the boneyard

现在有一个补丁。 lftp 又回来了,从墓地变成了主流:https://github.com/Homebrew/homebrew-core/commit/2c0e087580bafde50c916ad304ffb2079f593b7e

一个简单的 brew install lftp 将再次起作用。