我正在尝试在OS X Lion上安装ImageMagick但收到以下错误:
[~]$ brew install imagemagick
/usr/bin/git
==> Cloning https://github.com/adamv/ImageMagick.git
Cloning into /Users/isilber/Library/Caches/Homebrew/imagemagick--git...
fatal: https://github.com/adamv/ImageMagick.git/info/refs not found: did you run git update-server-info on the server?
Error: Failure while executing: git clone --depth 1 https://github.com/adamv/ImageMagick.git /Users/isilber/Library/Caches/Homebrew/imagemagick--git
有什么想法吗?
答案 0 :(得分:0)
更新您的brew公式:
brew update
答案 1 :(得分:0)
您需要更新brew安装并重置存储库:
cd /usr/local
brew update
git reset --hard FETCH_HEAD
然后你可以运行:
brew install imagemagick