I am trying to install some ports (probably Gramps) that seem to require py25-numpy - this is not currently installed in my copy of MacPorts. On trying to install p25-numpy, I get the following log: <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< bash-3.2# port install py25-numpy ---> Fetching py25-numpy ---> Verifying checksum(s) for py25-numpy Error: Checksum (md5) mismatch for numpy-1.0.4.tar.gz Error: Checksum (sha1) mismatch for numpy-1.0.4.tar.gz Error: Checksum (rmd160) mismatch for numpy-1.0.4.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
This looks as if one of the files is corrupted on the MacPorts server or else the portfile is not consistent with the downloaded files. Has anyone else experienced this before? Is there a workround? Thanks for any help you can provide David Rowe
On Sun, Mar 23, 2008 at 7:42 PM, David Rowe <david.rowe@freeuk.com> wrote:
I am trying to install some ports (probably Gramps) that seem to require py25-numpy - this is not currently installed in my copy of MacPorts. On trying to install p25-numpy, I get the following log:
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< bash-3.2# port install py25-numpy ---> Fetching py25-numpy ---> Verifying checksum(s) for py25-numpy Error: Checksum (md5) mismatch for numpy-1.0.4.tar.gz Error: Checksum (sha1) mismatch for numpy-1.0.4.tar.gz Error: Checksum (rmd160) mismatch for numpy-1.0.4.tar.gz Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
This looks as if one of the files is corrupted on the MacPorts server or else the portfile is not consistent with the downloaded files.
Has anyone else experienced this before? Is there a workround?
Looks like you got a corrupted download, try $ sudo port clean --dist py25-numpy (ignore the warning regarding removing the distfiles directory) $ sudo port install py25-numpy Cheers Adam
Adam Mercer wrote:
$ sudo port clean --dist py25-numpy (ignore the warning regarding removing the distfiles directory)
Actually, you should use $ sudo port clean --all py25-numpy to also reset the state of the build. Otherwise, 'port checksum' would assume the file was already fetched and complain that the file does not exist in the distfile directory. Rainer
Rainer Müller wrote:
Adam Mercer wrote:
$ sudo port clean --dist py25-numpy (ignore the warning regarding removing the distfiles directory)
Actually, you should use $ sudo port clean --all py25-numpy to also reset the state of the build.
Otherwise, 'port checksum' would assume the file was already fetched and complain that the file does not exist in the distfile directory.
Rainer
OK - 'sudo port clean --all py25-numpy' did the business and py25-numpy has now installed successfully. I had tried a simple 'sudo port clean py25-numpy' earlier but that hadn't worked Many thanks to Rainer & Adam for your help David Rowe
On Sun, Mar 23, 2008 at 8:10 PM, David Rowe <david.rowe@freeuk.com> wrote:
OK - 'sudo port clean --all py25-numpy' did the business and py25-numpy has now installed successfully. I had tried a simple 'sudo port clean py25-numpy' earlier but that hadn't worked
Great, clean would have just cleared the state, clean --dist would have just removed the distfile so Rainer was right, both needed to be reset. Cheers Adam
participants (3)
-
Adam Mercer
-
David Rowe
-
Rainer Müller