端口selfupdate:"macPorts源:命令执行失败"; [英] port selfupdate: "macPorts sources: command execution failed"

查看:183
本文介绍了端口selfupdate:"macPorts源:命令执行失败";的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试selfupdate我的Macports,但是我收到以下消息:

I am trying to selfupdate my Macports, but I am getting the following message:

Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing 
MacPorts sources: command execution failed

我检查了我的/opt/local/bin/macports,并且该目录不存在.而是在/opt/local/var中.可能是问题所在吗?

I checked my /opt/local/bin/macports and the directory does not exist. Instead, it is in /opt/local/var. Could that be the issue?

-dt一起运行,我得到以下信息:

Running with -dt, I get the following:

[Users/user] > selfupdate
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base
--->  Updating MacPorts base sources using rsync
rsync: failed to connect to rsync.macports.org: Connection refused (61)
rsync error: error in socket IO (code 10) at /SourceCache/rsync/rsync-42/rsync/clientserver.c(105) [receiver=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/base/ /opt/local/var/macports/sources/rsync.macports.org/release/base
Exit code: 10
DEBUG: Error synchronizing MacPorts sources: command execution failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed

什么是错误61?有什么想法可以解决吗?

What is error 61? Any ideas how I can fix that?

推荐答案

我在防火墙后面.在不同的网络上尝试过,并且可以正常工作.

I was behind a firewall. Tried on a different network and it worked.

这篇关于端口selfupdate:"macPorts源:命令执行失败";的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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