#20654 closed defect (fixed)
PHP 5 port: unable to verify file checksums
Reported by: | danbettles@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | checksum | Cc: | jyrkiwahlstedt |
Port: | php5, php4 |
Description (last modified by tobypeterson)
I get the following error message when I try to install the new PHP 5 port.
daniel-bettless-macbook:~ danbettles$ sudo port install php5 +mysqlnd ---> Verifying checksum(s) for php5 Error: Checksum (md5) mismatch for php-5.3.0.tar.bz2 Error: Checksum (sha1) mismatch for php-5.3.0.tar.bz2 Error: Checksum (rmd160) mismatch for php-5.3.0.tar.bz2 Error: Target org.macports.checksum returned: Unable to verify file checksums Error: Status 1 encountered during processing.
Change History (11)
comment:1 follow-up: 2 Changed 15 years ago by tobypeterson
Description: | modified (diff) |
---|---|
Resolution: | → worksforme |
Status: | new → closed |
comment:2 Changed 15 years ago by danbettles@…
Replying to toby@…:
In the future, please refer to WikiFormatting before filing a ticket.
Anyway, run 'sudo port clean --all php5' and try again, you most likely just have a corrupt download.
Sorry for that.
I ran the "clean" command, as suggested, but I'm still experiencing the same problem. I've been using php5-devel, but I uninstalled that before attempting to install the production-ready version.
Is there something else I should try?
Many thanks
comment:3 follow-up: 4 Changed 15 years ago by blb@…
Can you run
sudo port clean --all php5 sudo port -d install php5 +mysqlnd
and if it still fails to checksum, post the information from where it fetched the bad file.
comment:4 Changed 15 years ago by danbettles@…
Replying to blb@…:
Can you run
sudo port clean --all php5 sudo port -d install php5 +mysqlndand if it still fails to checksum, post the information from where it fetched the bad file.
I'm afraid it failed again. It's failed when fetching from other locations.
---> Attempting to fetch php-5.3.0.tar.bz2 from http://se.php.net/distributions/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2043 0 2043 0 0 530 0 --:--:-- 0:00:03 --:--:-- 530 ---> Verifying checksum(s) for php5 DEBUG: Executing org.macports.checksum (php5) ---> Checksumming php-5.3.0.tar.bz2 Error: Checksum (md5) mismatch for php-5.3.0.tar.bz2 Portfile checksum: php-5.3.0.tar.bz2 md5 846760cd655c98dfd86d6d97c3d964b0 Distfile checksum: php-5.3.0.tar.bz2 md5 ef5d5519f7b141e0281abc58340cdf78 Error: Checksum (sha1) mismatch for php-5.3.0.tar.bz2 Portfile checksum: php-5.3.0.tar.bz2 sha1 934700941d216c453376e3bf24347041cf12c6dc Distfile checksum: php-5.3.0.tar.bz2 sha1 940a9098e8a8de74fb1c52ba24b590f303b085e1 Error: Checksum (rmd160) mismatch for php-5.3.0.tar.bz2 Portfile checksum: php-5.3.0.tar.bz2 rmd160 9a71b74052b0ca515f2ddf95c051b47a73d33f44 Distfile checksum: php-5.3.0.tar.bz2 rmd160 997532b6881ec9bcf1e6b81f27a63d1a592f26dd The correct checksum line may be: checksums md5 ef5d5519f7b141e0281abc58340cdf78 \ sha1 940a9098e8a8de74fb1c52ba24b590f303b085e1 \ rmd160 997532b6881ec9bcf1e6b81f27a63d1a592f26dd Error: Target org.macports.checksum returned: Unable to verify file checksums Warning: the following items did not execute (for php5): org.macports.activate org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Thanks for getting back to me so quickly.
comment:5 Changed 15 years ago by blb@…
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
comment:6 Changed 15 years ago by blb@…
Cc: | jwa@… added |
---|---|
Owner: | changed from macports-tickets@… to ryandesign@… |
Status: | reopened → new |
It's interesting you get anything at all from se.php.net, that name doesn't even resolve here...but I'm guessing that mirror needs to be removed.
comment:7 follow-up: 8 Changed 15 years ago by tobypeterson
Resolution: | → fixed |
---|---|
Status: | new → closed |
doesn't resolve for me either, pretty scary... anyway, r55531
comment:8 follow-up: 9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | php5 removed |
---|---|
Port: | php4 added |
Replying to blb@…:
It's interesting you get anything at all from se.php.net, that name doesn't even resolve here...but I'm guessing that mirror needs to be removed.
Perhaps your DNS is one of those that resolves unknown hostnames to a search results page. This prevents MacPorts from responding correctly when a server it wants to try is down. So I recommend you turn this feature off in your DNS if possible, or use a different DNS, like OpenDNS, which, though by default it has such a search results page, can be configured not to.
Replying to toby@…:
doesn't resolve for me either, pretty scary... anyway, r55531
r55531 only removed this mirror from the php5 port. I removed it from the php4 portfile and the php5extension portgroup in r55541. The php5-devel portfile was not affected.
It has been suggested to me by email that I should create a php mirror group so that the list of sites is not duplicated in three places. I agree I should do this.
comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to ryandesign@…:
It has been suggested to me by email that I should create a php mirror group so that the list of sites is not duplicated in three places. I agree I should do this.
The complete list of mirrors is in fact much greater than what we currently use.
In the future, please refer to WikiFormatting before filing a ticket.
Anyway, run 'sudo port clean --all php5' and try again, you most likely just have a corrupt download.