error on trying to upgrade really old darwinports install

Frank Even at
Wed Jun 10 01:27:01 PDT 2009

Is there a method for upgrading an old darwinports install that was
installed on a MacBookPro that has been upgraded from 10.4 to 10.5?

I'm trying to run the selfupdate, it fails.  I've found some
references to changing "darwinports" in the rsync commands to
"macports," I've done that, but I'm failing with the same error

bash-3.2# port version
Version: 1.320

Here are the results of a failed "port -vd selfupdate"

DEBUG: couldn't open
no such file or directory
    while executing
"open [file join $dp_base_path config/dp_version] r"
    (procedure "darwinports::selfupdate" line 45)
    invoked from within
"darwinports::selfupdate [array get global_options]"
Error: /opt/local/bin/port: selfupdate failed: couldn't open
no such file or directory

I'd prefer not to have to blow it away and start from scratch, but if
needed, I can.  If so, then I would ask what is the best/standard
method for cleaning up the ports and installing a fresh "MacPorts?"


More information about the macports-users mailing list