Looks like 0.6.1 is the latest version that doesn't have a "depends" field, which would at least hint at why that one in particular got picked. but switching to 4.02.0+rc1 and trying again drops me back to 0.1.0.$ opam listInstalled packages for 4.02.0+rc1:base-bigarray base Bigarray library distributed with the OCaml compilerbase-threads base Threads library distributed with the OCaml compilerbase-unix base Unix library distributed with the OCaml compilerocp-indent 0.1.0 A simple tool to indent OCaml programswhich according to opam show shouldn't even be an option:$ opam show ocp-indentpackage: ocp-indentversion: 0.1.0upstream-kind: httpupstream-checksum: d8f4050700a12f77c0d157ac931cac5fhomepage: https://github.com/OCamlPro/ocp-indentinstalled-version: ocp-indent.0.1.0 [4.02.0+rc1]available-versions: 0.6.0, 0.6.1, 0.6.2, 0.9.0, 0.9.2, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.2.0, 1.2.1, 1.2.2, 1.3.0, 1.3.1, 1.3.2, 1.4.0, 1.4.1description: A simple tool to indent OCaml programsmartinOn Wed, Aug 27, 2014 at 12:18 AM, Martin DeMello <martindemello@gmail.com> wrote:I installed opam from a fresh start (reinstalled opam itself, deleted my .opam), ran "opam switch 4.01.0", and then tried to install ocp-indent, which installed version 0.1.0. So I tried opam upgrade, which wanted to install 0.6.1 even though there are later versions available:
$ opam upgradeThe following actions will be performed:- upgrade ocp-indent.0.1.0 to 0.6.10 to install | 0 to reinstall | 1 to upgrade | 0 to downgrade | 0 to remove=-=-= Removing Packages =-=-=Removing ocp-indent.0.1.0../configure --prefix=/home/martin/.opam/4.01.0make uninstall=-=-= Installing ocp-indent.0.6.1 =-=-=.....$ opam install ocp-indent[NOTE] Package ocp-indent is already installed (current version is 0.6.1).$ opam install ocp-indent.1.4.1The following actions will be performed:- install ocamlfind.1.5.2 [required by ocp-indent]- install cmdliner.0.9.5 [required by ocp-indent]- install typerex.1.99.6-beta [required by ocp-indent]- install ocp-build.1.99.6-beta [required by ocp-indent]- upgrade ocp-indent.0.6.1 to 1.4.14 to install | 0 to reinstall | 1 to upgrade | 0 to downgrade | 0 to removeDo you want to continue ? [Y/n] y