-
Activate the most recent versions of MacPorts
sudo port outdated | awk 'NR > 1 {print $1" @"$4}' | xargs -L 1 sudo port activateSometimes, things don’t go quite as expected with MacPorts, and you end up having to rollback to previous versions of libraries using
port activate [portname] @[version]Then, after a while, you realize it didn’t really help, and you’d like to update all the ports back to the most recent versions. I didn’t find a built-in command to do that, and the above awk-ward piece should do the trick. - blog comments powered by Disqus