"Life is all about sharing. If we are good at something, pass it on." - Mary Berry

brew info gets stuck


I managed my Mac with SaltStack.

For some reasons, it gets stuck when running brew state:

1[INFO    ] Executing command '/usr/local/bin/brew info --json=v1 --installed' as user 'quanta' in directory '/Users/quanta'

As usual, whenever you get a problem, let’s enable debug mode to see what happens:

1brew info --json=v1 --installed -d

Now I can see that it stucked at drone/drone repo. By just untap this repo, and it’s solved.