Installing gnuplot from MacPorts failed (Checksum Mismacth)

3

I have OSX 10.5 and tried to sudo port install gnuplot, only to get this:

--->  Computing dependencies for gnuplot
--->  Verifying checksum(s) for gnuplot
Error: Checksum (md5) mismatch for gnuplot.pdf
Error: Checksum (sha1) mismatch for gnuplot.pdf
Error: Checksum (rmd160) mismatch for gnuplot.pdf

I don't care whether gnuplot.pdf has a checksum mismatch, it's not part of the executables... how do I get around this? I can't seem to re-download or uninstall either.

Jason S

Posted 2011-06-11T22:57:02.253

Reputation: 5 983

See the MacPorts FAQ for some steps and notes about checksum mismatches.

– slhck – 2011-06-11T23:01:49.927

Answers

1

I did

sudo port -d selfupdate
sudo port clean gnuplot
sudo port install gnuplot

and that fixed it.

Jason S

Posted 2011-06-11T22:57:02.253

Reputation: 5 983

3

  1. First try @Jason's solution - updating that specific port may do the trick.
  2. Do a little bit of googling to understand why the checksum is failing.

The macports wiki lists common reasons for checksum failure and (in my personal experience) it is often a stealth upgrade by an upstream developer (like this one). If you have confirmed the cause of the checksum failure is benign you can override the macport checksum like this:

sudo port install gnuplot checksum.skip=yes

doub1ejack

Posted 2011-06-11T22:57:02.253

Reputation: 211