Wee issue trying to install git using MacPorts

Posted on April 11, 2008

The other day I wanted to install the hot new SCM git – and an easy way to do this is using MacPorts.

So I opened up the terminal and banged out:

sudo port install git-core
It chugged away installing nicely until it tried to install rsync as a dependency:

<snip>
--->  Attempting to fetch rsync-2.6.9.tar.gz from http://svn.macports.org/repository/macports/downloads/rsync
Error: Target org.macports.fetch returned: fetch failed
Error: Status 1 encountered during processing.
I fixed this by running the selfupdate command for MacPorts

sudo port selfupdate

After that the git installation worked fine.

Comments
  1. MikeApril 28, 2008 @ 01:04 AM

    Thanks, you saved me some hair pulling

  2. MicahJuly 14, 2008 @ 07:10 PM

    Dang! No good for me:

    Error: Checksum (md5) mismatch for fileflags.diff Error: Checksum (sha1) mismatch for fileflags.diff Error: Checksum (rmd160) mismatch for fileflags.diff Error: Checksum (md5) mismatch for crtimes.diff Error: Checksum (sha1) mismatch for crtimes.diff Error: Checksum (rmd160) mismatch for crtimes.diff Error: Target org.macports.checksum returned: Unable to verify file checksums Error: The following dependencies failed to build: rsync Error: Status 1 encountered during processing.

    Thanks anyway, guess I’ll have to search some more :(