无法通过MacPorts安装Git-core + svn [英] Unable to install Git-core+svn by MacPorts

查看:207
本文介绍了无法通过MacPorts安装Git-core + svn的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

  $ sudo端口安装git-core + git-core + svn 
--->验证db46的校验和
错误:校验和(md5)对patch.4.6.21.3不匹配
错误:目标org.macports.checksum返回结果:无法验证文件校验和
错误:以下依赖性无法生成:p5-svn-simple subversion-perlbindings apr-util db46 sqlite3 cyrus-sasl2 neon serf subversion p5-term-readkey
错误:处理期间遇到状态1。

我试图用
解决问题失败

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

您如何解决问题?

解决方案:

名为Peerguardian的程序阻止了安装。当我删除它时,现在一切正常。非常感谢所有repliers!

解决方案

它失败了,因为出现错误 db46 ;特别是在校验由 port 实用程序下载的补丁文件时出现问题。它看起来可能是端口的问题,但我只是建立了 db46 没有任何问题。你最近更新过你的ports树吗?您可以尝试这样做:

  $ sudo port selfupdate#更新端口树和端口实用程序
$ sudo port install git + svn#installs git


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!

解决方案

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

这篇关于无法通过MacPorts安装Git-core + svn的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆