2014-01-25 67 views
1

我試圖自動更新我的MacPorts並最近升級到Mavericks。我已經跑MacPorts自動更新失敗,OS X Mavericks,退出代碼12

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 

我已經搜索了網絡,試圖找出這一切意味着什麼。有幾個回覆說我在無線互聯網上有防火牆,但我現在已經在兩個不同的網絡上嘗試過了,我不認爲這是問題所在。我在這裏先向您的幫助表示感謝!

+0

Macports建議在升級操作系統時使用乾淨的macports安裝(http://trac.macports.org/wiki/Migration)。這可能會比解決所有可能遇到的問題更快。 – Vortexfive

回答

1

您是否曾嘗試以sudoer的身份運行此命令?

sudo port selfupdate

我有同樣的問題,我得到了解決這種方式。