【发布时间】:2014-02-16 05:01:57
【问题描述】:
我正在尝试自动更新我的 MacPorts,并且最近升级到了 Mavericks。我已经跑了
sudo xcode-select --install
sudo xcodebuild -license
并同意许可。然后我执行以下操作,我的更新不起作用
port -v selfupdate
---> Updating MacPorts base sources using rsync
receiving file list ... done
rsync: mkstemp "/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/.base.tar.ytBeLt" failed: Permission denied (13)
inflate returned -3 (137 bytes)
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/token.c(419) [receiver=2.6.9]
rsync: connection unexpectedly closed (31 bytes received so far) [generator]
rsync error: error in rsync protocol data stream (code 12) at /SourceCache/rsync/rsync-42/rsync/io.c(452) [generator=2.6.9]
Command failed: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/tarballs/base.tar /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
Exit code: 12
Error: Error synchronizing MacPorts sources: command execution failed
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Error synchronizing MacPorts sources: command execution failed
我已经在网上搜索,试图弄清楚这一切意味着什么。一些回复说我在有防火墙的无线互联网上,但我现在已经在两个不同的网络上尝试过,我认为这不是问题。提前感谢您的帮助!
【问题讨论】:
-
Macports 建议在升级操作系统时从干净的 macports 安装开始 (trac.macports.org/wiki/Migration)。它可能比解决您可能遇到的所有问题要快。