problem installing latest (and older) Macports

Ryan Schmidt ryandesign at
Fri Jan 17 16:43:30 PST 2014

On Jan 17, 2014, at 13:57, John Graybeal wrote:

> I'm trying to install macports on my Mac (which has a long history).  (/opt/local/bin/port is dated 2005.12.15; running 'sudo port selfupdate' gives 
> can't find package darwinports  while executing  "package require darwinports" (file "/opt/local/bin/port" line 41)    
> )
> Installing the Mountain Lion pkg gives "Your existing MacPorts or DarwinPorts installation is too old to be upgraded by this installer. Please install MacPorts 1.7.1 first."   Renaming port and portindex doesn't change this; not sure how to get rid of my ancient install.
> After downloading 1.7.1, I am mystified as to what to do to install it. 

If you wanted to go this route, then you would install it, per our normal installation instructions on our web site. But:
> I don't think I care about my old MacPorts installation, I just want a current one.

Then you can follow the uninstallation instructions in our guide, followed by the installation instructions.

More information about the macports-users mailing list