2

I am using Brew v0.8 on my Mac OS Lion.

When I am trying to install Imagemagick:

MacBook-kir:rails kir$ brew install imagemagick
/usr/bin/git
==> Cloning https://github.com/adamv/ImageMagick.git
Cloning into /Users/kir/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/kir/Library/Caches/Homebrew/imagemagick--git

How to install Imagemagick?

sarnold
  • 102,305
  • 22
  • 181
  • 238
Kir
  • 7,981
  • 12
  • 52
  • 69

2 Answers2

3

You need to update your brew installation and reset the repository:

cd /usr/local
brew update
git reset --hard FETCH_HEAD

Then you can run:

brew install imagemagick
Matteo Alessani
  • 10,264
  • 4
  • 40
  • 57
0

It might be that the mirror that brew downloads ImageMagick from was moved.

Try running brew update and then brew install imagemagick again

keithepley
  • 4,760
  • 3
  • 23
  • 41