首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >selfupdate macports不工作

selfupdate macports不工作
EN

Stack Overflow用户
提问于 2012-05-02 18:32:52
回答 1查看 6.2K关注 0票数 4

虽然使用了macports,但它突然不能工作,我收到以下错误

代码语言:javascript
复制
Mos-MacBook-Pro:Projects mo$ sudo port -d selfupdate
Warning: port definitions are more than two weeks old, consider using selfupdate
--->  Updating the ports tree
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports

@ERROR: chdir failed
rsync error: error starting client-server protocol (code 5) at /SourceCache/rsync/rsync-42/rsync/main.c(1398) [receiver=2.6.9]
shell command "/usr/bin/rsync -rtzv --delete-after '--exclude=/PortIndex*' rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports" returned error 5
Error: Synchronization of the local ports tree failed doing rsync
DEBUG: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed

macports在几个月前还能用,但自从我升级到lion后,它就停了。我不知道这是否与升级有关,今天我试着解决它,但没有在哪里。我想重新安装,但我找不到狮子的dmg在他们的网站(断开链接)。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-05-02 23:14:03

现在,macports的rsync服务器已关闭请参阅https://trac.macports.org/ticket/34298

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10411978

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档