我正在尝试使用brew-cask安装VirtualBox,但是返回了如下的错误信息,导致无法安装VirtualBox。我使用的操作系统是MacOSX Lion 10.7.5,homebrew版本为0.9.5,ruby版本为2.1.0-p0。
我在终端中描述了以下步骤。
首先,
我在终端中描述了以下步骤。
首先,
brew tap
命令执行成功。 $ brew tap phinze/cask
Cloning into '/usr/local/Library/Taps/phinze/homebrew-cask'...
remote: Reusing existing pack: 32538, done.
remote: Counting objects: 36, done.
remote: Compressing objects: 100% (36/36), done.
remote: Total 32574 (delta 16), reused 2 (delta 0)
Receiving objects: 100% (32574/32574), 11.72 MiB | 379 KiB/s, done.
Resolving deltas: 100% (19138/19138), done.
Tapped 1 formula
It looks like you tapped a private repository. To avoid entering your
credentials each time you update, you can use git HTTP credential caching
or issue the following command:
cd /usr/local/Library/Taps/phinze/homebrew-cask
git remote set-url origin git@github.com:phinze/homebrew-cask.git
其次,我已按照以下方法安装了brew-cask
$ brew install brew-cask
Warning: brew-cask-0.35.0 already installed
第三,当我尝试安装Virtualbox时,返回了这种错误,我无法安装Virtualbox。
$ brew cask install virtualbox
==> Removing legacy Tap
Error: No available cask for virtualbox
virtualbox.rb
的出现。确实有virtualbox.rb
。这是brew-cask存储库中的问题吗?我可以通过拉取另一个分支来纠正这个问题吗? - tomohitoyvirtualbox
...尽管我还没有完成下载... - Dair