On 05.11.2007, at 05:57, Ryan Schmidt wrote:
If that's not working, you may want to install subversion, and use subversion to check out a working copy of the dports part of the MacPorts subversion repository, and point your /opt/local/etc/ macports/sources.conf at that directory (with a file:/// url) instead of at the rsync url like it is by default. Once you set that up, "port sync" should work fine in the future to update your ports tree.
Hey, I thought, so I don't need to port trees on my system (I have a subversion-tree for Portfile maintenance anyway)... I edit /opt/local/ etc/macports/sources.conf and that's what I get:
port -dv sync DEBUG: Synchronizing ports tree(s) Synchronizing from file:///Users/jochen/source/macports/dports DEBUG: /opt/local/bin/svn update --non-interactive /Users/jochen/ source/macports/dports DEBUG: changing euid/egid - current euid: 957 - current egid: 700 DEBUG: could not set effective gid to -1 while executing "setegid [name_to_gid [file attributes $portdir -group]]" DEBUG: sync failed doing svn update while executing "mportsync" port sync failed: sync failed doing svn update
sudo port -dv sync DEBUG: Synchronizing ports tree(s) Synchronizing from file:///Users/jochen/source/macports/dports DEBUG: /opt/local/bin/svn update --non-interactive /Users/jochen/ source/macports/dports DEBUG: changing euid/egid - current euid: 0 - current egid: 0 svn: Kann Datei ?\194?\187/Users/jochen/.subversion/servers?\194?\171 nicht ?\195?\182ffnen: Permission denied DEBUG: shell command "/opt/local/bin/svn update --non-interactive / Users/jochen/source/macports/dports" returned error 1 Command output: svn: Kann Datei ?\194?\187/Users/jochen/.subversion/ servers?\194?\171 nicht ?\195?\182ffnen: Permission denied
while executing "system $svn_commandline" DEBUG: sync failed doing svn update while executing "mportsync" port sync failed: sync failed doing svn update I know how to update that dports tree manually, but it would be nice to have port sync working that way;) Greetings, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen- Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll