All Posts assertfail

View the Blog on GitHub wallymathieu

Macports trouble

17 Aug 2011

In order to upgrade only a subset of the outdated packages for macports:
port outdated | grep py2 | awk ‘{print $1}’ | tr “\n” “ “ | sed ‘s/^/sudo port upgrade /g’ | sh
To only update the packages with anything to do with “py2”.


  • osx
  • bash
  • macports
  • Comments or errors? Fork post and do a pull request on github