Unable to install Git-core+svn by MacPorts

↘锁芯ラ 提交于 2019-12-10 23:59:40

问题


I am trying to install Git-core with svn to my Mac unsuccessfully by

$ sudo port install git-core +svn
--->  Verifying checksum(s) for db46
Error: Checksum (md5) mismatch for patch.4.6.21.3
Error: Target org.macports.checksum returned: Unable to verify file checksums
Error: The following dependencies failed to build: p5-svn-simple subversion-perlbindings apr-util db46 sqlite3 cyrus-sasl2 neon serf subversion p5-term-readkey
Error: Status 1 encountered during processing.

I have tried to solve the problem unsuccessfully by

sudo port -f clean --all {neon, subversion,...}

How can you solve the problem?

Solved:

A program called Peerguardian blocked the installation. When I removed it, everything works now. Great thanks to all repliers!


回答1:


It's failing because there was an error building db46; specifically, there was a problem in checksumming the patch files that were downloaded by the port utility. It looks like it may be an issue with the port, but I just built db46 without any problem. Have you updated your ports tree recently? You can try doing this:

$ sudo port selfupdate               # updates the ports tree and port utility
$ sudo port install git +svn    # installs git



回答2:


Oracle recently silently changed their patch so the checksums do not match. That's been fixed in MacPorts, so if you self update, then it'll work correctly.



来源:https://stackoverflow.com/questions/765959/unable-to-install-git-coresvn-by-macports

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!