You will need to run this command as an administrator, and it requires root access, so you'll need to "sudo": ).
It can be confusing to figure out what each variant enables, but if you are confused you can send a question to one of the Mac Ports mailing lists.
done sent 36 bytes received 70 bytes 70.67 bytes/sec total size is 57702400 speedup is 544362.26 receiving file list ... --- Updating the ports tree Synchronizing local ports tree from file:///opt/local/var/macports/sources/svn.macports.org/trunk/dports/ svn: E155036: Please see the 'svn upgrade' command svn: E155036: Working copy '/opt/local/var/macports/sources/svn.macports.org/trunk/dports' is too old (format 10, created by Subversion 1.6) Command failed: /usr/bin/svn update --non-interactive /opt/local/var/macports/sources/svn.macports.org/trunk/dports Exit code: 1 Error: Synchronization of the local ports tree failed doing an svn update Error: Couldn't sync the ports tree: Synchronization of 1 source(s) failed To report a bug, follow the instructions in the guide: Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed I answered a similar question.
done sent 36 bytes received 77 bytes 75.33 bytes/sec total size is 512 speedup is 4.53 receiving file list ... The location of the Tcl framework has changed, breaking the existing Mac Ports infrastructure.
Now fetch and run the checksum phase (which will fail, since it hasn't been updated for the new version) by running: This will fetch the new version you've specified then run a checksum against the downloaded file.
This will fail and since the debug (-d) flag was used, specify the checksums from the new file (among other lines): Use the debug flag again so that, in case something bad happens, the error message will be seen.
Anytime you see to edit the Portfile for the given port (this will open it in whatever editor you have defined via the VISUAL or EDITOR environment variables, or vi if not defined).
action should be used regularly to update the local ports tree with the global Mac Ports ports repository so you will have the latest versions of software packages available.
It also checks for new releases of Mac Ports itself, and upgrades it when necessary.
Since you're already in the directory containing the Portfile, you can also open it directly from here, but and if found, delete it.
Updated versions should start with revision 0 (which is the default when revision isn't present).