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 selfupdate to 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 gcc takes