#20470 closed defect (invalid)
Unable to Install apr
Reported by: | huahang.liu@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | High | Milestone: | |
Component: | ports | Version: | 1.7.1 |
Keywords: | apr | Cc: | jon@… |
Port: | apr |
Description
It seems that the checksum verification is failed... Please see the following for more information.
$ sudo port -v upgrade outdated ---> Verifying checksum(s) for apr ---> Checksumming apr-1.3.7.tar.bz2 Error: Checksum (md5) mismatch for apr-1.3.7.tar.bz2 Portfile checksum: apr-1.3.7.tar.bz2 md5 1414f695a236a2bf8e470ca624d6a2e8 Distfile checksum: apr-1.3.7.tar.bz2 md5 b6198ea0adde55ed857361449eef418f Error: Checksum (sha1) mismatch for apr-1.3.7.tar.bz2 Portfile checksum: apr-1.3.7.tar.bz2 sha1 7ca73ccf754aaa63cb818aa7e94636e7c8fdf9e4 Distfile checksum: apr-1.3.7.tar.bz2 sha1 7b4d030d8971ee20f429ad81eb83bf9a08c3bccc Error: Checksum (rmd160) mismatch for apr-1.3.7.tar.bz2 Portfile checksum: apr-1.3.7.tar.bz2 rmd160 0cde3a1ba9a3b9d844457b1d7f936ba03f10820b Distfile checksum: apr-1.3.7.tar.bz2 rmd160 f754801ab4ed380f20b5069309751fc7b93e4646 The correct checksum line may be: checksums md5 b6198ea0adde55ed857361449eef418f \
sha1 7b4d030d8971ee20f429ad81eb83bf9a08c3bccc \ rmd160 f754801ab4ed380f20b5069309751fc7b93e4646
Error: Target org.macports.checksum returned: Unable to verify file checksums Warning: the following items did not execute (for apr): org.macports.destroot org.macports.extract org.macports.checksum org.macports.patch org.macports.configure org.macports.build Error: Unable to upgrade port: 1
Change History (4)
comment:1 Changed 15 years ago by danielluke (Daniel J. Luke)
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 Changed 15 years ago by jon@…
I also ran into this problem. I did some digging and it looks like it's a bad mirror. http://apache.adcserver.com.ar/apr is being chosen for me because it has the lowest ping response time, but no longer exists as far as I can tell. Manually pulling apr-1.3.7.tar.bz2 from one of the other mirrors into distfiles will fix the problem and allow an install or upgrade. This same mirror is also affecting the apr-util port.
I'm uncertain about the inner workings of MacPorts and if it's possible to create a blacklist of bad sources, but this probably needs to be reported upstream (I have not done so).
comment:4 Changed 15 years ago by jon@…
Toby fixed this in http://trac.macports.org/changeset/54519.
Clean, sync, and you should be set.
port clean --all apr port sync ...
Which mirror did you get your apr from?
The checksum is correct for me when I re-download it.