Updating DarwinPorts / MacPorts
OK, updating your DarwinPorts is pretty simple, but there are a couple of gotchas I thought I’d mention, since I came across them today.
- Start with a selfupdate:
$ sudo port selfupdateto get the latest version of DarwinPorts itself and the latest installable software list. - Do not, and I repeat do not, run
$ sudo port upgrade all. It will try to install every port that exists. Which could take months. - Dorun
$ sudo port upgrade outdated, which will find all your installed ports that have new versions, and upgrade them. - Most of the upgrades insgtall pretty quickly, but
gcctakes forever to compile. Hours upon hours (4 hours for me on a dual G5 with lots of RAM) . Use Activity Monitor to check CPU usage see whether it’s still actually working or has hung — a couple of the other ports hung for me — I had to cancel the process and start over (thankfully, if you runupgrade oudatedit will skip the ones that already installed successfully).
Post a Comment