同步運行10.7.4,我跑了以下內容:不能與MacPorts的從SVN
mkdir -p /opt/mports
cd /opt/mports
svn checkout https://svn.macports.org/repository/macports/trunk
cd trunk/base
./configure --enable-readline
make
sudo make install
make distclean
然後我跑nano /opt/local/etc/macports/sources.conf
,註釋掉rsync://rsync.macports.org/release/tarballs/ports.tar
和file://opt/mports/trunk/dports [default]
添加運行sudo port -d sync
我收到
DEBUG: Copying /Volumes/Storagestar/Users/themikemasterson/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
---> Updating the ports tree
Synchronizing local ports tree from file:///opt/mports/trunk/dports
DEBUG: /usr/bin/svn update --non-interactive /opt/mports/trunk/dports
DEBUG: changing euid/egid - current euid: 0 - current egid: 0
svn: OPTIONS of 'https://svn.macports.org/repository/macports/trunk': Server certificate verification failed: issuer is not trusted (https://svn.macports.org)
Command failed: /usr/bin/svn update --non-interactive /opt/mports/trunk/dports
Exit code: 1
DEBUG: command execution failed
while executing
"system $svn_commandline"
Error: Synchronization of the local ports tree failed doing an svn update
DEBUG: Synchronization of 1 source(s) failed
while executing
"mportsync [array get global_options]"
port sync failed: Synchronization of 1 source(s) failed
通過rsync更新可以正常工作,但在使用本地資源時無法正常工作。另外,我可以選擇在開始退房時接受證書,並且我選擇永久接受。
我處於與原始海報類似的環境中。當我發出上述命令時,我沒有選擇永久接受。 – Zed 2012-08-28 17:59:57
其實,取消上面的。原來,因爲'.subversion/config'包含'store_auth_creds = no'。一旦我改變了,我可以再次存儲。 – Zed 2012-08-28 18:15:06
請參閱我的答案,以獲得有關此問題的完整解決方案。 – trojanfoe 2013-08-07 12:52:01