Kir
Kir

Reputation: 8111

Can't install Imagemagick on Mac with Brew

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?

Upvotes: 2

Views: 4664

Answers (2)

Matteo Alessani
Matteo Alessani

Reputation: 10412

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

Upvotes: 3

keithepley
keithepley

Reputation: 4802

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

Try running brew update and then brew install imagemagick again

Upvotes: 0

Related Questions