error on trying to upgrade really old darwinports install
Joshua Root
jmr at macports.org
Wed Jun 10 02:41:19 PDT 2009
On 2009-6-10 18:27, Frank Even wrote:
> 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
> basically.
>
> bash-3.2# port version
> Version: 1.320
>
> Here are the results of a failed "port -vd selfupdate"
>
> DEBUG: couldn't open
> "/opt/local/var/db/dports/sources/rsync.rsync.macports.org_dpupdate1/base/config/dp_version":
> 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
> "/opt/local/var/db/dports/sources/rsync.rsync.macports.org_dpupdate1/base/config/dp_version":
> 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?"
You could try editing darwinports.tcl and replacing dp_version with
mp_version. But since you've changed your major OS version as well, your
installed ports will likely have incorrect platform variants set, so the
"blow it away and start from scratch" approach is the best one.
- Josh
More information about the macports-users
mailing list