Graphivz installation Error : HEAD is now at d45832bbf Merge pull request #11382 from carlocab/build-rpaths error: Not a valid ref: refs/remotes/origin/master

Today morning I was trying to install Graphivz in my system using the command "/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"". Intially the process was going nicely but due to internet issue, it got interrupted. Afterwards when i was trying to install the same, I am getting the error : 

HEAD is now at d45832bbf Merge pull request #11382 from carlocab/build-rpaths
error: Not a valid ref: refs/remotes/origin/master
fatal: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'


I am also attaching the screenshort with this. Can someone please help me to find the solve for the same. I am struggling to install Graphivz. I will be very greatful for your help.

MacBook Air 13″, macOS 11.2

Posted on May 15, 2021 2:58 AM

Reply

Similar questions

3 replies

May 16, 2021 7:55 AM in response to Ramakrishna21

If you are on an Intel Mac, homebrew will want to install into /usr/local tree, and if Apple Silicon, it will expect /opt/homebrew tree. Homebrew will also attempt to automatically install Xcode or its command-line tools before you can even begin to think about installing packages.


The principal reason I have not installed Graphviz is the ton of dependencies (and their dependencies) that it requires, not all of which are shown in this info shot:


May 16, 2021 8:07 AM in response to VikingOSX

VikingOSX wrote:

The principal reason I have not installed Graphviz is the ton of dependencies (and their dependencies) that it requires, not all of which are shown in this info shot:

More and more I am seeing people just give up attempting to manage dependencies at all. Instead, they release software as Docker images. That results in a big performance hit as well as another level of debugging techniques. Unfortunately, the Apple Silicon switch makes the Docker approach even harder.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Graphivz installation Error : HEAD is now at d45832bbf Merge pull request #11382 from carlocab/build-rpaths error: Not a valid ref: refs/remotes/origin/master

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.