macos - selfupdate macports 不工作

标签 macos osx-lion macports

突然 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 后,它就停止了。不知道是否与升级有关,今天尝试排查,但无果。我想过重新安装,但我在他们的网站上找不到 lion 的 dmg(链接已损坏)。

最佳答案

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

关于macos - selfupdate macports 不工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10411978/

相关文章:

objective-c - 我怎么知道应用程序是从苹果应用程序商店还是 OSX 中的其他商店安装的

macos - 为什么 NSFilePresenter 协议(protocol)方法永远不会被调用?

macos - macports 构建错误

python - 使用MacPorts通过特定路径安装模块

macos - 在 osx 上安装 happstack-server 6.5.3 - 缺少 libcryptopp

macos - 如何在 OS X 应用程序中创建屏幕指示器?

c++ - 使用 Qt 时,我是否必须在特定操作系统上才能针对特定操作系统进行编译?

cocoa - 如何在 Mac OS X Lion 上使用 AVCaptureSession 从 Bodelin ProScope HR 捕获帧?

Mac Lion 上的 Python 2.5.6 构建错误

git - 如何使用 Homebrew 软件安装 imagemagick?