Updating scgmini and boxes » History » Version 1

Version 1/12 - Next » - Current version
pospelov, 06 Jul 2016 17:26

Updating scgmini and boxes

This explains how to update Macmini server and boxes.

Updating Macmini

  • ssh scg@scgmini
  • Install what apple wants (for Applestore password ask Gennady)
  • brew update
  • brew upgrade `brew outdated`

Updating our Maverick box

Our current mavericks-dev box is /Users/scg/deployment/vagrant/orig_boxes/bornagain-osx-mavericks-dev-1.4.box. This box is already imported into Vagrant. Our task: upgrade packages inside active box and make it a new default box.

  • ssh scg@scgmini
  • cd /Users/scg/deployment/vagrant/projects/mavericks-dev
  • vagrant up --no-provision
  • vagrant ssh
  • Now you are inside the box

sudo brew update && brew upgrade `brew outdated`
brew install eigen # (if some new dependency has appeared)
brew cleanup -n; brew cleanup

  • Now you are back in macmini, Let's package new box, remove old box, add new box into vagrant

vagrant package --output osx-mavericks-dev-1.5.box
vagrant destroy
mv osx-mavericks-dev-1.5.box ~/deployment/vagrant/orig_boxes/.
vagrant box remove mavericks-dev
vagrant box add mavericks-dev /Users/scg/deployment/vagrant/orig_boxes/osx-mavericks-dev-1.5.box


  • After I updated brew (brew update && brew upgrade `brew outdated`) in the box, our cmake was not able to find boost-python anymore

brew doctor # to see what's wrong
brew link boost-python # to repair broken link
don't forget brew-cleanup to get rid from previous packages

  • Installing clang
    sudo brew tap homebrew/versions
    sudo brew link xz
    sudo brew install llvm37