【问题标题】:selfupdate macports not workingselfupdate macports 不工作
【发布时间】:2012-05-11 19:44:56
【问题描述】:

虽然 macports 也使用了,但突然无法正常工作,出现以下错误

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(链接断开)。

【问题讨论】:

  • 目录/opt/local/macports 好像不见了?如果是这样,您需要重新安装 MacPorts。
  • 是的,它不见了,但我在他们的网站上找不到 dmg。所有下载链接都失效了,是否有不同的来源?
  • 我对此表示怀疑。我想它很快就会起来......
  • 呃。很生气他们所有的下载链接都被破坏了。很高兴你的帖子是几个小时前的。所有的 MacPorts 都是 dukka。
  • 嗨,我刚刚从 subversion 重新安装了 macports,我仍然得到同样的错误:S

标签: macos osx-lion macports


【解决方案1】:

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

【讨论】:

    猜你喜欢
    • 2011-05-17
    • 2015-12-18
    • 2016-03-15
    • 1970-01-01
    • 1970-01-01
    • 2015-05-24
    • 2011-11-22
    • 1970-01-01
    • 2014-05-08
    相关资源
    最近更新 更多