Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't update Macports (with Mac OS X Mavericks)

People also ask

Can OS X Mavericks be updated?

Since OS-X Mavericks (10.9) Apple have been releasing their OS X upgrades for free. This means if you have any version of OS X newer than 10.9 then you can upgrade it to the latest version for free.

Can I upgrade to High Sierra From Mavericks?

Can I Upgrade To Sierra From Mavericks? The only thing you need to do is upgrade to High Sierra if you have macOS Sierra (the current macOS version). If you are upgrading from one of the previous versions of Mountain Lion, Mavericks, Yosemite, or El Capitan, you can do so directly from Sierra.

How do I download MacPorts on my Mac?

The easiest way to install MacPorts on a Mac is by downloading the pkg or dmg for Monterey, Big Sur, Catalina, Mojave, High Sierra, Sierra, El Capitan, Yosemite, Mavericks, Mountain Lion, Lion, Snow Leopard, Leopard or Tiger and running the system's Installer by double-clicking on the pkg contained therein, following ...


Install the "Command Line Tools" first:

sudo xcode-select --install

(Explicitly agreeing to the license is sometimes necessary via "sudo xcodebuild -license")

Then upgrade the ports:

sudo port -v selfupdate

I answered a similar question. The location of the Tcl framework has changed, breaking the existing MacPorts infrastructure. The 2.2.1 installer for Mavericks has since become available here. Make a list of your installed ports, and consider deleting /opt/local prior to installing. You will likely need to 'update' everything anyway.


There might be a chance that you haven't agreed with the XCode license. If xcode-install doesn't help, you can run the belowing command to agree with Xcode license. sudo xcodebuild -license


there is an actual bug with

gperf @3.0.4: error: expected parameter declarator

thankfully this issue has its own ticket at MacPorts ticket 40918

if anything you could read all the issues in Mavericks at http://trac.macports.org/wiki/MavericksProblems