opam is a source-based package manager. It supports multiple simultaneous compiler installations, flexible package constraints, and a Git-friendly development workflow.
With opam 0.9.2 or the latest git version opam seems to exit without failing when trying to install some packages. For example after a fresh opam init, opam install oasis successfully install ocamlfind, ocamlify, type_conv and ocaml-data-notation but then exit with code 0. Calling opam install oasis again produces:
The following actions will be performed:
- install oasis.0.3.0
- install ounit.1.1.1
- install fileutils.0.4.4
- install ocamlmod.0.0.3
4 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove
Do you want to continue ? [Y/n]
But exit immediately with code 0 after pressing enter. Tested on Linux and OSX with ocaml 4.00.1 and 4.01.0dev+short-paths.
I observed this behaviour with @samoht while debugging the new solver, but couldn't reproduce it. On the bright side, at least it didn't erase all my files while exiting.
With opam 0.9.2 or the latest git version opam seems to exit without failing when trying to install some packages. For example after a fresh
opam init
,opam install oasis
successfully installocamlfind
,ocamlify
,type_conv
andocaml-data-notation
but then exit with code 0. Callingopam install oasis
again produces:But exit immediately with code 0 after pressing enter. Tested on Linux and OSX with ocaml 4.00.1 and 4.01.0dev+short-paths.