Try opam update when opam fails to init or install deps
Try opam update when opam fails to init or install deps

Reviewed By: jeremydubreil

Differential Revision: D5334889

fbshipit-source-id: da2e116

jvillard/infer,facebook/infer,blzq/infer,jvillard/infer,blzq/infer,ropas/infer,jvillard/infer,facebook/infer,blzq/infer,facebook/infer,ropas/infer,jvillard/infer,facebook/infer,jvillard/infer,ropas/infer,blzq/infer,ropas/infer,facebook/infer,jvillard/infer,jvillard/infer,facebook/infer,ropas/infer,blzq/infer,blzq/infer,ropas/infer,facebook/infer