Howmebrew update to v"0.5.4" gives error on both 0.5 and 0.6

from ImageMagick problem · Issue #178 · JuliaPackaging/Homebrew.jl · GitHub

I regularly end up in a broken Homebrew.jl state after Pkg.update (every month or so). For example just now it spilled out some issue about a missing git tag or something.

What usually helps is Pkg.rm(“Homebrew”), deleting the folder .julia/v0.5/Homebrew, deleting the .julia/.cache/Homebrew and just installing Pkg.add(“Homebrew”) from scratch. This also likely means that you will have to Pkg.build a few things that you have which depend on Homebrew, like I think ImageMagick and Requests for example.

Did it right now and it worked like a charm

Anyway, surely not the cleanest method but it does the job and let’s me get back to work quickl

1 Like