我在2013年末的MBP上运行macports。我遇到macport无法下载包文件的问题。我尝试安装'git + svn'并且不仅整个依赖项解析需要花费超过一个小时,一旦完成并进入提取阶段,它找不到任何要下载的文件。我检查了safari,文件确实足够,但端口安装程序似乎无法找到它们。我也在家试过,我的mac mini在找到包装并安装它们没有问题,但MBP不能。并且mac mini在依赖性解析方面要快得多。
我没有真正找到任何东西就google了,所以我在这里结束了。我的装置一定有些奇怪,但我无法弄清楚是什么。
日志:
info:fetch ---> expat-2.1.0.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/expat
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://osl.no.distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://skylink.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30002 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://lil.fr.distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://kent.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30001 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://nue.de.distfiles.macports.org/macports/distfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/expat
:debug:fetch Fetching distfile failed: Connection timed out after 30005 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://vorboss.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://freefr.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30005 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://heanet.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://netassist.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30004 milliseconds
:notice:fetch ---> Attempting to fetch expat-2.1.0.tar.gz from http://netix.dl.sourceforge.net/project/expat/expat/2.1.0
:debug:fetch Fetching distfile failed: Connection timed out after 30003 milliseconds
编辑:似乎卷曲有问题:以下不起作用:
curl http://nue.de.distfiles.macports.org 只是超时了。
日志显示什么?
—
马克
只是一个想法:你检查过你的DNS设置了吗?
—
herrbischoff 2015年
DNS非常适合其他一切。正如我所说,我可以毫无问题地使用safari访问文件。
—
Erik 2015年
Curling expat.tar.gz对我有用,所以DNS是主要的嫌疑人:-)你有LittleSnitch或类似的安装吗?
—
nohillside
任何可能影响终端网络访问的LittleSnitch规则?或者只是将它完全关闭几分钟,然后尝试不用
—
坡道